Package org.opensourcephysics.tools
Interface Tool
- All Known Implementing Classes:
DataRefreshTool,DataTool,DataToolTab,EncryptionTool,ExportTool,JarTool,SnapshotTool,TrackPlottingPanel,TranslatorTool,VideoCaptureTool,VideoGrabber
public interface Tool
This is a Tool interface for osp data transfers via XML.
- Version:
- 0.1
- Author:
- Wolfgang Christian and Doug Brown
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidSends a job to this tool and specifies a tool to reply to.static booleansetSendAction(JMenuItem item, String toolName, Object data, Tool replyTo, boolean andDisplay)
-
Method Details
-
send
Sends a job to this tool and specifies a tool to reply to.- Parameters:
job- the JobreplyTo- the tool to notify when the job is complete (may be null)
-
setSendAction
static boolean setSendAction(JMenuItem item, String toolName, Object data, Tool replyTo, boolean andDisplay) - Parameters:
item-data-replyTo-andDisplay-toolClass-
-
reply
-