Enum Class FlexStyle.FlexWrap

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

public static enum FlexStyle.FlexWrap extends Enum<FlexStyle.FlexWrap>
Specifies whether the flexible items should wrap or not.
  • Enum Constant Details

    • NOWRAP

      public static final FlexStyle.FlexWrap NOWRAP
      Default value. Specifies that the flexible items will not wrap.
    • WRAP

      public static final FlexStyle.FlexWrap WRAP
      Specifies that the flexible items will wrap if necessary.
    • WRAP_REVERSE

      public static final FlexStyle.FlexWrap WRAP_REVERSE
      Specifies that the flexible items will wrap, if necessary, in reverse order.
    • INITIAL

      public static final FlexStyle.FlexWrap INITIAL
    • INHERIT

      public static final FlexStyle.FlexWrap INHERIT
  • Method Details

    • values

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