FreeHEP API
Version current

org.freehep.graphicsio.ps
Class AbstractPSExportFileType

java.lang.Object
  extended byorg.freehep.util.export.ExportFileType
      extended byorg.freehep.graphicsio.exportchooser.AbstractExportFileType
          extended byorg.freehep.graphicsio.ps.AbstractPSExportFileType
All Implemented Interfaces:
Comparable
Direct Known Subclasses:
EPSExportFileType, PSExportFileType

public abstract class AbstractPSExportFileType
extends AbstractExportFileType

Version:
$Id: AbstractPSExportFileType.java,v 1.10 2003/06/05 17:58:07 duns Exp $
Author:
Charles Loomis, Simon Fischer
Source Code:
AbstractPSExportFileType.java

Nested Class Summary
 
Nested classes inherited from class org.freehep.graphicsio.exportchooser.AbstractExportFileType
AbstractExportFileType.CancelThread
 
Field Summary
protected static String[] bitsList
           
protected  OptionPanel preview
           
protected  OptionCheckBox previewCheckBox
           
 
Constructor Summary
AbstractPSExportFileType()
           
 
Method Summary
 JPanel createOptionPanel(Properties user)
          Returns a panel which allows to user to set options associated with this particular output format.
 VectorGraphics getGraphics(OutputStream os, Component target)
          The method returns a graphics context specific for this ExportFileType.
 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.
 
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, getDescription, getExportFileTypes, getExportFileTypes, getExtension, getExtensions, getFileExtension, getFileFilter, isMultipageCapable, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bitsList

protected static final String[] bitsList

preview

protected OptionPanel preview

previewCheckBox

protected OptionCheckBox previewCheckBox
Constructor Detail

AbstractPSExportFileType

public AbstractPSExportFileType()
Method Detail

hasOptionPanel

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

Overrides:
hasOptionPanel in class ExportFileType

getMIMETypes

public String[] getMIMETypes()
Description copied from class: ExportFileType
Return the MIME-type(s) for this format, the first of which is the preferred MIME type.

Specified by:
getMIMETypes 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
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.