org.opensourcephysics.display
Class InteractiveCircle.InteractiveCircleLoader

java.lang.Object
  extended byorg.opensourcephysics.controls.XMLLoader
      extended byorg.opensourcephysics.display.CircleLoader
          extended byorg.opensourcephysics.display.InteractiveCircle.InteractiveCircleLoader
All Implemented Interfaces:
XML.ObjectLoader
Enclosing class:
InteractiveCircle

protected static class InteractiveCircle.InteractiveCircleLoader
extends CircleLoader

A class to save and load InteractiveCircle data in an XMLControl.


Constructor Summary
protected InteractiveCircle.InteractiveCircleLoader()
           
 
Method Summary
 java.lang.Object createObject(XMLControl control)
          Creates a default InteractiveCircle.
 java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
          Loads data from the xml control into the InteractiveCircle object.
 void saveObject(XMLControl control, java.lang.Object obj)
          Saves the InteractiveCircle's data in the xml control.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractiveCircle.InteractiveCircleLoader

protected InteractiveCircle.InteractiveCircleLoader()
Method Detail

saveObject

public void saveObject(XMLControl control,
                       java.lang.Object obj)
Saves the InteractiveCircle's data in the xml control.

Specified by:
saveObject in interface XML.ObjectLoader
Overrides:
saveObject in class CircleLoader
Parameters:
control - XMLControl
obj - Object

createObject

public java.lang.Object createObject(XMLControl control)
Creates a default InteractiveCircle.

Specified by:
createObject in interface XML.ObjectLoader
Overrides:
createObject in class CircleLoader
Parameters:
control - XMLControl
Returns:
Object

loadObject

public java.lang.Object loadObject(XMLControl control,
                                   java.lang.Object obj)
Loads data from the xml control into the InteractiveCircle object.

Specified by:
loadObject in interface XML.ObjectLoader
Overrides:
loadObject in class CircleLoader
Parameters:
control - XMLControl
obj - Object
Returns:
Object