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.ui.
Class ComponentRootSetter
- java.lang.Object
-
- com.vaadin.ui.ComponentRootSetter
-
All Implemented Interfaces:
public class ComponentRootSetter extends Object implements Serializable
Internal utility class.
Since:
8.1
Author:
Vaadin Ltd
See Also:
-
-
Method Summary
All Methods Modifier and Type Method Description static boolean
canSetRoot(Component customComponent)
Checks if the given custom component or composite may accept a root component.
static void
setRoot(Component customComponent, Component component)
Sets the composition root for the given custom component or composite.
-
-
-
Method Detail
-
setRoot
public static void setRoot(Component customComponent, Component component)
Sets the composition root for the given custom component or composite.
For internal use only.
Parameters:
customComponent
- the custom component or compositecomponent
- the component to assign as composition root
-
canSetRoot
public static boolean canSetRoot(Component customComponent)
Checks if the given custom component or composite may accept a root component.
For internal use only.
Parameters:
customComponent
- the custom component or compositeReturns:
Since:
8.4
-
-