Class AC.pss.ComponentController
Component controller.
Defined in: PssUtility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AC.pss.ComponentController(superiorContributionId, componentId, target, callbackObject, callback, renderer, subComponentRenderers)
Default constructor.
|
Method Attributes | Method Name and Description |
---|---|
createRenderer(subComponentConfiguration)
Creates a component renderer.
|
|
initControl(msg)
Initializes the control.
|
|
initialize(msg)
Initiliazes this component controller when rendering the top-level component.
|
|
Initializes the superior contribution.
|
|
render()
Renders this component.
|
Class Detail
AC.pss.ComponentController(superiorContributionId, componentId, target, callbackObject, callback, renderer, subComponentRenderers)
Default constructor.
- Parameters:
- superiorContributionId
- the superior contribution id
- componentId
- the id of the component's configuration
- target
- the location to render this component
- callbackObject
- the callback object
- callback
- the function to call back once the component is created
- renderer
- the renderer that rendered this component
- subComponentRenderers
- an array of subcomponent renderers
Method Detail
createRenderer(subComponentConfiguration)
Creates a component renderer.
- Parameters:
- subComponentConfiguration
- the sub-component configuration
- Returns:
- the component renderer
initControl(msg)
Initializes the control.
- Parameters:
- msg
- the message
- Returns:
- void
initialize(msg)
Initiliazes this component controller when rendering the top-level component.
- Parameters:
- msg
- the message
- Returns:
- void
initSuperiorContribution(msg)
Initializes the superior contribution.
- Parameters:
- msg
- the message
- Returns:
- void
render()
Renders this component.
- Returns:
- void