|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.controls.OSPApplication
public class OSPApplication
OSPApplication defines a model and a control.
Constructor Summary | |
---|---|
OSPApplication(Control control,
java.lang.Object model)
Constructs an OSPApplication. |
Method Summary | |
---|---|
java.lang.Class<?> |
getLoadedControlClass()
Gets the control that was used to load this class. |
java.lang.Class<?> |
getLoadedModelClass()
Gets the model that was used to load this class. |
static XML.ObjectLoader |
getLoader()
Returns an XML.ObjectLoader to save and load data for this object. |
void |
setCompatibleModel(boolean b)
Set the loader to import all xml data for a compatible model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OSPApplication(Control control, java.lang.Object model)
control
- model
- Method Detail |
---|
public void setCompatibleModel(boolean b)
b
- public java.lang.Class<?> getLoadedModelClass()
public java.lang.Class<?> getLoadedControlClass()
public static XML.ObjectLoader getLoader()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |