Class ImageCoordSystem.Loader

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

public static class ImageCoordSystem.Loader extends Object implements XML.ObjectLoader
A class to save and load ImageCoordSystem data.
  • Constructor Details

    • Loader

      public Loader()
  • Method Details

    • saveObject

      public void saveObject(XMLControl control, 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 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 Object loadObject(XMLControl control, 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