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:
public interface UIInternalUpdater extends 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
All Methods Modifier and Type Method Description default 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 Detail
-
updateRoot
default void updateRoot(UI ui, HasElement oldRoot, HasElement newRoot)
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
-
-