Attributes | Name and Description |
---|---|
|
caplin.element.renderer.StreamRenderer(caplin.element.factory.RendererType oRendererType, Array pPrimaryFieldNames, caplin.control.Control An)
StreamRenderer is an abstract base class, therefore this constructor should not be directly invoked. |
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 sClassName)
|
|
caplin.control.Control
getControl()
Returns a control corresponding to the renderer. |
|
String
getVariable( sVariableName)
Gets the renderer's variable. |
|
void
onRendererEvent(Object oDomEvent)
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
unbindHandlers()
Unbinds event listeners from the control for all the handlers. |
|
void
updateStreamValues(Map mFieldValues)
Updates the renderer with the new value. |
►
caplin.element.renderer.StreamRenderer(caplin.element.factory.RendererType oRendererType, Array pPrimaryFieldNames, caplin.control.Control An)
StreamRenderer is an abstract base class, therefore this constructor should not be directly invoked.
Instead, the RendererFactory should be used to create instances, which requires the RendererTypes to have been declared in XML and loaded using the RendererTypeLoader.caplin.element.factory.RendererType | oRendererType | The renderer type |
Array | pPrimaryFieldNames | The list of model field names |
caplin.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 sClassName)
Object | mFieldValues | |
Object | sClassName |
►
caplin.control.Control
getControl()
Returns a control corresponding to the renderer.
►
String
getVariable( sVariableName)
Gets the renderer's variable.
sVariableName |
►
void
onRendererEvent(Object oDomEvent)
Event handler callback function that receives the events attached to the controls and defined in the handlers.
All control events call this function.Object | oDomEvent | The DOM event that was fired |
►
void
refresh()
Apply all pending updates
►
void
resetUnformattedStreamValue()
Creates a null value for this renderer type
►
void
unbindHandlers()
Unbinds event listeners from the control for all the handlers.
►
void
updateStreamValues(Map mFieldValues)
Updates the renderer with the new value.
Map | mFieldValues | The field values. |