Global

Type Definitions

ChangedFieldCallback(field, value)

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

ForEachCallback(value, row) → {String|Number}

Parameters:
Name Type Description
value Object the element.
row String | Number the row where the element is located
Returns:
col the column in the row where the element is located
Type
String | 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)

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}

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

RowsCallback(row)

Callback for Matrix#forEachRow
Parameters:
Name Type Description
row String | Number a non-empty row in the Matrix.