org.opensourcephysics.display
Class BoundedShape.BoundedShapeLoader

java.lang.Object
  extended byorg.opensourcephysics.controls.XMLLoader
      extended byorg.opensourcephysics.display.InteractiveShape.InteractiveShapeLoader
          extended byorg.opensourcephysics.display.BoundedShape.BoundedShapeLoader
All Implemented Interfaces:
XML.ObjectLoader
Enclosing class:
BoundedShape

protected static class BoundedShape.BoundedShapeLoader
extends InteractiveShape.InteractiveShapeLoader

A class to save and load BoundedShape in an XMLControl.


Constructor Summary
protected BoundedShape.BoundedShapeLoader()
           
 
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)
          Empty method.
 void saveObject(XMLControl control, java.lang.Object obj)
          Empty method.
 
Methods inherited from class org.opensourcephysics.display.InteractiveShape.InteractiveShapeLoader
getShape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundedShape.BoundedShapeLoader

protected BoundedShape.BoundedShapeLoader()
Method Detail

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 InteractiveShape.InteractiveShapeLoader

createObject

public 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 InteractiveShape.InteractiveShapeLoader

loadObject

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

Specified by:
loadObject in interface XML.ObjectLoader
Overrides:
loadObject in class InteractiveShape.InteractiveShapeLoader