|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.controls.XMLLoader
org.opensourcephysics.display.InteractiveShape.InteractiveShapeLoader
org.opensourcephysics.display.BoundedShape.BoundedShapeLoader
A class to save and load BoundedShape in an XMLControl.
Constructor Summary | |
protected |
BoundedShape.BoundedShapeLoader()
|
Method Summary | |
java.lang.Object |
createObject(XMLControl control)
Creates a new object if the class type has a no-arg constructor. |
java.lang.Object |
loadObject(XMLControl control,
java.lang.Object obj)
Empty method. |
void |
saveObject(XMLControl control,
java.lang.Object obj)
Empty method. |
Methods inherited from class org.opensourcephysics.display.InteractiveShape.InteractiveShapeLoader |
getShape |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected BoundedShape.BoundedShapeLoader()
Method Detail |
public void saveObject(XMLControl control, java.lang.Object obj)
XMLLoader
saveObject
in interface XML.ObjectLoader
saveObject
in class InteractiveShape.InteractiveShapeLoader
public java.lang.Object createObject(XMLControl control)
XMLLoader
createObject
in interface XML.ObjectLoader
createObject
in class InteractiveShape.InteractiveShapeLoader
public java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
XMLLoader
loadObject
in interface XML.ObjectLoader
loadObject
in class InteractiveShape.InteractiveShapeLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |