|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter net.clackrouter.actions.AbstractActionFile.MyFileFilter
protected class AbstractActionFile.MyFileFilter
Filter for the jgraphpad file format (*.pad or *.lib)
Field Summary | |
---|---|
protected java.lang.String |
desc
Descrption of the File format |
protected java.lang.String |
ext
Extension for this file format. |
protected java.lang.String |
fullExt
Full extension for this file format (the Point and the extension) |
Constructor Summary | |
---|---|
AbstractActionFile.MyFileFilter(java.lang.String extension,
java.lang.String description)
Constructor for the Graphpad specific file format |
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
Returns true if the file ends with the full extension or if the file is a directory |
java.lang.String |
getDescription()
returns the desc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String ext
protected java.lang.String fullExt
protected java.lang.String desc
Constructor Detail |
---|
public AbstractActionFile.MyFileFilter(java.lang.String extension, java.lang.String description)
Method Detail |
---|
public boolean accept(java.io.File file)
accept
in class javax.swing.filechooser.FileFilter
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |