|
|||||||||
| 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.DrawableShapeLoader
public class DrawableShapeLoader
A class to save and load DrawableShapes in an XMLControl.
| Constructor Summary | |
|---|---|
DrawableShapeLoader()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createObject(XMLControl control)
Creates the DrawableShape containing a GeneralPath. |
java.lang.Object |
loadObject(XMLControl control,
java.lang.Object obj)
Loads the DrawableShape using the path stored in the control. |
void |
saveObject(XMLControl control,
java.lang.Object obj)
Saves a DrawableShape by saving the general path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrawableShapeLoader()
| Method Detail |
|---|
public void saveObject(XMLControl control,
java.lang.Object obj)
saveObject in interface XML.ObjectLoadersaveObject in class XMLLoadercontrol - XMLControlobj - Objectpublic java.lang.Object createObject(XMLControl control)
createObject in interface XML.ObjectLoadercreateObject in class XMLLoadercontrol - XMLControl
public java.lang.Object loadObject(XMLControl control,
java.lang.Object obj)
loadObject in interface XML.ObjectLoaderloadObject in class XMLLoadercontrol - XMLControlobj - Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||