org.opensourcephysics.display3d.core
Class VisualizationHints.Loader

java.lang.Object
  extended by org.opensourcephysics.controls.XMLLoader
      extended by org.opensourcephysics.display3d.core.VisualizationHints.Loader
All Implemented Interfaces:
XML.ObjectLoader
Direct Known Subclasses:
VisualizationHints.VisualizationHintsLoader
Enclosing interface:
VisualizationHints

public abstract static class VisualizationHints.Loader
extends XMLLoader


Constructor Summary
VisualizationHints.Loader()
           
 
Method Summary
abstract  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

VisualizationHints.Loader

public VisualizationHints.Loader()
Method Detail

createObject

public abstract java.lang.Object createObject(XMLControl control)
Description copied from class: XMLLoader
Creates a new object if the class type has a no-arg constructor.

Specified by:
createObject in interface XML.ObjectLoader
Overrides:
createObject in class XMLLoader
Parameters:
control - the control
Returns:
the new object

saveObject

public void saveObject(XMLControl control,
                       java.lang.Object obj)
Description copied from class: XMLLoader
Empty method.

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

loadObject

public java.lang.Object loadObject(XMLControl control,
                                   java.lang.Object obj)
Description copied from class: XMLLoader
Loads the object with xml data. Calculations and Animations should reinitialize after they are loaded.

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