org.opensourcephysics.media.core
Class ImageCoordSystem.Loader

java.lang.Object
  extended by org.opensourcephysics.media.core.ImageCoordSystem.Loader
All Implemented Interfaces:
XML.ObjectLoader
Enclosing class:
ImageCoordSystem

public static class ImageCoordSystem.Loader
extends java.lang.Object
implements XML.ObjectLoader

A class to save and load ImageCoordSystem data.


Constructor Summary
ImageCoordSystem.Loader()
           
 
Method Summary
 java.lang.Object createObject(XMLControl control)
          Creates a new ImageCoordSystem.
 java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
          Loads an ImageCoordSystem with data from an XMLControl.
 void saveObject(XMLControl control, java.lang.Object obj)
          Saves ImageCoordSystem data to an XMLControl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageCoordSystem.Loader

public ImageCoordSystem.Loader()
Method Detail

saveObject

public void saveObject(XMLControl control,
                       java.lang.Object obj)
Saves ImageCoordSystem data to an XMLControl.

Specified by:
saveObject in interface XML.ObjectLoader
Parameters:
control - the control to save to
obj - the ImageCoordSystem object to save

createObject

public java.lang.Object createObject(XMLControl control)
Creates a new ImageCoordSystem.

Specified by:
createObject in interface XML.ObjectLoader
Parameters:
control - the control
Returns:
the new ImageCoordSystem

loadObject

public java.lang.Object loadObject(XMLControl control,
                                   java.lang.Object obj)
Loads an ImageCoordSystem with data from an XMLControl.

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