|
|||||||||
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
public class CircleLoader
A class to save and load Circle objects in an XMLControl.
Constructor Summary | |
---|---|
CircleLoader()
|
Method Summary | |
---|---|
java.lang.Object |
createObject(XMLControl control)
Creates a Circle. |
java.lang.Object |
loadObject(XMLControl control,
java.lang.Object obj)
Loads data from the xml control into the Circle object. |
void |
saveObject(XMLControl control,
java.lang.Object obj)
Saves the Circle'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 |
---|
public CircleLoader()
Method Detail |
---|
public void saveObject(XMLControl control, java.lang.Object obj)
saveObject
in interface XML.ObjectLoader
saveObject
in class XMLLoader
control
- XMLControlobj
- Objectpublic java.lang.Object createObject(XMLControl control)
createObject
in interface XML.ObjectLoader
createObject
in class XMLLoader
control
- XMLControl
public java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
loadObject
in interface XML.ObjectLoader
loadObject
in class XMLLoader
control
- XMLControlobj
- Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |