Class FlexLayoutHelpers

java.lang.Object
org.vaadin.miki.superfields.layouts.FlexLayoutHelpers

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

    Modifier and Type
    Method
    Description
    static com.vaadin.flow.component.orderedlayout.FlexLayout
    Returns a FlexLayout with FlexLayout.FlexDirection.COLUMN direction.
    static com.vaadin.flow.component.orderedlayout.FlexLayout
    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>
    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
    Returns a FlexLayout with FlexLayout.FlexDirection.ROW_REVERSE direction.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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.