Pandora.xGui
Class PandoraFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by 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

Field Summary
static java.lang.String pandaExtension
           
 
Constructor Summary
PandoraFileFilter()
           
 
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
 

Field Detail

pandaExtension

public static final java.lang.String pandaExtension
See Also:
Constant Field Values
Constructor Detail

PandoraFileFilter

public PandoraFileFilter()
Method Detail

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