org.freehep.graphicsio.exportchooser
Class ImageExportFileType
java.lang.Object
org.freehep.graphicsbase.util.export.ExportFileType
org.freehep.graphicsio.exportchooser.AbstractExportFileType
org.freehep.graphicsio.exportchooser.ImageExportFileType
- All Implemented Interfaces:
- Comparable<Object>
- Direct Known Subclasses:
- GIFExportFileType, PPMExportFileType, RawExportFileType
public class ImageExportFileType
- extends AbstractExportFileType
// FIXME, check all options
- Version:
- $Id: freehep-graphicsio/src/main/java/org/freehep/graphicsio/exportchooser/ImageExportFileType.java 4c4708a97391 2007/06/12 22:32:31 duns $
- Author:
- Mark Donszelmann
| Methods inherited from class org.freehep.graphicsbase.util.export.ExportFileType |
adjustExtension, adjustExtension, adjustFilename, adjustFilename, checkExtension, compareTo, fileHasValidExtension, getExportFileTypes, getExportFileTypes, getExtension, getFileExtension, getFileFilter, isMultipageCapable, setClassLoader |
format
protected String format
spi
protected ImageWriterSpi spi
param
protected ImageWriteParam param
antialias
protected OptionCheckBox antialias
antialiasText
protected OptionCheckBox antialiasText
progressive
protected OptionCheckBox progressive
compress
protected OptionCheckBox compress
compressMode
protected OptionComboBox compressMode
compressDescription
protected OptionComboBox compressDescription
compressQuality
protected OptionTextField compressQuality
ImageExportFileType
protected ImageExportFileType(String format)
ImageExportFileType
public ImageExportFileType(ImageWriterSpi spi)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getInstance
public static ImageExportFileType getInstance(String format)
getDescription
public String getDescription()
- Specified by:
getDescription in class ExportFileType
getExtensions
public String[] getExtensions()
- Specified by:
getExtensions in class ExportFileType
getMIMETypes
public String[] getMIMETypes()
- Specified by:
getMIMETypes in class ExportFileType
hasOptionPanel
public boolean hasOptionPanel()
- Overrides:
hasOptionPanel in class ExportFileType
createOptionPanel
public JPanel createOptionPanel(Properties user)
- Overrides:
createOptionPanel in class ExportFileType
getGraphics
public VectorGraphics getGraphics(OutputStream os,
Component target)
throws IOException
- Description copied from class:
AbstractExportFileType
- The method returns a graphics context specific for this ExportFileType.
- Specified by:
getGraphics in class AbstractExportFileType
- Throws:
IOException
getGraphics
public VectorGraphics getGraphics(OutputStream os,
Dimension dimension)
throws IOException
- Description copied from class:
AbstractExportFileType
- Returns a graphics context for this ExportFileType.
- Specified by:
getGraphics in class AbstractExportFileType
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.