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.voidsaveObject(XMLControl control, Object obj) Empty method.
-
Constructor Details
-
ResolutionLoader
public ResolutionLoader()
-
-
Method Details
-
saveObject
Description copied from class:XMLLoaderEmpty method.- Specified by:
saveObjectin interfaceXML.ObjectLoader- Overrides:
saveObjectin classXMLLoader- Parameters:
control- the controlobj- the object
-
createObject
Description copied from class:XMLLoaderCreates a new object if the class type has a no-arg constructor.- Specified by:
createObjectin interfaceXML.ObjectLoader- Overrides:
createObjectin classXMLLoader- Parameters:
control- the control- Returns:
- the new object
-
loadObject
Description copied from class:XMLLoaderLoads the object with xml data. Calculations and Animations should reinitialize after they are loaded.- Specified by:
loadObjectin interfaceXML.ObjectLoader- Overrides:
loadObjectin classXMLLoader- Parameters:
control- the controlobj- the object- Returns:
- the loaded object
-