|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.filechooser.FileView
javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
protected class BasicFileChooserUI.BasicFileView
| 字段摘要 | |
|---|---|
protected Hashtable<File,Icon> |
iconCache
|
| 构造方法摘要 | |
|---|---|
BasicFileChooserUI.BasicFileView()
|
|
| 方法摘要 | |
|---|---|
void |
cacheIcon(File f,
Icon i)
|
void |
clearIconCache()
|
Icon |
getCachedIcon(File f)
|
String |
getDescription(File f)
文件的可读描述。 |
Icon |
getIcon(File f)
表示 JFileChooser 中此文件的图标。 |
String |
getName(File f)
文件名称。 |
String |
getTypeDescription(File f)
文件类型的可读描述。 |
Boolean |
isHidden(File f)
|
| 从类 javax.swing.filechooser.FileView 继承的方法 |
|---|
isTraversable |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected Hashtable<File,Icon> iconCache
| 构造方法详细信息 |
|---|
public BasicFileChooserUI.BasicFileView()
| 方法详细信息 |
|---|
public void clearIconCache()
public String getName(File f)
FileView 复制的描述f.getName()。
FileView 中的 getNamepublic String getDescription(File f)
FileView 复制的描述
FileView 中的 getDescriptionpublic String getTypeDescription(File f)
FileView 复制的描述jpg 文件可能有这样一个类型描述:"A JPEG Compressed Image File"
FileView 中的 getTypeDescriptionpublic Icon getCachedIcon(File f)
public void cacheIcon(File f,
Icon i)
public Icon getIcon(File f)
FileView 复制的描述JFileChooser 中此文件的图标。
FileView 中的 getIconpublic Boolean isHidden(File f)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。