Class AC.pss.Control
The generic class for the Control of the PSS.
Defined in: PssUtility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AC.pss.Control(componentId, renderer, subrenderer, target)
Default constructor.
|
Field Attributes | Field Name and Description |
---|---|
Check whether the control is set up in "display as button"(isPopup = true) or not.
|
|
The pop up window of this control.
|
|
The title of the pop up window of this control.
|
Method Attributes | Method Name and Description |
---|---|
The handler for the button when the button is clicked.
|
|
Get the content of the control.
|
|
The handler for the button when the button is clicked.
|
|
Initialize the control in the PSS.
|
|
initSubComponentWindow(control)
Initialize the pop up window for the "Display as button" mode.
|
Class Detail
AC.pss.Control(componentId, renderer, subrenderer, target)
Default constructor.
- Parameters:
- componentId
- renderer
- subrenderer
- target
Field Detail
isPopup
Check whether the control is set up in "display as button"(isPopup = true) or not.
- Default Value:
- null
subComponentWindow
The pop up window of this control.
- Default Value:
- null
windowTitle
The title of the pop up window of this control.
- Default Value:
- null
Method Detail
buttonHandler()
The handler for the button when the button is clicked. It will display the pop up window by default
- Returns:
- void
{Object}
getControlPanel()
Get the content of the control. This function is to be overidden in the subclasses
- Returns:
- {Object} control
initButton()
The handler for the button when the button is clicked.
- Returns:
- void
initComponent()
Initialize the control in the PSS.
- Returns:
- void
initSubComponentWindow(control)
Initialize the pop up window for the "Display as button" mode. The content of the control will be
attached to this window as a child item
- Parameters:
- {Object} control
- the content of the control
- Returns:
- void