ControlParsedEjsControlpublic class EjsControl extends GroupControl implements Control
NOT_EDITABLE_BACKGROUNDDEBUG_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 |
|---|---|
EjsControl() |
Constructor EjsControl
|
EjsControl(java.lang.Object _simulation) |
The EjsControl constructor.
|
EjsControl(java.lang.Object _simulation,
java.lang.String _replaceName,
java.awt.Frame _replaceOwnerFrame) |
Constructor EjsControl
|
| Modifier and Type | Method | Description |
|---|---|---|
ControlElement |
addObject(java.lang.Object _object,
java.lang.String _classname,
java.lang.String _propList) |
Creates a new ControlElement that wrapps an existing object
If the object is not of the right class it will print a warning
and ignore the object provided.
|
void |
calculationDone(java.lang.String message) |
Notifies the control when a calculation has completed.
|
void |
clearMessages() |
Clears all text from the control's message area.
|
void |
clearValues() |
Clears all text from the control's data input area.
|
java.util.Collection<java.lang.String> |
getPropertyNames() |
Reads the current property names.
|
Value |
getValue(java.lang.String _variable) |
Returns the group value of a variable.
|
void |
print(java.lang.String s) |
Prints a string in the control's message area.
|
void |
println() |
Prints a blank line in the control's message area.
|
void |
println(java.lang.String s) |
Prints a string in the control's message area followed by a CR and LF.
|
void |
reset() |
Reset all elements
|
void |
setLockValues(boolean lock) |
Locks the control's interface.
|
void |
setValue(java.lang.String _variable,
Value _value) |
Sets the group value for a variable.
|
getBoolean, getDouble, getInt, getObject, getString, setValue, setValue, setValue, setValueadd, add, addListener, addListener, addNamed, addObject, addTarget, appendPrefixPath, clear, clearPrefixPath, clearVariables, destroy, destroy, getBoolean, getComponent, getContainer, getControl, getDebugLevel, getDefaultPrefixList, getDouble, getElement, getInt, getLoader, getObject, getOwnerFrame, getReplaceOwnerFrame, getReplaceOwnerName, getSimulation, getString, getTarget, getTopLevelAncestor, getVisual, initialize, isVariableRegistered, registerVariable, removeTarget, rename, replaceOwnerFrame, setActive, setDebugLevel, setOwnerFrame, setSimulation, setValue, setValue, setValue, setValue, setValue, update, variableChangedpublic EjsControl(java.lang.Object _simulation)
_simulation - public EjsControl(java.lang.Object _simulation,
java.lang.String _replaceName,
java.awt.Frame _replaceOwnerFrame)
_simulation - _replaceName - _replaceOwnerFrame - public EjsControl()
public ControlElement addObject(java.lang.Object _object, java.lang.String _classname, java.lang.String _propList)
GroupControladdObject in class GroupControlpublic void reset()
GroupControlreset in class GroupControlpublic void setLockValues(boolean lock)
setLockValues in interface Controllock - booleanpublic java.util.Collection<java.lang.String> getPropertyNames()
getPropertyNames in interface Controlpublic void clearValues()
ControlclearValues in interface Controlpublic void clearMessages()
ControlclearMessages in interface Controlpublic void println(java.lang.String s)
Controlpublic void println()
Controlpublic void print(java.lang.String s)
Controlpublic void calculationDone(java.lang.String message)
ControlcalculationDone in interface Controlpublic void setValue(java.lang.String _variable,
Value _value)
GroupControlsetValue in class GroupControlpublic Value getValue(java.lang.String _variable)
GroupControlgetValue in class GroupControlValue object of the variable. If the
variable has never been set, it returns null.