Pandora.xGui
Class PandoraFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
Pandora.xGui.PandoraFileFilter
- All Implemented Interfaces:
- java.io.Serializable
public class PandoraFileFilter
- extends javax.swing.filechooser.FileFilter
- implements java.io.Serializable
Part of the extra Gui functions.
Filters for 'pan' files, the file type of Pandora III save files.
- See Also:
- Serialized Form
Method Summary |
boolean |
accept(java.io.File f)
Tests whether or not the specified abstract pathname should be included in the pathname list. |
java.lang.String |
getDescription()
Returns the String description of a Pandora file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pandaExtension
public static final java.lang.String pandaExtension
- See Also:
- Constant Field Values
PandoraFileFilter
public PandoraFileFilter()
accept
public boolean accept(java.io.File f)
- Tests whether or not the specified abstract pathname should be included in the pathname list.
Returns true if the pathname should be included.
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
- Parameters:
f
- the abstract pathname to be tested
getDescription
public java.lang.String getDescription()
- Returns the String description of a Pandora file.
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter