public class ArgumentComplexType extends ArgumentComponent
CL_DEFAULT, CL_ERROR, DEFAULT_FONT, DEFAULT_INNER_BORDER, DEFAULT_TEXT_BORDER, markIfError| Constructor and Description |
|---|
ArgumentComplexType() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionReturn |
evaluate()
Evaluates the user input and creates a respective graphana value
|
java.lang.String |
evaluateToString()
Evalutates the user input and returns it in its string representation
|
java.awt.Component |
getComponent()
Returns the topmost component to add it into a GUI
|
java.awt.Component |
getInnerComponent()
Returns the inner component of this component or the component itself, if there is no inner component.
|
void |
init(MainControl mainControl,
ScriptType scriptType,
ArgumentComponentManager argumentComponentManager) |
void |
setParameterName(java.lang.String parameterName)
Sets a special name of the type.
|
void |
setToolTip(java.lang.String tooltip)
Sets the tooltip of the component and eventually of sub components
|
void |
setValue(ExecutionReturn value)
Sets the value within the component to the given value
|
addKeyListener, checkAndExecute, error, getComponentHeight, getComponentMinWidth, getTopParent, init, resetToolTip, setComponentColor, setMarkIfError, throwError, throwError, throwStringError, throwStringError, unmarkpublic void init(MainControl mainControl, ScriptType scriptType, ArgumentComponentManager argumentComponentManager)
init in class ArgumentComponentpublic java.awt.Component getComponent()
ArgumentComponentgetComponent in class ArgumentComponentpublic void setParameterName(java.lang.String parameterName)
ArgumentComponentsetParameterName in class ArgumentComponentpublic java.awt.Component getInnerComponent()
ArgumentComponentgetInnerComponent in class ArgumentComponentpublic void setValue(ExecutionReturn value)
ArgumentComponentsetValue in class ArgumentComponentpublic ExecutionReturn evaluate()
ArgumentComponentevaluate in class ArgumentComponentpublic java.lang.String evaluateToString()
ArgumentComponentevaluateToString in class ArgumentComponentpublic void setToolTip(java.lang.String tooltip)
ArgumentComponentsetToolTip in class ArgumentComponent