|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Macro
Implemented with Component to represent
a macro component.
| Method Summary | |
|---|---|
boolean |
isInline()
Returns whether this is an inline macro. |
void |
recreate()
Detaches all child components and then recreate them by use of AfterCompose.afterCompose(). |
void |
setMacroURI(java.lang.String uri)
Sets the macro URI. |
| Methods inherited from interface org.zkoss.zk.ui.ext.AfterCompose |
|---|
afterCompose |
| Methods inherited from interface org.zkoss.zk.ui.IdSpace |
|---|
getFellow, getFellowIfAny |
| Methods inherited from interface org.zkoss.zk.ui.ext.DynamicPropertied |
|---|
getDynamicProperty, hasDynamicProperty, setDynamicProperty |
| Method Detail |
|---|
void setMacroURI(java.lang.String uri)
Note: this method calls recreate() automatically
if uri is changed.
uri - the URI of this macro. If null, the default is used.void recreate()
AfterCompose.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.
boolean isInline()
ComponentDefinition.newInstance(org.zkoss.zk.ui.Page, java.lang.String).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||