|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
org.j3d.ui.LoaderFileFilter
A file filter implementation so that you can grab files of the types that correspond to the loaders available on the system.
The class takes information from the filter and builds filtering information from that. It does not maintain a reference to the descriptor. The filter will accept matching files and also all directories so that you can navigate the directory structure.
| Constructor Summary | |
LoaderFileFilter(FileLoaderDescriptor fld)
Construct an instance of the filter based on the given device description. |
|
| Method Summary | |
boolean |
accept(java.io.File f)
Decide whether to accept this file based on the filter type. |
java.lang.String |
getDescription()
Return a description string of the this filter (The file type) supported by this filter. |
FileLoaderDescriptor |
getDescriptor()
Get the descriptor used by this file filter so that we can ask for the needed loader later on. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoaderFileFilter(FileLoaderDescriptor fld)
fld - The file loader description to base the filter on| Method Detail |
public boolean accept(java.io.File f)
f - The file to test for suitability
public java.lang.String getDescription()
public FileLoaderDescriptor getDescriptor()
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||