public class ArgumentExecuted extends ArgumentComponentTextField
Modifier and Type | Field and Description |
---|---|
protected MainControl |
mainControl |
emptyAllowed, textField
CL_DEFAULT, CL_ERROR, DEFAULT_FONT, DEFAULT_INNER_BORDER, DEFAULT_TEXT_BORDER, markIfError
Constructor and Description |
---|
ArgumentExecuted() |
Modifier and Type | Method and Description |
---|---|
protected ExecutionReturn |
checkAndExecute(java.lang.String statement)
Calls checkAndExecute of the super class and passes the main control member in
|
ExecutionReturn |
evaluate()
Evaluates the user input and creates a respective graphana value
|
void |
init(MainControl mainControl,
ScriptType scriptType,
ArgumentComponentManager argumentComponentManager) |
void |
setValue(ExecutionReturn value)
Sets the value within the component to the given value
|
evaluateToString, getComponent, keyPressed, keyReleased, keyTyped, setToolTip
addKeyListener, checkAndExecute, error, getComponentHeight, getComponentMinWidth, getInnerComponent, getTopParent, init, resetToolTip, setComponentColor, setMarkIfError, setParameterName, throwError, throwError, throwStringError, throwStringError, unmark
protected MainControl mainControl
public void init(MainControl mainControl, ScriptType scriptType, ArgumentComponentManager argumentComponentManager)
init
in class ArgumentComponentTextField
public ExecutionReturn evaluate()
ArgumentComponent
evaluate
in class ArgumentComponent
protected ExecutionReturn checkAndExecute(java.lang.String statement)
public void setValue(ExecutionReturn value)
ArgumentComponent
setValue
in class ArgumentComponent