on 2005 Jun 01 1:45 PM
What is the difference between Destroy and remove:
IWDTransparentContainer container =(IWDTransparentContainer) view.getElement("RootUIElementContainer");
container.destroyAllChildren();
...
container.removeAllChildren();
Thank you
Joseph
"Destroy" completely kills UI control and clean-up it internal state. After destroy UI controls are unusable and subject of GC.
"Remove" simply take component off from its parent. You may add control afterwads to another parent (event the same one -- think about swaping controls sequence).
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.