Enum Class FlexStyle.AlignItems

java.lang.Object
java.lang.Enum<FlexStyle.AlignItems>
com.spinyowl.legui.style.flex.FlexStyle.AlignItems
All Implemented Interfaces:
Serializable, Comparable<FlexStyle.AlignItems>, Constable
Enclosing class:
FlexStyle

public static enum FlexStyle.AlignItems extends Enum<FlexStyle.AlignItems>
Specifies the alignment for items inside a flexible container.
  • Enum Constant Details

    • AUTO

      public static final FlexStyle.AlignItems AUTO
    • STRETCH

      public static final FlexStyle.AlignItems STRETCH
      Default. Items are stretched to fit the container.
    • CENTER

      public static final FlexStyle.AlignItems CENTER
      Items are positioned at the center of the container.
    • FLEX_START

      public static final FlexStyle.AlignItems FLEX_START
      Items are positioned at the beginning of the container.
    • FLEX_END

      public static final FlexStyle.AlignItems FLEX_END
      Items are positioned at the end of the container.
    • BASELINE

      public static final FlexStyle.AlignItems BASELINE
      Items are positioned at the baseline of the container.
    • INITIAL

      public static final FlexStyle.AlignItems INITIAL
      Sets this property to its default value.
    • INHERIT

      public static final FlexStyle.AlignItems INHERIT
      Inherits this property from its parent element..
  • Method Details

    • values

      public static FlexStyle.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 FlexStyle.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