self
From Documentation
Revision as of 04:52, 15 July 2010 by Maya001122 (talk | contribs) (Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/Component.html <javadoc type="interface">org.zkoss.zk.ui.Component</javadoc>] :<tt>setVis…')
This documentation is for an older version of ZK. For the latest one, please click here.
- setVisible : Sets whether this component is visible.
- setParent : Sets the parent component.
- removeChild : Removes a child.
Because self will be cast to evaluating component, therefore its api is not limited to Component.
For example
<tab label="OnDemand" onSelect="load(self.linkedPanel)"/>
linkedPanel is mapping to getLinkedPanel of Tab.java