public interface HasLegacyComponents
extends com.vaadin.flow.component.HasElement
| Modifier and Type | Method and Description |
|---|---|
default void |
add(com.vaadin.ui.Component... components)
Adds the given legacy components as children of this component.
|
default AbstractLegacyWrapper |
getLegacyWrapper(com.vaadin.ui.Component component)
Get a LegacyWrapper implementation for the used MPR version.
|
default void |
remove(com.vaadin.ui.Component... components)
Removes the given child legacy components from this component.
|
default void |
removeAllLegacyComponents()
Removes all legacy components added to this component.
|
default void add(com.vaadin.ui.Component... components)
components - the components to adddefault AbstractLegacyWrapper getLegacyWrapper(com.vaadin.ui.Component component)
component - legacy component to wrapdefault void remove(com.vaadin.ui.Component... components)
components - the components to removedefault void removeAllLegacyComponents()
Copyright © 2018–2023 Vaadin Ltd. All rights reserved.