Package org.opensourcephysics.display
Class DrawingFrame.DrawingFrameLoader
java.lang.Object
org.opensourcephysics.display.DrawingFrame.DrawingFrameLoader
- All Implemented Interfaces:
XML.ObjectLoader
- Direct Known Subclasses:
ComplexPlotFrame.ComplexPlotFrameLoader,HistogramFrame.HistogramFrameLoader,PlotFrame.PlotFrameLoader
- Enclosing class:
- DrawingFrame
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateObject(XMLControl control) createObjectloadObject(XMLControl control, Object obj) Loads the object with data from the control.voidsaveObject(XMLControl control, Object obj) Save data object's data in the control.
-
Constructor Details
-
DrawingFrameLoader
protected DrawingFrameLoader()
-
-
Method Details
-
createObject
createObject- Specified by:
createObjectin interfaceXML.ObjectLoader- Parameters:
control- XMLControl- Returns:
- Object
-
saveObject
Save data object's data in the control.- Specified by:
saveObjectin interfaceXML.ObjectLoader- Parameters:
control- XMLControlobj- Object
-
loadObject
Loads the object with data from the control.- Specified by:
loadObjectin interfaceXML.ObjectLoader- Parameters:
control- XMLControlobj- Object- Returns:
- Object
-