Enum Class FontSize

All Implemented Interfaces:
Serializable, Comparable<FontSize>, Constable

public enum FontSize extends Enum<FontSize>
The font size.
  • Enum Constant Details

    • XXSmall

      public static final FontSize XXSmall
      Extra Extra small.
    • XSmall

      public static final FontSize XSmall
      Extra small.
    • Small

      public static final FontSize Small
    • Medium

      public static final FontSize Medium
      Medium, default.
    • Large

      public static final FontSize Large
    • XLarge

      public static final FontSize XLarge
      Extra large.
    • XXLarge

      public static final FontSize XXLarge
      Extra Extra large.
    • Smaller

      public static final FontSize Smaller
      Relatively smaller than the parent widget.
    • Larger

      public static final FontSize Larger
      Relatively larger than the parent widget.
    • FixedSize

      public static final FontSize FixedSize
      Explicit size, See also fontFixedSize()
  • Method Details

    • values

      public static FontSize[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FontSize 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.