org.opensourcephysics.display3d.core
Class ElementCone.Loader

java.lang.Object
  extended by org.opensourcephysics.display3d.core.Element.Loader
      extended by org.opensourcephysics.display3d.core.ElementCone.Loader
All Implemented Interfaces:
XML.ObjectLoader
Direct Known Subclasses:
ElementCone.Loader
Enclosing interface:
ElementCone

public abstract static class ElementCone.Loader
extends Element.Loader


Constructor Summary
ElementCone.Loader()
           
 
Method Summary
 java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
          Loads an object with data from an XMLControl.
 void saveObject(XMLControl control, java.lang.Object obj)
          Saves data from an object to an XMLControl.
 
Methods inherited from class org.opensourcephysics.display3d.core.Element.Loader
createObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementCone.Loader

public ElementCone.Loader()
Method Detail

saveObject

public void saveObject(XMLControl control,
                       java.lang.Object obj)
Description copied from interface: XML.ObjectLoader
Saves data from an object to an XMLControl. The object must be castable to the class control.getObjectClass().

Specified by:
saveObject in interface XML.ObjectLoader
Overrides:
saveObject in class Element.Loader
Parameters:
control - the xml control
obj - the object

loadObject

public java.lang.Object loadObject(XMLControl control,
                                   java.lang.Object obj)
Description copied from interface: XML.ObjectLoader
Loads an object with data from an XMLControl. The object must be castable to the class control.getObjectClass().

Specified by:
loadObject in interface XML.ObjectLoader
Overrides:
loadObject in class Element.Loader
Parameters:
control - the xml control
obj - the object
Returns:
the loaded object