Type Definitions
ChangedFieldCallback(field, value)
Callback for VisualUpdate#forEachChangedField
Parameters:
Name | Type | Description |
---|---|---|
field |
String |
name of the involved changed field. |
value |
String |
the new value for the field. See VisualUpdate#getChangedFieldValue for details. Note that changes to the values made through VisualUpdate#setCellValue calls will not be reflected by the iterator, as they don't affect the model. |
CustomParserFunction(fieldValue, key) → {Number}
Callback for Chart#setXAxis and Chart#addYAxis
Parameters:
Name | Type | Description |
---|---|---|
fieldValue |
String |
the field value to be parsed. |
key |
String |
the key associated with the given value |
Returns:
a valid number to be plotted or null if the value has to be considered unchanged
- Type
- Number
FunctionLogConsumer(message)
Callback for FunctionAppender
Parameters:
Name | Type | Description |
---|---|---|
message |
String |
the log message to be consumed. If a more detailed insight on the message details is required it is suggested to implement a custom SimpleLogAppender. |
ItemUpdateChangedFieldCallback(fieldName, fieldPos, value)
Callback for ItemUpdate#forEachChangedField and ItemUpdate#forEachField
Parameters:
Name | Type | Description |
---|---|---|
fieldName |
String |
of the involved changed field. If the related Subscription was initialized using a "Field Schema" it will be null. |
fieldPos |
Number |
1-based position of the field within the "Field List" or "Field Schema". |
value |
String |
the value for the field. See ItemUpdate#getValue for details. |
LabelsFormatter(value) → {String}
Callback for Chart#setXLabels and ChartLine#setYLabels
Parameters:
Name | Type | Description |
---|---|---|
value |
Number |
the value to be formatted before being print in a label. |
Returns:
the String to be set as content for the label.
- Type
- String