protected class BasicFileChooserUI.BasicFileView extends FileView
| Modifier and Type | Field and Description |
|---|---|
protected Hashtable |
iconCache
|
| Constructor and Description |
|---|
BasicFileView()
|
| Modifier and Type | Method and Description |
|---|---|
void |
cacheIcon(File
|
void |
clearIconCache()
|
Icon |
getCachedIcon(File
|
String |
getDescription(File
A human readable description of the file.
|
Icon |
getIcon(File
The icon that represents this file in the
JFileChooser.
|
String |
getName(File
The name of the file.
|
String |
getTypeDescription(File
A human readable description of the type of the file.
|
Boolean |
isHidden(File
|
isTraversablepublic void clearIconCache()
public StringgetName(File f)
FileView
f.getName().
public StringgetDescription(File f)
FileView
public StringgetTypeDescription(File f)
FileView
jpg file might have a type description of: "A JPEG Compressed Image File"
public IcongetIcon(File f)
FileView
JFileChooser.