Package org.opensourcephysics.display
Class InteractiveCircle.InteractiveCircleLoader
java.lang.Object
org.opensourcephysics.controls.XMLLoader
org.opensourcephysics.display.CircleLoader
org.opensourcephysics.display.InteractiveCircle.InteractiveCircleLoader
- All Implemented Interfaces:
XML.ObjectLoader
- Enclosing class:
- InteractiveCircle
A class to save and load InteractiveCircle data in an XMLControl.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateObject(XMLControl control) Creates a default InteractiveCircle.loadObject(XMLControl control, Object obj) Loads data from the xml control into the InteractiveCircle object.voidsaveObject(XMLControl control, Object obj) Saves the InteractiveCircle's data in the xml control.
-
Constructor Details
-
InteractiveCircleLoader
protected InteractiveCircleLoader()
-
-
Method Details
-
saveObject
Saves the InteractiveCircle's data in the xml control.- Specified by:
saveObjectin interfaceXML.ObjectLoader- Overrides:
saveObjectin classCircleLoader- Parameters:
control- XMLControlobj- Object
-
createObject
Creates a default InteractiveCircle.- Specified by:
createObjectin interfaceXML.ObjectLoader- Overrides:
createObjectin classCircleLoader- Parameters:
control- XMLControl- Returns:
- Object
-
loadObject
Loads data from the xml control into the InteractiveCircle object.- Specified by:
loadObjectin interfaceXML.ObjectLoader- Overrides:
loadObjectin classCircleLoader- Parameters:
control- XMLControlobj- Object- Returns:
- Object
-