java.lang.Object
javax.swing.filechooser.FileView
javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
- Enclosing class:
BasicFileChooserUI
A basic file view.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Caches an icon for a file.void
Clears the icon cache.Returns the cached icon for the file.Returns whether or not a file is hidden.Methods declared in class javax.swing.filechooser.FileView
getDescription, getIcon, getName, getTypeDescription, isTraversable
-
Field Details
-
Constructor Details
-
Method Details
-
clearIconCache
public void clearIconCache()Clears the icon cache. -
getCachedIcon
Returns the cached icon for the file.- Parameters:
f
- the file- Returns:
- the cached icon for the file
-
cacheIcon
Caches an icon for a file.- Parameters:
f
- the filei
- the icon
-
isHidden
Returns whether or not a file is hidden.- Parameters:
f
- the file- Returns:
- whether or not a file is hidden
-