Class Resolution.ResolutionLoader
java.lang.Object
org.opensourcephysics.controls.XMLLoader
org.opensourcephysics.display3d.core.Resolution.ResolutionLoader
- All Implemented Interfaces:
XML.ObjectLoader
- Enclosing class:
- Resolution
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateObject
(XMLControl control) Creates a new object if the class type has a no-arg constructor.loadObject
(XMLControl control, Object obj) Loads the object with xml data.void
saveObject
(XMLControl control, Object obj) Empty method.
-
Constructor Details
-
ResolutionLoader
public ResolutionLoader()
-
-
Method Details
-
saveObject
Description copied from class:XMLLoader
Empty method.- Specified by:
saveObject
in interfaceXML.ObjectLoader
- Overrides:
saveObject
in classXMLLoader
- Parameters:
control
- the controlobj
- the object
-
createObject
Description copied from class:XMLLoader
Creates a new object if the class type has a no-arg constructor.- Specified by:
createObject
in interfaceXML.ObjectLoader
- Overrides:
createObject
in classXMLLoader
- Parameters:
control
- the control- Returns:
- the new object
-
loadObject
Description copied from class:XMLLoader
Loads the object with xml data. Calculations and Animations should reinitialize after they are loaded.- Specified by:
loadObject
in interfaceXML.ObjectLoader
- Overrides:
loadObject
in classXMLLoader
- Parameters:
control
- the controlobj
- the object- Returns:
- the loaded object
-