Class FlexLayoutHelpers


  • public class FlexLayoutHelpers
    extends Object
    Utility class to make creating FlexLayouts easier.
    Since:
    2021-09-03
    Author:
    miki
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.vaadin.flow.component.orderedlayout.FlexLayout column()
      Returns a FlexLayout with FlexLayout.FlexDirection.COLUMN direction.
      static com.vaadin.flow.component.orderedlayout.FlexLayout columnReverse()
      Returns a FlexLayout with FlexLayout.FlexDirection.COLUMN_REVERSE direction.
      static HeaderFooterLayoutWrapper<com.vaadin.flow.component.orderedlayout.FlexLayout,​com.vaadin.flow.component.orderedlayout.FlexLayout,​com.vaadin.flow.component.orderedlayout.FlexLayout,​com.vaadin.flow.component.orderedlayout.FlexLayout> columnWithHeaderRowAndFooterRow()
      Returns a FlexLayout-based HeaderFooterLayoutWrapper, where main alignment and body are columns, and header and footer are rows.
      static com.vaadin.flow.component.orderedlayout.FlexLayout row()
      Returns a FlexLayout with FlexLayout.FlexDirection.ROW direction.
      static com.vaadin.flow.component.orderedlayout.FlexLayout rowReverse()
      Returns a FlexLayout with FlexLayout.FlexDirection.ROW_REVERSE direction.
    • Method Detail

      • row

        public static com.vaadin.flow.component.orderedlayout.FlexLayout row()
        Returns a FlexLayout with FlexLayout.FlexDirection.ROW direction.
        Returns:
        A FlexLayout.
      • column

        public static com.vaadin.flow.component.orderedlayout.FlexLayout column()
        Returns a FlexLayout with FlexLayout.FlexDirection.COLUMN direction.
        Returns:
        A FlexLayout.
      • rowReverse

        public static com.vaadin.flow.component.orderedlayout.FlexLayout rowReverse()
        Returns a FlexLayout with FlexLayout.FlexDirection.ROW_REVERSE direction.
        Returns:
        A FlexLayout.
      • columnReverse

        public static com.vaadin.flow.component.orderedlayout.FlexLayout columnReverse()
        Returns a FlexLayout with FlexLayout.FlexDirection.COLUMN_REVERSE direction.
        Returns:
        A FlexLayout.
      • columnWithHeaderRowAndFooterRow

        public static HeaderFooterLayoutWrapper<com.vaadin.flow.component.orderedlayout.FlexLayout,​com.vaadin.flow.component.orderedlayout.FlexLayout,​com.vaadin.flow.component.orderedlayout.FlexLayout,​com.vaadin.flow.component.orderedlayout.FlexLayout> columnWithHeaderRowAndFooterRow()
        Returns a FlexLayout-based HeaderFooterLayoutWrapper, where main alignment and body are columns, and header and footer are rows.
        Returns:
        A HeaderFooterLayoutWrapper.