|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
jpiv2.JpivFileFilter
public class JpivFileFilter
Some file filters that are used by the jpiv2.FlexFileChooser.
FlexFileChooser| Constructor Summary | |
|---|---|
JpivFileFilter(java.lang.String[] validExtension,
java.lang.String description)
Constructs a new instance of jpiv2.JpivFileFilter. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File f)
Decides whether file is accepted or not. |
java.lang.String |
getDescription()
Returns the description of this filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JpivFileFilter(java.lang.String[] validExtension,
java.lang.String description)
validExtension - Extenstion of the displayed file type.description - A description of the file type.| Method Detail |
|---|
public boolean accept(java.io.File f)
accept in interface java.io.FileFilteraccept in class javax.swing.filechooser.FileFilterf - A file object.
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 | ||||||||