Package com.storedobject.vaadin
Interface ComponentSlot
- All Superinterfaces:
com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,Serializable
public interface ComponentSlot
extends com.vaadin.flow.component.HasComponents
A component container that supports slotted components.
- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidAdd a component at a given slot.default voidSet a component at a given slot (old one if any at the same slot will be removed).Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
-
Method Details
-
add
Add a component at a given slot.- Parameters:
component- Component to add.slot- Slot name.
-
set
Set a component at a given slot (old one if any at the same slot will be removed).- Parameters:
component- Component to set.slot- Slot name.
-