Class TWebControlAdapter
TWebControlAdapter class
TWebControlAdapter is the base class for adapters that customize rendering for the Web control to which the adapter is attached. It may be used to modify the default markup or behavior for specific browsers.
Method Summary |
void
|
Renders the control to which the adapter is attached.
|
void
|
Renders the openning tag for the attached control.
|
void
|
Renders the body contents within the attached control tag.
|
void
|
Renders the closing tag for the attached control.
|
Methods Inherited From TControlAdapter |
TControlAdapter::createChildControls(), TControlAdapter::getControl(), TControlAdapter::getPage(), TControlAdapter::loadState(), TControlAdapter::onInit(), TControlAdapter::onLoad(), TControlAdapter::onPreRender(), TControlAdapter::onUnload(), TControlAdapter::render(), TControlAdapter::renderChildren(), TControlAdapter::saveState()
|
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()
|
Method Details |
render
Renders the control to which the adapter is attached.
It calls renderBeginTag, renderContents and renderEndTag in order.
Input |
THtmlWriter | $writer | writer for the rendering purpose |
Output |
Exception |
|
renderBeginTag
Renders the openning tag for the attached control.
Default implementation calls the attached control's corresponding method.
Input |
THtmlWriter | $writer | writer for the rendering purpose |
Output |
Exception |
|
renderContents
Renders the body contents within the attached control tag.
Default implementation calls the attached control's corresponding method.
Input |
THtmlWriter | $writer | writer for the rendering purpose |
Output |
Exception |
|
renderEndTag
Renders the closing tag for the attached control.
Default implementation calls the attached control's corresponding method.
Input |
THtmlWriter | $writer | writer for the rendering purpose |
Output |
Exception |
|
|