Attributes | Name and Description |
---|---|
|
caplin.element.renderer.StreamRenderer(caplin.element.factory.RendererType rendererType, Array primaryFieldNames, caplin.control.Control control)
|
Attributes | Name and Description |
---|---|
|
void
bindHandlers()
Binds event listeners to the control for all the handlers, which will result in a callbacks to the
|
|
void
buildXhtml(Object mFieldValues, Object className)
|
|
caplin.control.Control
getControl()
Returns a control corresponding to the renderer. |
|
String
getVariable(String variableName)
Gets the renderer's variable. |
|
void
onRendererEvent(Object domEvent)
Event handler callback function that receives the events attached to the controls and defined in the handlers. |
|
void
refresh()
Apply all pending updates |
|
void
resetUnformattedStreamValue()
Creates a null value for this renderer type |
|
void
setSerialId(int serialId)
Sets the serial id. |
|
void
unbindHandlers()
Unbinds event listeners from the control for all the handlers. |
|
void
updateStreamValues(Map fieldValuesMap)
Updates the renderer with the new value. |
►
caplin.element.renderer.StreamRenderer(caplin.element.factory.RendererType rendererType, Array primaryFieldNames, caplin.control.Control control)
caplin.element.factory.RendererType | rendererType | The renderer type. |
Array | primaryFieldNames | The list of model field names. |
caplin.control.Control | control | An instance of the screen control. |
►
void
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.
►
void
buildXhtml(Object mFieldValues, Object className)
Object | mFieldValues | |
Object | className |
►
caplin.control.Control
getControl()
Returns a control corresponding to the renderer.
►
String
getVariable(String variableName)
Gets the renderer's variable.
String | variableName | The variable name to retrieve. |
►
void
onRendererEvent(Object domEvent)
Event handler callback function that receives the events attached to the controls and defined in the handlers.
All control events call this function.Object | domEvent | The DOM event that was fired |
►
void
refresh()
Apply all pending updates
►
void
resetUnformattedStreamValue()
Creates a null value for this renderer type
►
void
setSerialId(int serialId)
Sets the serial id.
int | serialId | The serial id |
►
void
unbindHandlers()
Unbinds event listeners from the control for all the handlers.
►
void
updateStreamValues(Map fieldValuesMap)
Updates the renderer with the new value.
Map | fieldValuesMap | The field values map. |