Enum Class IconSize

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

public enum IconSize extends Enum<IconSize> implements org.patternfly.style.TypedModifier
  • Enum Constant Details

    • sm

      public static final IconSize sm
    • md

      public static final IconSize md
    • lg

      public static final IconSize lg
    • xl

      public static final IconSize xl
    • _2xl

      public static final IconSize _2xl
    • _3xl

      public static final IconSize _3xl
    • bodySm

      public static final IconSize bodySm
    • bodyDefault

      public static final IconSize bodyDefault
    • bodyLg

      public static final IconSize bodyLg
    • headingSm

      public static final IconSize headingSm
    • headingLg

      public static final IconSize headingLg
    • headingMd

      public static final IconSize headingMd
    • headingXl

      public static final IconSize headingXl
    • heading2xl

      public static final IconSize heading2xl
    • heading3xl

      public static final IconSize heading3xl
  • Method Details

    • values

      public static IconSize[] 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 IconSize 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 org.patternfly.style.TypedModifier
    • modifier

      public String modifier()
      Specified by:
      modifier in interface org.patternfly.style.TypedModifier