org.opensourcephysics.display
Class DrawingFrame.DrawingFrameLoader

java.lang.Object
  extended by org.opensourcephysics.display.DrawingFrame.DrawingFrameLoader
All Implemented Interfaces:
XML.ObjectLoader
Direct Known Subclasses:
ComplexPlotFrame.ComplexPlotFrameLoader, HistogramFrame.HistogramFrameLoader, PlotFrame.PlotFrameLoader
Enclosing class:
DrawingFrame

protected static class DrawingFrame.DrawingFrameLoader
extends java.lang.Object
implements XML.ObjectLoader


Constructor Summary
protected DrawingFrame.DrawingFrameLoader()
           
 
Method Summary
 java.lang.Object createObject(XMLControl control)
          createObject
 java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
          Loads the object with data from the control.
 void saveObject(XMLControl control, java.lang.Object obj)
          Save data object's data in the control.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawingFrame.DrawingFrameLoader

protected DrawingFrame.DrawingFrameLoader()
Method Detail

createObject

public java.lang.Object createObject(XMLControl control)
createObject

Specified by:
createObject in interface XML.ObjectLoader
Parameters:
control - XMLControl
Returns:
Object

saveObject

public void saveObject(XMLControl control,
                       java.lang.Object obj)
Save data object's data in the control.

Specified by:
saveObject in interface XML.ObjectLoader
Parameters:
control - XMLControl
obj - Object

loadObject

public java.lang.Object loadObject(XMLControl control,
                                   java.lang.Object obj)
Loads the object with data from the control.

Specified by:
loadObject in interface XML.ObjectLoader
Parameters:
control - XMLControl
obj - Object
Returns:
Object