Package org.vaadin.firitin.fluency.ui
Interface FluentHasComponents<S extends FluentHasComponents<S>>
- All Superinterfaces:
com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasComponentsOfType<com.vaadin.flow.component.Component>,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,Serializable
- All Known Subinterfaces:
FluentHtmlContainer<S>
- All Known Implementing Classes:
ConfirmationDialog,HorizontalFloatLayout,VAnchor,VArticle,VAside,VCode,VDescriptionList,VDialog,VDiv,VEmphasis,VFlexLayout,VFooter,VFormLayout,VH1,VH2,VH3,VH4,VH5,VH6,VHeader,VHorizontalLayout,VHr,VImage,VListItem,VMain,VNativeButton,VNav,VNotification,VOrderedList,VParagaph,VSection,VSelect,VSpan,VTab,VTabs,VUnorderedList,VVerticalLayout
public interface FluentHasComponents<S extends FluentHasComponents<S>>
extends com.vaadin.flow.component.HasComponents
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stream<com.vaadin.flow.component.Component> children()default Stream<com.vaadin.flow.component.Component> default SwithComponentAsFirst(com.vaadin.flow.component.Component component) default SwithComponentAtIndex(int index, com.vaadin.flow.component.Component component) default SwithComponents(com.vaadin.flow.component.Component... components) Methods inherited from interface com.vaadin.flow.component.HasComponents
addMethods inherited from interface com.vaadin.flow.component.HasComponentsOfType
add, add, addComponentAsFirst, addComponentAtIndex, bindChildren, getChildren, getComponentAt, getComponentCount, indexOf, remove, remove, removeAll, replaceMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabled
-
Method Details
-
withComponents
-
withComponentAsFirst
-
withComponentAtIndex
-
children
- Returns:
- all child components, including ones nested in wrappers that don't
implement
HasComponentsand virtual children (slotted components, overlays). Backed byComponentUtil.getAllChildren(Component).
-
descendants
- Returns:
- all descendant components (not including this one) in pre-order,
including virtual children. Backed by
ComponentUtil.streamDescendants(Component).
-