Type Definitions
-
ChangedFieldCallback(field, value)
-
Callback for VisualUpdate#forEachChangedField
Parameters:
Name Type Description fieldString name of the involved changed field. valueString 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 fieldValueString the field value to be parsed. keyString 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 messageString 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 fieldNameString of the involved changed field. If the related Subscription was initialized using a "Field Schema" it will be null. fieldPosNumber 1-based position of the field within the "Field List" or "Field Schema". valueString the value for the field. See ItemUpdate#getValue for details. -
LabelsFormatter(value) → {String}
-
Callback for Chart#setXLabels and ChartLine#setYLabels
Parameters:
Name Type Description valueNumber the value to be formatted before being print in a label. Returns:
the String to be set as content for the label.- Type
- String