FreeHEP API
Version v1.2

org.freehep.graphicsio.emf
Class EMFExportFileType

java.lang.Object
  |
  +--org.freehep.util.export.ExportFileType
        |
        +--org.freehep.graphicsio.exportchooser.AbstractExportFileType
              |
              +--org.freehep.graphicsio.emf.EMFExportFileType
All Implemented Interfaces:
Comparable

public class EMFExportFileType
extends AbstractExportFileType

// FIXME, check all options

Version:
$Id: EMFExportFileType.java,v 1.7 2003/05/14 04:10:14 duns Exp $
Author:
Mark Donszelmann

Nested Class Summary
 
Nested classes inherited from class org.freehep.graphicsio.exportchooser.AbstractExportFileType
AbstractExportFileType.CancelThread
 
Constructor Summary
EMFExportFileType()
           
 
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.
 boolean hasOptionPanel()
          Returns true if this format has extra options.
 
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, adjustFilename, checkExtension, compareTo, fileHasValidExtension, getExportFileTypes, getExportFileTypes, getFileFilter, isMultipageCapable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EMFExportFileType

public EMFExportFileType()
Method Detail

getDescription

public String getDescription()
Description copied from class: ExportFileType
Returns a short description of the format

Specified by:
getDescription in class ExportFileType

getExtensions

public String[] getExtensions()
Description copied from class: ExportFileType
Returns an array of possible extensions for the format, the first of which is the preferred extension

Specified by:
getExtensions in class ExportFileType

hasOptionPanel

public boolean hasOptionPanel()
Description copied from class: ExportFileType
Returns true if this format has extra options.

Overrides:
hasOptionPanel in class ExportFileType

createOptionPanel

public JPanel createOptionPanel(Properties user)
Description copied from class: ExportFileType
Returns a panel which allows to user to set options associated with this particular output format.

Overrides:
createOptionPanel in class ExportFileType

getGraphics

public VectorGraphics getGraphics(OutputStream os,
                                  Component target)
                           throws IOException
Description copied from class: AbstractExportFileType
The method returns a graphics context specific for this ExportFileType.

Specified by:
getGraphics in class AbstractExportFileType
IOException

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.