org.freehep.graphicsio.exportchooser
Class ImageExportFileType
java.lang.Object
org.freehep.util.export.ExportFileType
org.freehep.graphicsio.exportchooser.AbstractExportFileType
org.freehep.graphicsio.exportchooser.ImageExportFileType
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- GIFExportFileType, PPMExportFileType, RawExportFileType
public class ImageExportFileType
- extends AbstractExportFileType
// FIXME, check all options
- Version:
- $Id: ImageExportFileType.java 12753 2007-06-12 22:32:31Z duns $
- Author:
- Mark Donszelmann
Methods inherited from class org.freehep.util.export.ExportFileType |
adjustExtension, adjustExtension, adjustFilename, adjustFilename, checkExtension, compareTo, fileHasValidExtension, getExportFileTypes, getExportFileTypes, getExtension, getFileExtension, getFileFilter, isMultipageCapable, setClassLoader |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
format
protected java.lang.String format
spi
protected javax.imageio.spi.ImageWriterSpi spi
param
protected javax.imageio.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(java.lang.String format)
ImageExportFileType
public ImageExportFileType(javax.imageio.spi.ImageWriterSpi spi)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getInstance
public static ImageExportFileType getInstance(java.lang.String format)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class org.freehep.util.export.ExportFileType
getExtensions
public java.lang.String[] getExtensions()
- Specified by:
getExtensions
in class org.freehep.util.export.ExportFileType
getMIMETypes
public java.lang.String[] getMIMETypes()
- Specified by:
getMIMETypes
in class org.freehep.util.export.ExportFileType
hasOptionPanel
public boolean hasOptionPanel()
- Overrides:
hasOptionPanel
in class org.freehep.util.export.ExportFileType
createOptionPanel
public javax.swing.JPanel createOptionPanel(java.util.Properties user)
- Overrides:
createOptionPanel
in class org.freehep.util.export.ExportFileType
getGraphics
public VectorGraphics getGraphics(java.io.OutputStream os,
java.awt.Component target)
throws java.io.IOException
- Description copied from class:
AbstractExportFileType
- The method returns a graphics context specific for this ExportFileType.
- Specified by:
getGraphics
in class AbstractExportFileType
- Throws:
java.io.IOException
getGraphics
public VectorGraphics getGraphics(java.io.OutputStream os,
java.awt.Dimension dimension)
throws java.io.IOException
- Description copied from class:
AbstractExportFileType
- Returns a graphics context for this ExportFileType.
- Specified by:
getGraphics
in class AbstractExportFileType
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2007 FreeHEP. All Rights Reserved.