de.miethxml.hawron.gui.io
Class ExportFileFilter

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byde.miethxml.hawron.gui.io.ExportFileFilter
All Implemented Interfaces:
LocaleListener

public class ExportFileFilter
extends javax.swing.filechooser.FileFilter
implements LocaleListener

Author:
Simon Mieth

Field Summary
static int ANT_BUILDFILE_FORMAT
           
static int DEFAULT_CLI_FORMAT
           
static int EXTENDED_CLI_FORMAT
           
 
Constructor Summary
ExportFileFilter()
           
ExportFileFilter(java.lang.String localeKey)
           
ExportFileFilter(java.lang.String localeKey, int format)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 int getFormat()
           
 void langChanged()
           
 void setFormat(int format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CLI_FORMAT

public static int DEFAULT_CLI_FORMAT

EXTENDED_CLI_FORMAT

public static int EXTENDED_CLI_FORMAT

ANT_BUILDFILE_FORMAT

public static int ANT_BUILDFILE_FORMAT
Constructor Detail

ExportFileFilter

public ExportFileFilter()

ExportFileFilter

public ExportFileFilter(java.lang.String localeKey)

ExportFileFilter

public ExportFileFilter(java.lang.String localeKey,
                        int format)
Method Detail

accept

public boolean accept(java.io.File f)

getDescription

public java.lang.String getDescription()

langChanged

public void langChanged()
Specified by:
langChanged in interface LocaleListener

getFormat

public int getFormat()
Returns:
Returns the format.

setFormat

public void setFormat(int format)
Parameters:
format - The format to set.