Class VHorizontalLayout

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent

        com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment, com.vaadin.flow.component.orderedlayout.FlexComponent.JustifyContentMode
    • Constructor Detail

      • VHorizontalLayout

        public VHorizontalLayout()
      • VHorizontalLayout

        public VHorizontalLayout​(com.vaadin.flow.component.Component... children)
    • Method Detail

      • alignAll

        public VHorizontalLayout alignAll​(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)
      • withDefaultVerticalComponentAlignment

        public VHorizontalLayout withDefaultVerticalComponentAlignment​(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)
      • withJustifyContentMode

        public VHorizontalLayout withJustifyContentMode​(com.vaadin.flow.component.orderedlayout.FlexComponent.JustifyContentMode justifyContentMode)
      • withComponent

        public VHorizontalLayout withComponent​(com.vaadin.flow.component.Component component)
      • withComponent

        public VHorizontalLayout withComponent​(com.vaadin.flow.component.Component component,
                                               com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)
      • withExpanded

        public VHorizontalLayout withExpanded​(com.vaadin.flow.component.Component... components)
      • withAlignItems

        public VHorizontalLayout withAlignItems​(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)
      • withAlignSelf

        public VHorizontalLayout withAlignSelf​(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment,
                                               com.vaadin.flow.component.HasElement... elementContainers)
      • withFlexGrow

        public VHorizontalLayout withFlexGrow​(double flexGrow,
                                              com.vaadin.flow.component.HasElement... elementContainers)
      • withExpand

        public VHorizontalLayout withExpand​(com.vaadin.flow.component.Component... componentsToExpand)
      • space

        public VHorizontalLayout space()
        Adds a spacer component that consumes all available space. Handy for example to add components to both ends of a row, but leave space between them.
        Returns:
        self with the spacer