Creates an instance of a StringVariable.
[A unique key for the Variable.
The initial selected value.
The array of allowed values.
The callback to invoke when updated.
The rendered control type for this Variable.
The data type represented by this Variable.
The defalut value for this Variable.
The unique key for this Variable.
The array of allowed values for this Variable.
The title for this Variable.
The callback method to be invoked when the Variable is updated.
The array of callback methods.
The data constraint type for this Variable.
The selected value.
Returns the selected value.
The selected value.
Returns the selected value.
First adds a callback to array, and then immediatly executes that callback.
The callback to add and execute.
Adds a callback to array of callbacks.
The callback to add.
Clones the variable.
Returns the cloned variable.
Invokes each of the callback methods.
Subclass should override this method and return a properly formatted value. For example, a ColorVariable may choose to return an rgba string when provided an RgbaColor object.
The value that should be formatted.
Return either the original or formatted value.
Restores the Variable to its default value.
Saves the Variable.
Returns a serialized representation of this object.
The serialized data.
Returns a new initialized StringVariable from serialized data.
The serialized data.
A new initialized StringVariable.
Generated using TypeDoc
A class representing a type of Variable for string values.
Variable
{IStringVariableParams}