net.sf.jaxodraw.io.exports
Class JaxoExport

java.lang.Object
  extended by net.sf.jaxodraw.plugin.AbstractJaxoPlugin
      extended by net.sf.jaxodraw.plugin.JaxoExportPlugin
          extended by net.sf.jaxodraw.io.exports.JaxoExport
All Implemented Interfaces:
JaxoPlugin, JaxoLocalized
Direct Known Subclasses:
JaxoExportImg, JaxoExportLatex, JaxoExportLatexPS, JaxoExportPS

public abstract class JaxoExport
extends JaxoExportPlugin

An abstract superclass for all built-in exporting classes.

Since:
2.0

Constructor Summary
protected JaxoExport()
          Protected empty constructor.
 
Method Summary
static List<Object> getBuiltInFormats()
          Returns a list of export formats that are available within the core of JaxoDraw by default.
 String getWarningForGraph()
          Returns a warning if the current graph contains a LaTeX text.
 boolean makeAvailableAtRuntime()
          Checks some eventual runtime requirements for the plugin.
 String version()
          Return the version number of this plugin.
 
Methods inherited from class net.sf.jaxodraw.plugin.JaxoExportPlugin
commitConfiguration, errorDialogMessage, export, export, exportTo, getCanvasSize, getColorSpaceWarningForLaTeX, getConfigurationPanel, getGraph, getLaTeXTextWarning, getPSTextWarning, getPSTextWarningForLaTeX, paintGraph, preview, preview, setCanvasSize, setGraph, showErrorDialog
 
Methods inherited from class net.sf.jaxodraw.plugin.AbstractJaxoPlugin
close, getClassName, getFailure, getFileExtension, getFileExtensionDescription, getFormatName, getLang, getLog, getParentComponent, getProperties, getProperty, getProperty, getShortGraphName, hasFailed, isSilent, loadProperties, pluginName, registerDictionary, setFailure, setParentComponent, setProperty, setShortGraphName, setSilent, storeProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxodraw.plugin.JaxoPlugin
description, getShortName, pluginId
 
Methods inherited from interface net.sf.jaxodraw.util.JaxoLocalized
updateLanguage
 

Constructor Detail

JaxoExport

protected JaxoExport()
Protected empty constructor.

Method Detail

makeAvailableAtRuntime

public boolean makeAvailableAtRuntime()
Checks some eventual runtime requirements for the plugin.

Returns:
As a built-in format, this always returns true.

getWarningForGraph

public String getWarningForGraph()
Returns a warning if the current graph contains a LaTeX text.

Specified by:
getWarningForGraph in class JaxoExportPlugin
Returns:
An (internationalized) warning.

getBuiltInFormats

public static List<Object> getBuiltInFormats()
Returns a list of export formats that are available within the core of JaxoDraw by default. Elements are either Lists (containing a subgroup of JaxoExport formats), or JaxoExports.

Returns:
The list of built-in export formats.

version

public String version()
Return the version number of this plugin. This should be a String in the format used by JaxoDraw as specified in JaxoInfo.compareVersions.

Returns:
the version.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.