|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
javax.swing.filechooser.FileFilter
com.essbase.eas.ui.DefaultFileFilter
public class DefaultFileFilter
implementation of the abstract file filter class designed to be used with the console's open file dialog. to create a panel that will be added to the New Dialog.
Notes:
Constructor Summary | |
---|---|
DefaultFileFilter() |
|
DefaultFileFilter(java.lang.String desc, java.lang.String ext, javax.swing.AbstractAction a) |
Method Summary | |
---|---|
boolean |
accept(java.io.File f) implementation of the FileFilter.accept() method. |
javax.swing.AbstractAction |
getAction() returns the action object for this filter. |
java.lang.String |
getDescription() implementation of the FileFilter.getDescription() method. |
java.lang.String |
getExtension() get the file extention |
java.lang.Object[] |
getObjects(java.lang.Object source) Returns an array of objects represented by this filter |
void |
setDescription(java.lang.String value) sets the description |
void |
setExtension(java.lang.String value) sets the file extention |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultFileFilter()
public DefaultFileFilter(java.lang.String desc, java.lang.String ext, javax.swing.AbstractAction a)
Method Detail |
---|
public javax.swing.AbstractAction getAction()
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
public void setDescription(java.lang.String value)
public java.lang.String getExtension()
public void setExtension(java.lang.String value)
public boolean accept(java.io.File f)
accept
in class javax.swing.filechooser.FileFilter
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object[] getObjects(java.lang.Object source)
source
- The source for the filter objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |