|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.controls.XMLLoader org.opensourcephysics.display.CircleLoader org.opensourcephysics.display.InteractiveCircle.InteractiveCircleLoader
protected static class InteractiveCircle.InteractiveCircleLoader
A class to save and load InteractiveCircle data in an XMLControl.
Constructor Summary | |
---|---|
protected |
InteractiveCircle.InteractiveCircleLoader()
|
Method Summary | |
---|---|
java.lang.Object |
createObject(XMLControl control)
Creates a default InteractiveCircle. |
java.lang.Object |
loadObject(XMLControl control,
java.lang.Object obj)
Loads data from the xml control into the InteractiveCircle object. |
void |
saveObject(XMLControl control,
java.lang.Object obj)
Saves the InteractiveCircle's data in the xml control. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected InteractiveCircle.InteractiveCircleLoader()
Method Detail |
---|
public void saveObject(XMLControl control, java.lang.Object obj)
saveObject
in interface XML.ObjectLoader
saveObject
in class CircleLoader
control
- XMLControlobj
- Objectpublic java.lang.Object createObject(XMLControl control)
createObject
in interface XML.ObjectLoader
createObject
in class CircleLoader
control
- XMLControl
public java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
loadObject
in interface XML.ObjectLoader
loadObject
in class CircleLoader
control
- XMLControlobj
- Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |