Class FlexLayoutHelpers
- java.lang.Object
-
- org.vaadin.miki.superfields.layouts.FlexLayoutHelpers
-
public class FlexLayoutHelpers extends Object
Utility class to make creatingFlexLayouts 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.FlexLayoutcolumn()Returns aFlexLayoutwithFlexLayout.FlexDirection.COLUMNdirection.static com.vaadin.flow.component.orderedlayout.FlexLayoutcolumnReverse()Returns aFlexLayoutwithFlexLayout.FlexDirection.COLUMN_REVERSEdirection.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 aFlexLayout-basedHeaderFooterLayoutWrapper, where main alignment and body are columns, and header and footer are rows.static com.vaadin.flow.component.orderedlayout.FlexLayoutrow()Returns aFlexLayoutwithFlexLayout.FlexDirection.ROWdirection.static com.vaadin.flow.component.orderedlayout.FlexLayoutrowReverse()Returns aFlexLayoutwithFlexLayout.FlexDirection.ROW_REVERSEdirection.
-
-
-
Method Detail
-
row
public static com.vaadin.flow.component.orderedlayout.FlexLayout row()
Returns aFlexLayoutwithFlexLayout.FlexDirection.ROWdirection.- Returns:
- A
FlexLayout.
-
column
public static com.vaadin.flow.component.orderedlayout.FlexLayout column()
Returns aFlexLayoutwithFlexLayout.FlexDirection.COLUMNdirection.- Returns:
- A
FlexLayout.
-
rowReverse
public static com.vaadin.flow.component.orderedlayout.FlexLayout rowReverse()
Returns aFlexLayoutwithFlexLayout.FlexDirection.ROW_REVERSEdirection.- Returns:
- A
FlexLayout.
-
columnReverse
public static com.vaadin.flow.component.orderedlayout.FlexLayout columnReverse()
Returns aFlexLayoutwithFlexLayout.FlexDirection.COLUMN_REVERSEdirection.- 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 aFlexLayout-basedHeaderFooterLayoutWrapper, where main alignment and body are columns, and header and footer are rows.- Returns:
- A
HeaderFooterLayoutWrapper.
-
-