|
|||||||||
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.GeneralPathLoader
public class GeneralPathLoader
A class that saves and loads a GeneralPath in an XMLControl.
Constructor Summary | |
---|---|
GeneralPathLoader()
|
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)
Loads the object with xml data. |
void |
saveObject(XMLControl control,
java.lang.Object obj)
Empty method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneralPathLoader()
Method Detail |
---|
public void saveObject(XMLControl control, java.lang.Object obj)
XMLLoader
saveObject
in interface XML.ObjectLoader
saveObject
in class XMLLoader
control
- the controlobj
- the objectpublic java.lang.Object createObject(XMLControl control)
XMLLoader
createObject
in interface XML.ObjectLoader
createObject
in class XMLLoader
control
- the control
public java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
XMLLoader
loadObject
in interface XML.ObjectLoader
loadObject
in class XMLLoader
control
- the controlobj
- the object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |