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.void
saveObject
(XMLControl control, Object obj) Save data object's data in the control.
-
Constructor Details
-
DrawingFrameLoader
protected DrawingFrameLoader()
-
-
Method Details
-
createObject
createObject- Specified by:
createObject
in interfaceXML.ObjectLoader
- Parameters:
control
- XMLControl- Returns:
- Object
-
saveObject
Save data object's data in the control.- Specified by:
saveObject
in interfaceXML.ObjectLoader
- Parameters:
control
- XMLControlobj
- Object
-
loadObject
Loads the object with data from the control.- Specified by:
loadObject
in interfaceXML.ObjectLoader
- Parameters:
control
- XMLControlobj
- Object- Returns:
- Object
-