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 TypeMethodDescriptionvoidstatic ExportToolgetTool()Gets the shared Tool.voidstatic voidregisterFormat(ExportFormat format) Register a new export format.voidSends 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:
propertyChangein interfacePropertyChangeListener
-
registerFormat
Register a new export format. -
exportJS
-
send
Description copied from interface:ToolSends a job to this tool and specifies a tool to reply to. -
getTool
Gets the shared Tool.- Returns:
- the shared ExportTool
-