Control
, SimControl
EjsControlFrame
public class ParsedEjsControl extends EjsControl implements SimControl
NOT_EDITABLE_BACKGROUND
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, replaceOwnerFrame, replaceOwnerName
Constructor | Description |
---|---|
ParsedEjsControl(java.lang.Object simulation) |
Constructor ParsedEjsControl
|
Modifier and Type | Method | Description |
---|---|---|
double |
getDouble(java.lang.String var) |
Gets the double keyed to this value.
|
int |
getInt(java.lang.String var) |
Gets the integer keyed to this value.
|
java.lang.Object |
getObject(java.lang.String var) |
Gets the object keyed to the variable.
|
void |
removeParameter(java.lang.String name) |
Removes a parameter from this control.
|
void |
setAdjustableValue(java.lang.String name,
boolean val) |
Stores a boolean in the control that can be edited after initialization.
|
void |
setAdjustableValue(java.lang.String name,
double val) |
Stores a double in the control that can be edited after initialization.
|
void |
setAdjustableValue(java.lang.String name,
int val) |
Stores an integer in the control that can be edited after initialization.
|
void |
setAdjustableValue(java.lang.String name,
java.lang.Object val) |
Stores an object in the control that can be edited after initialization.
|
void |
setParameterToFixed(java.lang.String name,
boolean fixed) |
Sets the fixed property of the given parameter.
|
calculationDone, clearMessages, clearValues, getBoolean, getPropertyNames, getString, print, println, println, setLockValues, setValue, setValue, setValue, setValue
addObject, calculationDone, clearMessages, clearValues, getPropertyNames, getValue, print, println, println, reset, setLockValues, setValue
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, initialize, isVariableRegistered, registerVariable, removeTarget, rename, replaceOwnerFrame, setActive, setDebugLevel, setOwnerFrame, setSimulation, setValue, setValue, setValue, setValue, setValue, update, variableChanged
public ParsedEjsControl(java.lang.Object simulation)
simulation
- public double getDouble(java.lang.String var)
getDouble
in interface Control
getDouble
in class GroupControl
var
- Stringpublic java.lang.Object getObject(java.lang.String var)
getObject
in interface Control
getObject
in class GroupControl
var
- Stringpublic int getInt(java.lang.String var)
getInt
in interface Control
getInt
in class GroupControl
var
- Stringpublic void removeParameter(java.lang.String name)
SimControl
removeParameter
in interface SimControl
public void setAdjustableValue(java.lang.String name, boolean val)
SimControl
setAdjustableValue
in interface SimControl
public void setAdjustableValue(java.lang.String name, double val)
SimControl
setAdjustableValue
in interface SimControl
public void setAdjustableValue(java.lang.String name, int val)
SimControl
setAdjustableValue
in interface SimControl
public void setAdjustableValue(java.lang.String name, java.lang.Object val)
SimControl
setAdjustableValue
in interface SimControl
public void setParameterToFixed(java.lang.String name, boolean fixed)
SimControl
setParameterToFixed
in interface SimControl