|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.freehep.util.export.ExportFileType
org.freehep.graphicsio.exportchooser.AbstractExportFileType
org.freehep.graphicsio.exportchooser.ImageExportFileType
// FIXME, check all options
| Nested Class Summary |
| Nested classes inherited from class org.freehep.graphicsio.exportchooser.AbstractExportFileType |
AbstractExportFileType.CancelThread |
| Field Summary | |
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
|
| Constructor Summary | |
protected |
ImageExportFileType(String format)
|
| Method Summary | |
JPanel |
createOptionPanel(Properties user)
Returns a panel which allows to user to set options associated with this particular output format. |
String |
getDescription()
Returns a short description of the format |
String[] |
getExtensions()
Returns an array of possible extensions for the format, the first of which is the preferred extension |
VectorGraphics |
getGraphics(OutputStream os,
Component target)
The method returns a graphics context specific for this ExportFileType. |
static ImageExportFileType |
getInstance(String format)
|
String[] |
getMIMETypes()
Return the MIME-type(s) for this format, the first of which is the preferred MIME type. |
boolean |
hasOptionPanel()
Returns true if this format has extra options. |
String |
toString()
|
| Methods inherited from class org.freehep.graphicsio.exportchooser.AbstractExportFileType |
applyChangedOptions, exportToFile, exportToFile, exportToFile, exportToFile, getGraphics |
| 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
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
| Constructor Detail |
protected ImageExportFileType(String format)
| Method Detail |
public static ImageExportFileType getInstance(String format)
public String getDescription()
ExportFileType
getDescription in class ExportFileTypepublic String[] getExtensions()
ExportFileType
getExtensions in class ExportFileTypepublic String[] getMIMETypes()
ExportFileType
getMIMETypes in class ExportFileTypepublic boolean hasOptionPanel()
ExportFileType
hasOptionPanel in class ExportFileTypepublic JPanel createOptionPanel(Properties user)
ExportFileType
createOptionPanel in class ExportFileType
public VectorGraphics getGraphics(OutputStream os,
Component target)
throws IOException
AbstractExportFileType
getGraphics in class AbstractExportFileTypeIOExceptionpublic String toString()
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||