Enum Class FontUtil.FontTypes

java.lang.Object
java.lang.Enum<FontUtil.FontTypes>
com.dua3.utility.text.FontUtil.FontTypes
All Implemented Interfaces:
Serializable, Comparable<FontUtil.FontTypes>, Constable
Enclosing interface:
FontUtil<F>

public static enum FontUtil.FontTypes extends Enum<FontUtil.FontTypes>
Font type enumeration.
  • Enum Constant Details

    • PROPORTIONAL

      public static final FontUtil.FontTypes PROPORTIONAL
      Enum value for proportional fonts.
    • MONOSPACED

      public static final FontUtil.FontTypes MONOSPACED
      Enum value for monospaced fonts.
    • ALL

      public static final FontUtil.FontTypes ALL
      Enum value for all fonts.
  • Method Details

    • values

      public static FontUtil.FontTypes[] 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 FontUtil.FontTypes 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