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.void
saveObject
(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:
saveObject
in interfaceXML.ObjectLoader
- Overrides:
saveObject
in classCircleLoader
- Parameters:
control
- XMLControlobj
- Object
-
createObject
Creates a default InteractiveCircle.- Specified by:
createObject
in interfaceXML.ObjectLoader
- Overrides:
createObject
in classCircleLoader
- Parameters:
control
- XMLControl- Returns:
- Object
-
loadObject
Loads data from the xml control into the InteractiveCircle object.- Specified by:
loadObject
in interfaceXML.ObjectLoader
- Overrides:
loadObject
in classCircleLoader
- Parameters:
control
- XMLControlobj
- Object- Returns:
- Object
-