Enum Class ResponsiveGridLayout.AlignItems

java.lang.Object
java.lang.Enum<ResponsiveGridLayout.AlignItems>
io.jmix.ui.component.ResponsiveGridLayout.AlignItems
All Implemented Interfaces:
Serializable, Comparable<ResponsiveGridLayout.AlignItems>, Constable
Enclosing interface:
ResponsiveGridLayout

public static enum ResponsiveGridLayout.AlignItems extends Enum<ResponsiveGridLayout.AlignItems>
Represents the default behavior for how flex items are laid out along the cross axis on the current row.

Corresponds to the align-items CSS attribute.

See Also:
  • Enum Constant Details

    • START

      public static final ResponsiveGridLayout.AlignItems START
      Items are placed at the start of the cross axis.

      Corresponds to the .align-items-start style.

    • CENTER

      public static final ResponsiveGridLayout.AlignItems CENTER
      Items are centered in the cross-axis.

      Corresponds to the .align-items-center style.

    • END

      public static final ResponsiveGridLayout.AlignItems END
      Items are placed at the end of the cross axis.

      Corresponds to the .align-items-end style.

    • BASELINE

      public static final ResponsiveGridLayout.AlignItems BASELINE
      Items are aligned such as their baselines align.

      Corresponds to the .align-items-baseline style.

    • STRETCH

      public static final ResponsiveGridLayout.AlignItems STRETCH
      Stretch to fill the container.

      Corresponds to the .align-items-stretch style.

  • Method Details

    • values

      public static ResponsiveGridLayout.AlignItems[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ResponsiveGridLayout.AlignItems valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null