| org.zkoss.zk.ui.ext.Macro
All known Subclasses: org.zkoss.zk.ui.HtmlMacroComponent, org.zkoss.zml.XmlMacroComponent,
Method Summary | |
public boolean | isInline() Returns whether this is an inline macro. | public void | recreate() Detaches all child components and then recreate them by use of
Macro.afterCompose . | public void | setMacroURI(String uri) Sets the macro URI.
It affects only this component.
Note: this method calls
Macro.recreate automatically
if uri is changed.
Parameters: uri - the URI of this macro. |
recreate | public void recreate()(Code) | | Detaches all child components and then recreate them by use of
Macro.afterCompose .
It is used if you have assigned new values to dynamical properties
and want to re-create child components to reflect the new values.
Note: it is convenient but the performance is better if you can manipulate
only the child components that need to be changed.
Refer to the Developer's Guide for details.
|
setMacroURI | public void setMacroURI(String uri)(Code) | | Sets the macro URI.
It affects only this component.
Note: this method calls
Macro.recreate automatically
if uri is changed.
Parameters: uri - the URI of this macro. If null, the default is used. |
|
|