|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.freehep.graphicsio.exportchooser.ExportGraphicsFileTypeAdapter | +--org.freehep.graphicsio.cgm.CGMExportFileType
// FIXME, check all options
Nested Class Summary |
Nested classes inherited from class org.freehep.graphicsio.exportchooser.ExportGraphicsFileTypeAdapter |
ExportGraphicsFileTypeAdapter.CancelThread |
Field Summary | |
static String[] |
cgmExtensions
|
static ExtensionFileFilter |
cgmFilter
|
Fields inherited from class org.freehep.graphicsio.exportchooser.ExportGraphicsFileTypeAdapter |
creator |
Constructor Summary | |
CGMExportFileType()
|
Method Summary | |
File |
adjustFilename(File file)
The default implementation of this method does nothing to change the file name. |
void |
done()
The default implementation does nothing. |
boolean |
fileHasValidExtension(File file)
The default implementation of this method just returns false. |
Graphics |
getConfiguredGraphics(OutputStream os,
Component saveTarget)
The method returns a graphics context which has been properly configured based on the chosen options in the options panel. |
FileFilter |
getFileFilter()
The default implementation of this method does nothing. |
JPanel |
getOptionsPanel()
The default implementation of this method returns null. |
Methods inherited from class org.freehep.graphicsio.exportchooser.ExportGraphicsFileTypeAdapter |
adjustExtension, checkExtension, exportToFile, exportToFile, exportToFile, exportToFile, getConfiguredGraphics, getThumbnailSize, isMultipageCapable, restoreOptions, saveOptions, setCreator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String[] cgmExtensions
public static final ExtensionFileFilter cgmFilter
Constructor Detail |
public CGMExportFileType()
Method Detail |
public FileFilter getFileFilter()
ExportGraphicsFileTypeAdapter
getFileFilter
in interface ExportFileType
getFileFilter
in class ExportGraphicsFileTypeAdapter
public JPanel getOptionsPanel()
ExportGraphicsFileTypeAdapter
getOptionsPanel
in interface ExportFileType
getOptionsPanel
in class ExportGraphicsFileTypeAdapter
public File adjustFilename(File file)
ExportGraphicsFileTypeAdapter
adjustFilename
in interface ExportFileType
adjustFilename
in class ExportGraphicsFileTypeAdapter
public boolean fileHasValidExtension(File file)
ExportGraphicsFileTypeAdapter
fileHasValidExtension
in interface ExportFileType
fileHasValidExtension
in class ExportGraphicsFileTypeAdapter
public Graphics getConfiguredGraphics(OutputStream os, Component saveTarget) throws IOException
ExportGraphicsFileType
IOException
public void done() throws IOException
ExportGraphicsFileTypeAdapter
done
in interface ExportGraphicsFileType
done
in class ExportGraphicsFileTypeAdapter
IOException
|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |