org.opensourcephysics.controls
Class OSPApplication

java.lang.Object
  extended byorg.opensourcephysics.controls.OSPApplication

public class OSPApplication
extends java.lang.Object

An OSPApplication defines a model and a control.


Constructor Summary
OSPApplication(Control control, java.lang.Object model)
          Constructs an OSPApplication.
 
Method Summary
static XML.ObjectLoader getLoader()
          Returns an XML.ObjectLoader to save and load data for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSPApplication

public OSPApplication(Control control,
                      java.lang.Object model)
Constructs an OSPApplication.

Parameters:
control -
model -
Method Detail

getLoader

public static XML.ObjectLoader getLoader()
Returns an XML.ObjectLoader to save and load data for this object.

Returns:
the object loader