Package org.opensourcephysics.tools
Class ExportTool
java.lang.Object
org.opensourcephysics.tools.ExportTool
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
,Tool
An export tool which launches a Save dialog
- Version:
- 1.0
- Author:
- Kipton Barros
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static ExportTool
getTool()
Gets the shared Tool.void
static void
registerFormat
(ExportFormat format) Register a new export format.void
Sends a job to this tool and specifies a tool to reply to.
-
Constructor Details
-
ExportTool
public ExportTool()Creates a new export tool. Doesn't get activated until setXML() is called.
-
-
Method Details
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
registerFormat
Register a new export format. -
exportJS
-
send
Description copied from interface:Tool
Sends a job to this tool and specifies a tool to reply to. -
getTool
Gets the shared Tool.- Returns:
- the shared ExportTool
-