public class ComponentRootSetter extends Object implements Serializable
| Modifier and Type | Method and 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.
|
public static void setRoot(Component customComponent, Component component)
For internal use only.
customComponent - the custom component or compositecomponent - the component to assign as composition rootpublic static boolean canSetRoot(Component customComponent)
For internal use only.
customComponent - the custom component or compositeCopyright © 2021 Vaadin Ltd. All rights reserved.