Interface UIInternalUpdater
- All Superinterfaces:
Serializable
The implementation of this interface is responsible for updating the UI with
given content.
For internal use only. May be renamed or removed in a future release.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
moveToNewUI
(UI oldUI, UI newUI) Move all the children from the old UI to the new UI.default void
updateRoot
(UI ui, HasElement oldRoot, HasElement newRoot) Update root element of the given UI.
-
Method Details
-
updateRoot
Update root element of the given UI.- Parameters:
ui
- the UI to be updatedoldRoot
- the old root to be removednewRoot
- the new root to be added
-
moveToNewUI
Move all the children from the old UI to the new UI.- Parameters:
oldUI
- the old UI whose children will be transferred to new UInewUI
- the new UI where children of the old UI will be landed
-