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
An abstract superclass for all built-in exporting classes.
- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of export formats that are available within the core of JaxoDraw by default.Returns a warning if the current graph contains a LaTeX text.boolean
Checks some eventual runtime requirements for the plugin.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
-
Constructor Details
-
JaxoExport
protected JaxoExport()Protected empty constructor.
-
-
Method Details
-
makeAvailableAtRuntime
public boolean makeAvailableAtRuntime()Checks some eventual runtime requirements for the plugin.- Returns:
- As a built-in format, this always returns true.
-
getWarningForGraph
Returns a warning if the current graph contains a LaTeX text.- Specified by:
getWarningForGraph
in classJaxoExportPlugin
- Returns:
- An (internationalized) warning.
-
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
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.
-