Class TControlAdapter
Direct Known Sub-classes:
TControlAdapter class
TControlAdapter is the base class for adapters that customize various behaviors for the control to which the adapter is attached.
| Constructor Summary |
| public |
Constructor.
|
| Method Summary |
|
void
|
Creates child controls for the attached control.
|
|
TControl
|
|
|
TPage
|
|
|
void
|
Loads additional persistent control state.
|
|
void
|
This method is invoked when the control enters 'OnInit' stage.
|
|
void
|
This method is invoked when the control enters 'OnLoad' stage.
|
|
void
|
This method is invoked when the control enters 'OnPreRender' stage.
|
|
void
|
This method is invoked when the control enters 'OnUnload' stage.
|
|
void
|
This method is invoked when the control renders itself.
|
|
void
|
Renders the control's children.
|
|
void
|
Saves additional persistent control state.
|
| Methods Inherited From TComponent |
|
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
| Constructor Details |
__construct
Constructor.
|
| Method Details |
createChildControls
| public void createChildControls |
() |
Creates child controls for the attached control.
Default implementation calls the attached control's corresponding method.
|
getControl
| Output |
|
TControl
| the control to which this adapter is attached |
| Exception |
|
getPage
| Output |
|
TPage
| the page that contains the attached control |
| Exception |
|
loadState
Loads additional persistent control state.
Default implementation calls the attached control's corresponding method.
|
onInit
This method is invoked when the control enters 'OnInit' stage.
Default implementation calls the attached control's corresponding method.
| Input |
| TEventParameter | $param | event parameter to be passed to the event handlers |
| Output |
| Exception |
|
onLoad
This method is invoked when the control enters 'OnLoad' stage.
Default implementation calls the attached control's corresponding method.
| Input |
| TEventParameter | $param | event parameter to be passed to the event handlers |
| Output |
| Exception |
|
onPreRender
This method is invoked when the control enters 'OnPreRender' stage.
Default implementation calls the attached control's corresponding method.
| Input |
| TEventParameter | $param | event parameter to be passed to the event handlers |
| Output |
| Exception |
|
onUnload
This method is invoked when the control enters 'OnUnload' stage.
Default implementation calls the attached control's corresponding method.
| Input |
| TEventParameter | $param | event parameter to be passed to the event handlers |
| Output |
| Exception |
|
render
This method is invoked when the control renders itself.
Default implementation calls the attached control's corresponding method.
| Input |
| THtmlWriter | $writer | writer for the rendering purpose |
| Output |
| Exception |
|
renderChildren
Renders the control's children.
Default implementation calls the attached control's corresponding method.
| Input |
| THtmlWriter | $writer | writer for the rendering purpose |
| Output |
| Exception |
|
saveState
Saves additional persistent control state.
Default implementation calls the attached control's corresponding method.
|
|