protected class BasicFileChooserUI.BasicFileView extends FileView
| Modifier and Type | Field and Description | 
|---|---|
protected Hashtable<File,Icon> | 
iconCache  | 
| Constructor and Description | 
|---|
BasicFileChooserUI.BasicFileView()  | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
isTraversablepublic void clearIconCache()
public String getName(File f)
FileViewf.getName().public String getDescription(File f)
FileViewgetDescription in class FileViewpublic String getTypeDescription(File f)
FileViewjpg file might have a type description of:
 "A JPEG Compressed Image File"getTypeDescription in class FileViewpublic Icon getIcon(File f)
FileViewJFileChooser. Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates.  All rights reserved.