Enum Class FlexStyle.AlignSelf

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

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

    • AUTO

      public static final FlexStyle.AlignSelf AUTO
      Default. The element inherits its parent container's align-items property, or "stretch" if it has no parent container.
    • STRETCH

      public static final FlexStyle.AlignSelf STRETCH
      The element is positioned to fit the container.
    • CENTER

      public static final FlexStyle.AlignSelf CENTER
      The element is positioned at the center of the container.
    • FLEX_START

      public static final FlexStyle.AlignSelf FLEX_START
      The element is positioned at the beginning of the container.
    • FLEX_END

      public static final FlexStyle.AlignSelf FLEX_END
      The element is positioned at the end of the container.
    • BASELINE

      public static final FlexStyle.AlignSelf BASELINE
      The element is positioned at the baseline of the container.
    • INITIAL

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

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

    • values

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