|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter biz.chitec.quarterback.swing.PropertiesEditorXML.MyFileFilter
File filter looking for file extensions or directories only.
Field Summary | |
private java.util.Set |
allowedexts
|
private java.lang.String |
description
|
private boolean |
dironly
|
Constructor Summary | |
PropertiesEditorXML.MyFileFilter()
Creates a file filter. |
|
PropertiesEditorXML.MyFileFilter(boolean don)
|
|
PropertiesEditorXML.MyFileFilter(boolean don,
java.lang.String descr)
|
|
PropertiesEditorXML.MyFileFilter(java.lang.String exts,
java.lang.String descr)
|
Method Summary | |
boolean |
accept(java.io.File f)
Return true if this file should be shown in the directory pane, false if it shouldn't. |
java.lang.String |
getDescription()
|
private java.lang.String |
getExtension(java.io.File f)
Return the extension portion of the file's name . |
void |
setDescription(java.lang.String description)
Sets the human readable description of this filter. |
void |
setExtensions(java.lang.String exts)
Adds a filetype "dot" extension to filter against. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Set allowedexts
private java.lang.String description
private boolean dironly
Constructor Detail |
public PropertiesEditorXML.MyFileFilter()
public PropertiesEditorXML.MyFileFilter(boolean don)
public PropertiesEditorXML.MyFileFilter(boolean don, java.lang.String descr)
public PropertiesEditorXML.MyFileFilter(java.lang.String exts, java.lang.String descr)
Method Detail |
public boolean accept(java.io.File f)
getExtension(java.io.File)
,
FileFilter.accept(java.io.File)
private java.lang.String getExtension(java.io.File f)
getExtension(java.io.File)
,
FileFilter.accept(java.io.File)
public void setExtensions(java.lang.String exts)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |