|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
org.webdocwf.util.loader.wizard.OctopusFileFilter
public class OctopusFileFilter
DomlFilter restricts file sets to only those files that are .doml files. Use this with JFileChooser to create a directory chooser.
Field Summary | |
---|---|
static int |
OLJ
|
static int |
OPF
|
Constructor Summary | |
---|---|
OctopusFileFilter()
Create a FileFilter for use with the FileChooser dialog. |
|
OctopusFileFilter(int type)
Create a DomlFilter for use with the FileChooser dialog. |
Method Summary | |
---|---|
boolean |
accept(java.io.File f)
Check to see if the passed file is a directory. |
java.lang.String |
getDescription()
Get a description of this filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OLJ
public static final int OPF
Constructor Detail |
---|
public OctopusFileFilter()
public OctopusFileFilter(int type)
Method Detail |
---|
public boolean accept(java.io.File f)
accept
in class javax.swing.filechooser.FileFilter
f
- File to check.
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 |