Enum Class FontName

java.lang.Object
java.lang.Enum<FontName>
com.teamten.font.FontName
All Implemented Interfaces:
Serializable, Comparable<FontName>, Constable

public enum FontName extends Enum<FontName>
Represents the individual fonts that we know about and where to find them.
  • Enum Constant Details

    • TIMES_NEW_ROMAN

      public static final FontName TIMES_NEW_ROMAN
    • TIMES_NEW_ROMAN_BOLD

      public static final FontName TIMES_NEW_ROMAN_BOLD
    • TIMES_NEW_ROMAN_ITALIC

      public static final FontName TIMES_NEW_ROMAN_ITALIC
    • TIMES_NEW_ROMAN_BOLD_ITALIC

      public static final FontName TIMES_NEW_ROMAN_BOLD_ITALIC
    • COURIER_NEW

      public static final FontName COURIER_NEW
    • COURIER_NEW_BOLD

      public static final FontName COURIER_NEW_BOLD
    • COURIER_NEW_ITALIC

      public static final FontName COURIER_NEW_ITALIC
    • COURIER_NEW_BOLD_ITALIC

      public static final FontName COURIER_NEW_BOLD_ITALIC
    • ROBOTO_MONO_THIN

      public static final FontName ROBOTO_MONO_THIN
    • ROBOTO_MONO_THIN_ITALIC

      public static final FontName ROBOTO_MONO_THIN_ITALIC
    • ROBOTO_MONO_LIGHT

      public static final FontName ROBOTO_MONO_LIGHT
    • ROBOTO_MONO_LIGHT_ITALIC

      public static final FontName ROBOTO_MONO_LIGHT_ITALIC
    • ROBOTO_MONO

      public static final FontName ROBOTO_MONO
    • ROBOTO_MONO_ITALIC

      public static final FontName ROBOTO_MONO_ITALIC
    • ROBOTO_MONO_MEDIUM

      public static final FontName ROBOTO_MONO_MEDIUM
    • ROBOTO_MONO_MEDIUM_ITALIC

      public static final FontName ROBOTO_MONO_MEDIUM_ITALIC
    • ROBOTO_MONO_BOLD

      public static final FontName ROBOTO_MONO_BOLD
    • ROBOTO_MONO_BOLD_ITALIC

      public static final FontName ROBOTO_MONO_BOLD_ITALIC
    • MINION

      public static final FontName MINION
    • MINION_BOLD

      public static final FontName MINION_BOLD
    • MINION_ITALIC

      public static final FontName MINION_ITALIC
    • MINION_BOLD_ITALIC

      public static final FontName MINION_BOLD_ITALIC
    • MINION_SMALL_CAPS

      public static final FontName MINION_SMALL_CAPS
    • HELVETICA_NEUE_ULTRA_LIGHT

      public static final FontName HELVETICA_NEUE_ULTRA_LIGHT
    • ALEGREYA_REGULAR

      public static final FontName ALEGREYA_REGULAR
    • ALEGREYA_ITALIC

      public static final FontName ALEGREYA_ITALIC
    • ALEGREYA_SMALL_CAPS

      public static final FontName ALEGREYA_SMALL_CAPS
    • IM_FELL_ENGLISH_REGULAR

      public static final FontName IM_FELL_ENGLISH_REGULAR
    • IM_FELL_ENGLISH_ITALIC

      public static final FontName IM_FELL_ENGLISH_ITALIC
    • IM_FELL_ENGLISH_SMALL_CAPS

      public static final FontName IM_FELL_ENGLISH_SMALL_CAPS
    • SORTS_MILL_GOUDY_REGULAR

      public static final FontName SORTS_MILL_GOUDY_REGULAR
    • SORTS_MILL_GOUDY_ITALIC

      public static final FontName SORTS_MILL_GOUDY_ITALIC
  • Method Details

    • values

      public static FontName[] 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 FontName 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
    • getFile

      public File getFile()