MVT API

mvt.tools
Class GraphicsPanel.ImageFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--mvt.tools.GraphicsPanel.ImageFilter
Enclosing class:
GraphicsPanel

public class GraphicsPanel.ImageFilter
extends javax.swing.filechooser.FileFilter

This class that gets the *.gif option to pop up in the JFileChooser Dialog.


Field Summary
 java.lang.String gif
           
 
Constructor Summary
GraphicsPanel.ImageFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Accept all directories and all gif files.
 java.lang.String getDescription()
           
 java.lang.String getExtension(java.io.File f)
          Get the extension of a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gif

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

GraphicsPanel.ImageFilter

public GraphicsPanel.ImageFilter()
Method Detail

getExtension

public java.lang.String getExtension(java.io.File f)
Get the extension of a file.


accept

public boolean accept(java.io.File f)
Accept all directories and all gif files.

Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter

MVT API

mvt.icons