Package org.zkoss.zk.ui
Class HtmlBasedComponent.ExtraCtrl
- java.lang.Object
-
- org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
-
- All Implemented Interfaces:
PrologAllowed
- Enclosing class:
- HtmlBasedComponent
protected class HtmlBasedComponent.ExtraCtrl extends java.lang.Object implements PrologAllowed
A utility class to implementHtmlBasedComponent.getExtraCtrl()
. It is used only by component developers.If a component requires more client controls, it is suggested to override
HtmlBasedComponent.getExtraCtrl()
to return an instance that extends from this class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExtraCtrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setPrologContent(java.lang.String prolog)
Sets the prolog content.
-
-
-
Method Detail
-
setPrologContent
public void setPrologContent(java.lang.String prolog)
Description copied from interface:PrologAllowed
Sets the prolog content. It is the content generated before the child components, if any.Default: none.
Note: the prolog is one-shot only. Once the component is generated, the prolog is gone.
- Specified by:
setPrologContent
in interfacePrologAllowed
-
-