We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.internal.
Interface UIInternalUpdater
All Superinterfaces:
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
-