|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShadowElement
A shadow element can allow to have a set of shadow elements to work with a component tree and it can also support with ZK MVVM to dynamically change the content of a shadow element.
Method Summary | ||
---|---|---|
void |
detach()
Detach the relation points between the shadow host and this shadow element. |
|
|
getDistributedChildren()
Returns a list of distributed components of the shadow tree, including its descendant. |
|
Component |
getShadowHost()
Returns the owner component that hosts this shadow element. |
|
void |
recreate()
Detaches all child components and then recreate them. |
Methods inherited from interface org.zkoss.zk.ui.ext.AfterCompose |
---|
afterCompose |
Method Detail |
---|
Component getShadowHost()
<T extends Component> java.util.List<T> getDistributedChildren()
It's better to manipulate with the component children from the host component.
void detach()
void recreate()
It is used if you have assigned new values to dynamic properties and want to re-create child components to reflect the new values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |