|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
org.jext.ModeFileFilter
public class ModeFileFilter
ModeFileFilter
is a file filter specific to a given
syntax colorizing mode.
Constructor Summary | |
---|---|
ModeFileFilter(Mode mode)
Creates a new file filter for given syntax colorizing mode. |
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
If given file is correctly named, it is accepted by the file filter. |
protected void |
finalize()
Patch -> Memory management improvements : it may help the garbage collector. |
java.lang.String |
getDescription()
Returns a simple description of the file filter. |
java.lang.String |
getModeName()
Returns Jext internal mode name of the mode used to build this file filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModeFileFilter(Mode mode)
mode
- The syntax colorizing mode which gives file filters infosMethod Detail |
---|
public java.lang.String getModeName()
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
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |