org.freehep.graphicsio.svg
Class SVGExportFileType

java.lang.Object
  extended by org.freehep.util.export.ExportFileType
      extended by org.freehep.graphicsio.exportchooser.AbstractExportFileType
          extended by org.freehep.graphicsio.svg.SVGExportFileType
All Implemented Interfaces:
java.lang.Comparable

public class SVGExportFileType
extends AbstractExportFileType

Version:
$Id: SVGExportFileType.java 12753 2007-06-12 22:32:31Z duns $
Author:
Mark Donszelmann

Nested Class Summary
 
Nested classes/interfaces inherited from class org.freehep.graphicsio.exportchooser.AbstractExportFileType
AbstractExportFileType.CancelThread
 
Constructor Summary
SVGExportFileType()
           
 
Method Summary
 java.io.File adjustFilename(java.io.File file, java.util.Properties user)
           
 javax.swing.JPanel createOptionPanel(java.util.Properties user)
           
 java.lang.String getDescription()
           
 java.lang.String[] getExtensions()
           
 VectorGraphics getGraphics(java.io.File file, java.awt.Component target)
          Delegates to getGraphics(OutputStream, Component);
 VectorGraphics getGraphics(java.io.File file, java.awt.Dimension dimension)
          Delegates to getGraphics(OutputStream, Dimension);
 VectorGraphics getGraphics(java.io.OutputStream os, java.awt.Component target)
          The method returns a graphics context specific for this ExportFileType.
 VectorGraphics getGraphics(java.io.OutputStream os, java.awt.Dimension dimension)
          Returns a graphics context for this ExportFileType.
 java.lang.String[] getMIMETypes()
           
 boolean hasOptionPanel()
           
 
Methods inherited from class org.freehep.graphicsio.exportchooser.AbstractExportFileType
applyChangedOptions, exportToFile, exportToFile, exportToFile, exportToFile
 
Methods inherited from class org.freehep.util.export.ExportFileType
adjustExtension, adjustExtension, 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, toString, wait, wait, wait
 

Constructor Detail

SVGExportFileType

public SVGExportFileType()
Method Detail

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

getGraphics

public VectorGraphics getGraphics(java.io.File file,
                                  java.awt.Component target)
                           throws java.io.IOException
Description copied from class: AbstractExportFileType
Delegates to getGraphics(OutputStream, Component);

Overrides:
getGraphics in class AbstractExportFileType
Throws:
java.io.IOException

getGraphics

public VectorGraphics getGraphics(java.io.File file,
                                  java.awt.Dimension dimension)
                           throws java.io.IOException
Description copied from class: AbstractExportFileType
Delegates to getGraphics(OutputStream, Dimension);

Overrides:
getGraphics in class AbstractExportFileType
Throws:
java.io.IOException

adjustFilename

public java.io.File adjustFilename(java.io.File file,
                                   java.util.Properties user)
Overrides:
adjustFilename in class org.freehep.util.export.ExportFileType


Copyright © 2000-2007 FreeHEP. All Rights Reserved.