Constructor
new module:caplin/grid/refine/component/GridColumnRefinerPresenterComponent(gridColumn, presentationModel)
Extends:
Parameters:
Name | Type | Description |
---|---|---|
gridColumn |
string | |
presentationModel |
module:GridColumnRefiner |
- Implements:
Extends
Methods
-
addComponentLifecycleListener(oListener)
-
Add a component life-cycle event listener.
Parameters:
Name Type Description oListener
module:caplin/component/ComponentLifecycleEvents The listener being registered. -
deserialize(sPresenterData)
-
Extracts the data inside the presenter tag and gives it to the PresentationModel for deserialization. Only has affect if the Presentation Model implements
module:br/presenter/SerializablePresentationModel
.Parameters:
Name Type Description sPresenterData
String The presenter xml node in string format - Inherited From:
-
getPresentationModel()
-
Retrieve the presentation model being displayed by this component.
-
isViewAttached()
-
Returns
true
oncemodule:caplin/component/ComponentLifecycleEvents#onOpen
has fired, and the element returned frommodule:caplin/presenter/component/PresenterComponent#getElement
has been attached to the page. -
isViewBound()
-
Returns
true
if the element is part of the view, otherwise returnsfalse
.- Inherited From:
-
removeComponentLifecycleListener(oListener)
-
Remove a previously registered component life-cycle event listener.
Parameters:
Name Type Description oListener
module:caplin/component/ComponentLifecycleEvents The listener being removed. -
setColumn(gridColumn)
-
Set the column which the component should apply refinements to
Parameters:
Name Type Description gridColumn
module:caplin/grid/GridColumn