|
|||||||||
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.tools.DataColumn.Loader
protected static class DataColumn.Loader
A class to save and load DataColumn data in an XMLControl.
Constructor Summary | |
---|---|
protected |
DataColumn.Loader()
|
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 |
---|
protected DataColumn.Loader()
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 |