Package net.sf.jaxodraw.io.exports
Class JaxoExport
- java.lang.Object
-
- net.sf.jaxodraw.plugin.AbstractJaxoPlugin
-
- net.sf.jaxodraw.plugin.JaxoExportPlugin
-
- 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
Constructors Modifier Constructor Description protected
JaxoExport()
Protected empty constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.Object>
getBuiltInFormats()
Returns a list of export formats that are available within the core of JaxoDraw by default.java.lang.String
getWarningForGraph()
Returns a warning if the current graph contains a LaTeX text.boolean
makeAvailableAtRuntime()
Checks some eventual runtime requirements for the plugin.java.lang.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.util.JaxoLocalized
updateLanguage
-
Methods inherited from interface net.sf.jaxodraw.plugin.JaxoPlugin
description, getShortName, pluginId
-
-
-
-
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 java.lang.String getWarningForGraph()
Returns a warning if the current graph contains a LaTeX text.- Specified by:
getWarningForGraph
in classJaxoExportPlugin
- Returns:
- An (internationalized) warning.
-
getBuiltInFormats
public static java.util.List<java.lang.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 java.lang.String version()
Return the version number of this plugin. This should be a String in the format used by JaxoDraw as specified inJaxoInfo.compareVersions
.- Returns:
- the version.
-
-