Enum Class Size

java.lang.Object
java.lang.Enum<Size>
org.patternfly.style.Size
All Implemented Interfaces:
Serializable, Comparable<Size>, Constable, TypedModifier

public enum Size extends Enum<Size> implements TypedModifier
  • Enum Constant Details

    • xs

      public static final Size xs
    • sm

      public static final Size sm
    • md

      public static final Size md
    • lg

      public static final Size lg
    • xl

      public static final Size xl
    • _2xl

      public static final Size _2xl
    • _3xl

      public static final Size _3xl
    • _4xl

      public static final Size _4xl
  • Method Details

    • values

      public static Size[] 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 Size 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
    • value

      public String value()
      Specified by:
      value in interface TypedModifier
    • modifier

      public String modifier()
      Specified by:
      modifier in interface TypedModifier