FreeHEP API
Version current

org.freehep.graphicsio.pdf
Class PDFExportFileType

java.lang.Object
  extended byorg.freehep.util.export.ExportFileType
      extended byorg.freehep.graphicsio.exportchooser.AbstractExportFileType
          extended byorg.freehep.graphicsio.pdf.PDFExportFileType
All Implemented Interfaces:
Comparable

public class PDFExportFileType
extends AbstractExportFileType

Version:
$Id: PDFExportFileType.java,v 1.16 2004/01/15 19:16:56 duns Exp $
Author:
Simon Fischer
Source Code:
PDFExportFileType.java

Nested Class Summary
 
Nested classes inherited from class org.freehep.graphicsio.exportchooser.AbstractExportFileType
AbstractExportFileType.CancelThread
 
Constructor Summary
PDFExportFileType()
           
 
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.
 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.
 boolean isMultipageCapable()
          Returns true if this ExportFileType can handle multipage output.
 
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, getExportFileTypes, getExportFileTypes, getExtension, getFileExtension, getFileFilter, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFExportFileType

public PDFExportFileType()
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

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

isMultipageCapable

public boolean isMultipageCapable()
Description copied from class: ExportFileType
Returns true if this ExportFileType can handle multipage output. The default implementation return false;

Overrides:
isMultipageCapable 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
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.