Class ResponsiveGridLayout.OrderValue

java.lang.Object
io.jmix.ui.component.ResponsiveGridLayout.OrderValue
Enclosing interface:
ResponsiveGridLayout

public static class ResponsiveGridLayout.OrderValue extends Object
Class containing information for controlling the visual order of a column. Also contains pre-instantiated constants for the special values.

Corresponds to the .order-* styles.

See Also:
  • Field Details

    • FIRST

      public static ResponsiveGridLayout.OrderValue FIRST
      The instance of ResponsiveGridLayout.OrderValue that represents a special order value 'first'. Behaves like the order is -1. This means that a column with this order value will be placed at the very first position even if there are columns with order 0.

      Corresponds to the .order-first style.

    • LAST

      public static ResponsiveGridLayout.OrderValue LAST
      The instance of ResponsiveGridLayout.OrderValue that represents a special order value 'last'. Behaves like the order is 13. This means that a column with this order value will be placed at the very last position even if there are columns with order 12.

      Corresponds to the .order-last style.

    • order

      protected Integer order
    • value

      protected String value
  • Constructor Details

    • OrderValue

      public OrderValue(int order)
    • OrderValue

      public OrderValue(String value)
    • OrderValue

      protected OrderValue(@Nullable Integer order, @Nullable String value)
  • Method Details