Package adams.gui.print
Class JComponentWriterFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- adams.gui.core.ExtensionFileFilter
-
- adams.gui.print.JComponentWriterFileFilter
-
- All Implemented Interfaces:
Serializable
,Comparable<ExtensionFileFilter>
public class JComponentWriterFileFilter extends ExtensionFileFilter
A specialized filter that also contains the associated filter class.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.core.ExtensionFileFilter
EXT_ALL_FILES, m_CaseSensitive, m_Description, m_Extensions
-
-
Constructor Summary
Constructors Constructor Description JComponentWriterFileFilter(String[] extensions, String description, JComponentWriter writer)
Creates the ExtensionFileFilter.JComponentWriterFileFilter(String extension, String description, JComponentWriter writer)
Creates the ExtensionFileFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponentWriter
getWriter()
returns the associated writer.-
Methods inherited from class adams.gui.core.ExtensionFileFilter
accept, compareTo, equals, getCommandLineFileFilter, getCsvFileFilter, getDescription, getExtensions, getFlowFileFilter, getLogFileFilter, getModelFileFilter, getPdfFileFilter, getPropertiesFileFilter, getSerializedModelFileFilter, getTextFileFilter, getZipFileFilter, isCaseSensitive, toString
-
-
-
-
Constructor Detail
-
JComponentWriterFileFilter
public JComponentWriterFileFilter(String extension, String description, JComponentWriter writer)
Creates the ExtensionFileFilter.- Parameters:
extension
- the extension of accepted files.description
- a text description of accepted files.writer
- the associated writer
-
JComponentWriterFileFilter
public JComponentWriterFileFilter(String[] extensions, String description, JComponentWriter writer)
Creates the ExtensionFileFilter.- Parameters:
extensions
- the extensions of accepted files.description
- a text description of accepted files.writer
- the associated writer
-
-
Method Detail
-
getWriter
public JComponentWriter getWriter()
returns the associated writer.- Returns:
- the writer
-
-