Class RadianceFileChooserUI.RadianceFileView
java.lang.Object
javax.swing.filechooser.FileView
javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
org.pushingpixels.radiance.theming.internal.ui.RadianceFileChooserUI.RadianceFileView
- Enclosing class:
RadianceFileChooserUI
Custom file view implementation that returns system-specific file icons.
-
Field Summary
FieldsModifier and TypeFieldDescriptionCache for the file icons.Fields inherited from class javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
iconCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Returns the default file icon.Methods inherited from class javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
getDescription, getName, getTypeDescription, isHidden
Methods inherited from class javax.swing.filechooser.FileView
isTraversable
-
Field Details
-
pathIconCache
Cache for the file icons.
-
-
Constructor Details
-
RadianceFileView
private RadianceFileView()
-
-
Method Details
-
getCachedIcon
- Overrides:
getCachedIcon
in classBasicFileChooserUI.BasicFileView
-
getIcon
- Overrides:
getIcon
in classBasicFileChooserUI.BasicFileView
-
cacheIcon
- Overrides:
cacheIcon
in classBasicFileChooserUI.BasicFileView
-
clearIconCache
public void clearIconCache()- Overrides:
clearIconCache
in classBasicFileChooserUI.BasicFileView
-
getDefaultIcon
Returns the default file icon.- Parameters:
f
- File.- Returns:
- File icon.
-