org.opensourcephysics.frames
Class PlotFrame.PlotFrameLoader

java.lang.Object
  extended by org.opensourcephysics.display.DrawingFrame.DrawingFrameLoader
      extended by org.opensourcephysics.frames.PlotFrame.PlotFrameLoader
All Implemented Interfaces:
XML.ObjectLoader
Enclosing class:
PlotFrame

protected static class PlotFrame.PlotFrameLoader
extends DrawingFrame.DrawingFrameLoader


Constructor Summary
protected PlotFrame.PlotFrameLoader()
           
 
Method Summary
 java.lang.Object createObject(XMLControl control)
          Creates a PlotFame.
 java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
          Loads the object with data from the control.
 
Methods inherited from class org.opensourcephysics.display.DrawingFrame.DrawingFrameLoader
saveObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlotFrame.PlotFrameLoader

protected PlotFrame.PlotFrameLoader()
Method Detail

createObject

public java.lang.Object createObject(XMLControl control)
Creates a PlotFame.

Specified by:
createObject in interface XML.ObjectLoader
Overrides:
createObject in class DrawingFrame.DrawingFrameLoader
Parameters:
control - XMLControl
Returns:
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
Overrides:
loadObject in class DrawingFrame.DrawingFrameLoader
Parameters:
control - XMLControl
obj - Object
Returns:
Object