public abstract class AbstractExportFileType extends ExportFileType
Modifier and Type | Class and Description |
---|---|
class |
AbstractExportFileType.CancelThread |
Constructor and Description |
---|
AbstractExportFileType() |
Modifier and Type | Method and Description |
---|---|
boolean |
applyChangedOptions(JPanel panel,
Properties options)
Sets any changed options from the optionPanel to the properties object.
|
void |
exportToFile(File file,
Component[] targets,
Component parent,
Properties properties,
String creator)
Save all components as the given file type.
|
void |
exportToFile(File file,
Component target,
Component parent,
Properties properties,
String creator)
Show this dialog and save component as the given file type.
|
void |
exportToFile(OutputStream os,
Component[] targets,
Component parent,
Properties properties,
String creator)
Save all components as the given file type.
|
void |
exportToFile(OutputStream os,
Component target,
Component parent,
Properties properties,
String creator)
Show this dialog and save component as the given file type.
|
VectorGraphics |
getGraphics(File file,
Component target)
Delegates to getGraphics(OutputStream, Component);
|
VectorGraphics |
getGraphics(File file,
Dimension dimension)
Delegates to getGraphics(OutputStream, Dimension);
|
abstract VectorGraphics |
getGraphics(OutputStream os,
Component printTarget)
The method returns a graphics context specific for this ExportFileType.
|
abstract VectorGraphics |
getGraphics(OutputStream os,
Dimension dimension)
Returns a graphics context for this ExportFileType.
|
adjustExtension, adjustExtension, adjustFilename, adjustFilename, checkExtension, compareTo, createOptionPanel, fileHasValidExtension, getDescription, getExportFileTypes, getExportFileTypes, getExtension, getExtensions, getFileExtension, getFileFilter, getMIMETypes, hasOptionPanel, isMultipageCapable, setClassLoader
public VectorGraphics getGraphics(File file, Component target) throws IOException
IOException
public VectorGraphics getGraphics(File file, Dimension dimension) throws IOException
IOException
public abstract VectorGraphics getGraphics(OutputStream os, Component printTarget) throws IOException
IOException
public abstract VectorGraphics getGraphics(OutputStream os, Dimension dimension) throws IOException
IOException
public void exportToFile(OutputStream os, Component target, Component parent, Properties properties, String creator) throws IOException
exportToFile
in class ExportFileType
IOException
public void exportToFile(File file, Component target, Component parent, Properties properties, String creator) throws IOException
exportToFile
in class ExportFileType
IOException
public void exportToFile(OutputStream os, Component[] targets, Component parent, Properties properties, String creator) throws IOException
exportToFile
in class ExportFileType
IOException
public void exportToFile(File file, Component[] targets, Component parent, Properties properties, String creator) throws IOException
exportToFile
in class ExportFileType
IOException
public boolean applyChangedOptions(JPanel panel, Properties options)
ExportFileType
applyChangedOptions
in class ExportFileType
Copyright © 2014. All rights reserved.