|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.filechooser.FileFilter
|
+--org.bioquery.gui.BQFileFilter
| Constructor Summary | |
BQFileFilter(ProgramManager myProgramManager)
Get the list of all acceptable file extensions from the ProgramManager. |
|
| Method Summary | |
boolean |
accept(java.io.File theFile)
Accept directories and files that have any extension registered with the ProgramManager (that is, extensions listed in the bq.xml properties file). |
java.lang.String |
getDescription()
Return a simple String description of files that pass this filter "BioQuery files" |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BQFileFilter(ProgramManager myProgramManager)
| Method Detail |
public boolean accept(java.io.File theFile)
accept in class javax.swing.filechooser.FileFilterA - File to check whether it passes thru the filterpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||