|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileView
org.vrjuggler.vrjconfig.ui.ConfigFileView
public class ConfigFileView
Used to set the description and Icon shown for files in a JFileChooser.
| Constructor Summary | |
|---|---|
ConfigFileView()
Load the icon once to be shown. |
|
| Method Summary | |
|---|---|
String |
getDescription(File f)
Let the LnF FileView figure this out. |
Icon |
getIcon(File f)
Get the Icon to be displayed for the given File. |
String |
getName(File f)
Let the LnF FileView figure this out. |
String |
getTypeDescription(File f)
Get the description for the given File. |
Boolean |
isTraversable(File f)
Let the LnF FileView figure this out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigFileView()
| Method Detail |
|---|
public String getName(File f)
getName in class FileViewpublic String getDescription(File f)
getDescription in class FileViewpublic Boolean isTraversable(File f)
isTraversable in class FileViewpublic String getTypeDescription(File f)
getTypeDescription in class FileViewpublic Icon getIcon(File f)
getIcon in class FileView
|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||