|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
javax.swing.plaf.basic
|
Field Summary | |
---|---|
protected Hashtable<File,Icon> |
iconCache
|
Constructor Summary | |
---|---|
BasicFileChooserUI.BasicFileView()
|
Method Summary | |
---|---|
void |
cacheIcon(File f,
Icon i)
|
void |
clearIconCache()
|
Icon |
getCachedIcon(File f)
|
String |
getDescription(File f)
A human readable description of the file. |
Icon |
getIcon(File f)
The icon that represents this file in the JFileChooser . |
String |
getName(File f)
The name of the file. |
String |
getTypeDescription(File f)
A human readable description of the type of the file. |
Boolean |
isHidden(File f)
|
Methods inherited from class javax.swing.filechooser.FileView |
---|
isTraversable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Hashtable<File,Icon> iconCache
Constructor Detail |
---|
public BasicFileChooserUI.BasicFileView()
Method Detail |
---|
public void clearIconCache()
public String getName(File f)
FileView
f.getName()
.
public String getDescription(File f)
FileView
getDescription
in class FileView
public String getTypeDescription(File f)
FileView
jpg
file might have a type description of:
"A JPEG Compressed Image File"
getTypeDescription
in class FileView
public Icon getCachedIcon(File f)
public void cacheIcon(File f, Icon i)
public Icon getIcon(File f)
FileView
JFileChooser
.
public Boolean isHidden(File f)