Package org.opensourcephysics.media.core
Class ImageCoordSystem.Loader
java.lang.Object
org.opensourcephysics.media.core.ImageCoordSystem.Loader
- All Implemented Interfaces:
XML.ObjectLoader
- Enclosing class:
- ImageCoordSystem
A class to save and load ImageCoordSystem data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateObject
(XMLControl control) Creates a new ImageCoordSystem.loadObject
(XMLControl control, Object obj) Loads an ImageCoordSystem with data from an XMLControl.void
saveObject
(XMLControl control, Object obj) Saves ImageCoordSystem data to an XMLControl.
-
Constructor Details
-
Loader
public Loader()
-
-
Method Details
-
saveObject
Saves ImageCoordSystem data to an XMLControl.- Specified by:
saveObject
in interfaceXML.ObjectLoader
- Parameters:
control
- the control to save toobj
- the ImageCoordSystem object to save
-
createObject
Creates a new ImageCoordSystem.- Specified by:
createObject
in interfaceXML.ObjectLoader
- Parameters:
control
- the control- Returns:
- the new ImageCoordSystem
-
loadObject
Loads an ImageCoordSystem with data from an XMLControl.- Specified by:
loadObject
in interfaceXML.ObjectLoader
- Parameters:
control
- the controlobj
- the ImageCoordSystem object- Returns:
- the loaded object
-