Constructor
new module:caplin/element/renderer/SingleStreamRenderer()
A single stream renderer.
Extends:
Extends
Methods
-
bindHandlers()
-
Binds event listeners to the control for all the handlers, which will result in a callbacks to the
onRendererEvent()
method then any event occurs.- Inherited From:
-
buildXhtml(mFieldValues, className)
-
Parameters:
Name Type Description mFieldValues
Object className
Object - Inherited From:
-
getControl() → {module:caplin/control/Control}
-
Returns a control corresponding to the renderer.
- Inherited From:
Returns:
The control -
getVariable(variableName) → {String}
-
Gets the renderer's variable.
Parameters:
Name Type Description variableName
String The variable name to retrieve. - Inherited From:
Returns:
The variable value- Type
- String
-
onRendererEvent(domEvent)
-
Event handler callback function that receives the events attached to the controls and defined in the handlers.
All control events call this function.
Parameters:
Name Type Description domEvent
Object The DOM event that was fired - Inherited From:
-
refresh()
-
Apply all pending updates
- Inherited From:
-
setSerialId(serialId)
-
Sets the serial id.
Parameters:
Name Type Description serialId
int The serial id - Inherited From:
-
toString() → {String}
-
Returns a human-readable string representation of the object, which is useful for debugging.
Returns:
The string representation- Type
- String
-
unbindHandlers()
-
Unbinds event listeners from the control for all the handlers.
- Inherited From:
-
updateStreamValues(fieldValuesMap)
-
Updates the renderer with the new value.
Parameters:
Name Type Description fieldValuesMap
Map The field values map. - Inherited From: