|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.filechooser.FileFilter | +--org.enhydra.tool.common.FilenameFilter
An implementation of FileFilter that filters out all files except for those matching a set of given extensions.
Constructor Summary | |
FilenameFilter()
Creates an extension file filter without an extensions set. |
Method Summary | |
boolean |
accept(java.io.File f)
Return true if this file should be shown in a file chooser. |
java.lang.String |
getDescription()
Returns the human readable description of this filter. |
java.lang.String |
getDescriptionTitle()
Gets the portion of the description that does not include extensions. |
java.lang.String |
getIncludeName()
|
boolean |
isDirectoryValid()
|
void |
setDescriptionTitle(java.lang.String d)
Sets the portion of the description that does not include extensions. |
void |
setDirectoryValid(boolean valid)
|
void |
setIncludeName(java.lang.String n)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilenameFilter()
Method Detail |
public boolean accept(java.io.File f)
accept
in interface java.io.FileFilter
accept
in class javax.swing.filechooser.FileFilter
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
public void setDescriptionTitle(java.lang.String d)
public java.lang.String getDescriptionTitle()
public void setDirectoryValid(boolean valid)
public boolean isDirectoryValid()
public void setIncludeName(java.lang.String n)
public java.lang.String getIncludeName()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |