|
20100210, rgf | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
org.oorexx.misc.Test
public class Test
Constructor Summary | |
---|---|
Test()
|
Method Summary | |
---|---|
boolean |
accept(java.io.File f)
|
boolean |
accept(java.io.File dir,
java.lang.String fname)
Method which gets invoked by java.awt.FileDialog to test the file for inclusion in the file list. |
java.lang.String |
getDescription()
Returns the present description for the filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Test()
Method Detail |
---|
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
public boolean accept(java.io.File f)
accept
in class javax.swing.filechooser.FileFilter
public boolean accept(java.io.File dir, java.lang.String fname)
accept
in interface java.io.FilenameFilter
dir
- the directory of the filefname
- the file's name
|
20100210, rgf | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |