public class ImageExportFileType extends AbstractExportFileType
AbstractExportFileType.CancelThread
Modifier and Type | Field and Description |
---|---|
protected OptionCheckBox |
antialias |
protected OptionCheckBox |
antialiasText |
protected OptionCheckBox |
compress |
protected OptionComboBox |
compressDescription |
protected OptionComboBox |
compressMode |
protected OptionTextField |
compressQuality |
protected String |
format |
protected ImageWriteParam |
param |
protected OptionCheckBox |
progressive |
protected ImageWriterSpi |
spi |
Modifier | Constructor and Description |
---|---|
|
ImageExportFileType(ImageWriterSpi spi) |
protected |
ImageExportFileType(String format) |
Modifier and Type | Method and Description |
---|---|
JPanel |
createOptionPanel(Properties user) |
boolean |
equals(Object obj) |
String |
getDescription() |
String[] |
getExtensions() |
VectorGraphics |
getGraphics(OutputStream os,
Component target)
The method returns a graphics context specific for this ExportFileType.
|
VectorGraphics |
getGraphics(OutputStream os,
Dimension dimension)
Returns a graphics context for this ExportFileType.
|
static ImageExportFileType |
getInstance(String format) |
String[] |
getMIMETypes() |
int |
hashCode() |
boolean |
hasOptionPanel() |
String |
toString() |
applyChangedOptions, exportToFile, exportToFile, exportToFile, exportToFile, getGraphics, getGraphics
adjustExtension, adjustExtension, adjustFilename, adjustFilename, checkExtension, compareTo, fileHasValidExtension, getExportFileTypes, getExportFileTypes, getExtension, getFileExtension, getFileFilter, isMultipageCapable, setClassLoader
protected String format
protected ImageWriterSpi spi
protected ImageWriteParam param
protected OptionCheckBox antialias
protected OptionCheckBox antialiasText
protected OptionCheckBox progressive
protected OptionCheckBox compress
protected OptionComboBox compressMode
protected OptionComboBox compressDescription
protected OptionTextField compressQuality
protected ImageExportFileType(String format)
public ImageExportFileType(ImageWriterSpi spi)
public static ImageExportFileType getInstance(String format)
public String getDescription()
getDescription
in class ExportFileType
public String[] getExtensions()
getExtensions
in class ExportFileType
public String[] getMIMETypes()
getMIMETypes
in class ExportFileType
public boolean hasOptionPanel()
hasOptionPanel
in class ExportFileType
public JPanel createOptionPanel(Properties user)
createOptionPanel
in class ExportFileType
public VectorGraphics getGraphics(OutputStream os, Component target) throws IOException
AbstractExportFileType
getGraphics
in class AbstractExportFileType
IOException
public VectorGraphics getGraphics(OutputStream os, Dimension dimension) throws IOException
AbstractExportFileType
getGraphics
in class AbstractExportFileType
IOException
Copyright © 2020. All rights reserved.