Enum Class Style.DisplayType

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

public static enum Style.DisplayType extends Enum<Style.DisplayType>
Css display type.
  • Enum Constant Details

    • FLEX

      public static final Style.DisplayType FLEX
      Flex display means that it is parent for flex child.
    • MANUAL

      public static final Style.DisplayType MANUAL
      Manual display type.
    • NONE

      public static final Style.DisplayType NONE
      None display means that component with such style will not be rendered and used during laying out.
  • Method Details

    • values

      public static Style.DisplayType[] 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 Style.DisplayType 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