org.opensourcephysics.tools
Class Toolbox
java.lang.Object
org.opensourcephysics.tools.Toolbox
- public class Toolbox
- extends java.lang.Object
Toolbox stores tools that can exchange data using the Tool interface.
Field Summary |
protected static int |
allowRMI
|
protected static java.rmi.registry.Registry |
registry
|
protected static java.util.Map |
tools
|
Constructor Summary |
protected |
Toolbox()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tools
protected static java.util.Map tools
registry
protected static java.rmi.registry.Registry registry
allowRMI
protected static int allowRMI
Toolbox
protected Toolbox()
addTool
public static void addTool(java.lang.String name,
Tool tool)
addRMITool
public static boolean addRMITool(java.lang.String name,
Tool tool)
getTool
public static Tool getTool(java.lang.String name)