|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.ejs.control.GroupControl org.opensourcephysics.ejs.control.EjsControl org.opensourcephysics.ejs.control.ParsedEjsControl org.opensourcephysics.ejs.control.EjsControlFrame org.opensourcephysics.ejs.control.EjsSimulationControl
public class EjsSimulationControl
Field Summary |
---|
Fields inherited from class org.opensourcephysics.ejs.control.GroupControl |
---|
DEBUG_ALL, DEBUG_CONTROL, DEBUG_CONTROL_VERBOSE, DEBUG_DRAWING, DEBUG_DRAWING_VERBOSE, DEBUG_ELEMENTS, DEBUG_NONE, DEBUG_SET_AND_GET, DEBUG_SYSTEM, DEBUG_SYSTEM_VERBOSE |
Fields inherited from interface org.opensourcephysics.controls.Control |
---|
NOT_EDITABLE_BACKGROUND |
Constructor Summary | |
---|---|
EjsSimulationControl(Simulation model,
DrawingFrame frame,
java.lang.String[] args)
Constructor EjsSimulationControl |
Method Summary | |
---|---|
void |
clearDefaultXML()
Clears the current XML default. |
void |
initialize()
Does the calculation. |
void |
render()
Renders (draws) the panel immediately. |
void |
resetSimulation()
Resets the model and switches the text on the run button. |
void |
runSimulation()
Runs the Simulation switches the text on the run button |
void |
stepSimulation()
|
Methods inherited from class org.opensourcephysics.ejs.control.EjsControlFrame |
---|
addChildFrame, addObject, addPropertyChangeListener, calculationDone, clearChildFrames, clearData, clearDataAndRepaint, clearMessages, getChildFrames, getContentPane, getFrame, getGlassPane, getLayeredPane, getMainFrame, getOSPApp, getRootPane, getTopLevelAncestor, inspectXML, loadDefaultXML, loadXML, loadXML, loadXML, loadXML, parseXMLMenu, print, println, println, printToGraphics, removePropertyChangeListener, saveXML, setContentPane, setGlassPane, setLayeredPane |
Methods inherited from class org.opensourcephysics.ejs.control.ParsedEjsControl |
---|
getDouble, getInt, getObject, removeParameter, setAdjustableValue, setAdjustableValue, setAdjustableValue, setAdjustableValue, setParameterToFixed |
Methods inherited from class org.opensourcephysics.ejs.control.EjsControl |
---|
clearValues, getPropertyNames, getValue, reset, setLockValues, setValue |
Methods inherited from class org.opensourcephysics.ejs.control.GroupControl |
---|
add, add, addListener, addListener, addNamed, addObject, addTarget, appendPrefixPath, clear, clearPrefixPath, clearVariables, destroy, destroy, getBoolean, getComponent, getContainer, getControl, getDebugLevel, getDefaultPrefixList, getElement, getLoader, getOwnerFrame, getReplaceOwnerFrame, getReplaceOwnerName, getSimulation, getString, getTarget, getTopLevelAncestor, getVisual, isVariableRegistered, registerVariable, removeTarget, rename, replaceOwnerFrame, setActive, setDebugLevel, setOwnerFrame, setSimulation, setValue, setValue, setValue, setValue, setValue, update, variableChanged |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensourcephysics.controls.Control |
---|
clearValues, getBoolean, getPropertyNames, getString, setLockValues, setValue, setValue, setValue, setValue |
Constructor Detail |
---|
public EjsSimulationControl(Simulation model, DrawingFrame frame, java.lang.String[] args)
model
- frame
- args
- Method Detail |
---|
public void render()
render
in class EjsControlFrame
public void clearDefaultXML()
clearDefaultXML
in class EjsControlFrame
public void resetSimulation()
public void stepSimulation()
public void runSimulation()
public void initialize()
initialize
in class GroupControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |