Package org.opensourcephysics.tools
Class Launcher.LaunchSet
java.lang.Object
org.opensourcephysics.tools.Launcher.LaunchSet
- All Implemented Interfaces:
XML.ObjectLoader
- Enclosing class:
- Launcher
A class to save and load a set of launch tabs and Launcher static fields.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateObject
(XMLControl control) Creates an object from data in an XMLControl.loadObject
(XMLControl control, Object obj) Loads an object with data from an XMLControl.void
saveObject
(XMLControl control, Object obj) Saves data from an object to an XMLControl.
-
Field Details
-
showHiddenNodes
public boolean showHiddenNodes
-
-
Constructor Details
-
LaunchSet
public LaunchSet()Constructor LaunchSet -
LaunchSet
-
-
Method Details
-
saveObject
Description copied from interface:XML.ObjectLoader
Saves data from an object to an XMLControl. The object must be castable to the class control.getObjectClass().- Specified by:
saveObject
in interfaceXML.ObjectLoader
- Parameters:
control
- the xml controlobj
- the object
-
createObject
Description copied from interface:XML.ObjectLoader
Creates an object from data in an XMLControl. The returned object must be castable to the class control.getObjectClass().- Specified by:
createObject
in interfaceXML.ObjectLoader
- Parameters:
control
- the xml control- Returns:
- a new object
-
loadObject
Description copied from interface:XML.ObjectLoader
Loads an object with data from an XMLControl. The object must be castable to the class control.getObjectClass().- Specified by:
loadObject
in interfaceXML.ObjectLoader
- Parameters:
control
- the xml controlobj
- the object- Returns:
- the loaded object
-