Enum Class CoreFont

java.lang.Object
java.lang.Enum<CoreFont>
net.atthegate.server.service.pdf.CoreFont
All Implemented Interfaces:
Serializable, Comparable<CoreFont>, Constable

public enum CoreFont extends Enum<CoreFont>
Used to select one of the 14 core fonts. See the Font class for more details.
  • Enum Constant Details

    • COURIER

      public static final CoreFont COURIER
    • COURIER_BOLD

      public static final CoreFont COURIER_BOLD
    • COURIER_OBLIQUE

      public static final CoreFont COURIER_OBLIQUE
    • COURIER_BOLD_OBLIQUE

      public static final CoreFont COURIER_BOLD_OBLIQUE
    • HELVETICA

      public static final CoreFont HELVETICA
    • HELVETICA_BOLD

      public static final CoreFont HELVETICA_BOLD
    • HELVETICA_OBLIQUE

      public static final CoreFont HELVETICA_OBLIQUE
    • HELVETICA_BOLD_OBLIQUE

      public static final CoreFont HELVETICA_BOLD_OBLIQUE
    • TIMES_ROMAN

      public static final CoreFont TIMES_ROMAN
    • TIMES_BOLD

      public static final CoreFont TIMES_BOLD
    • TIMES_ITALIC

      public static final CoreFont TIMES_ITALIC
    • TIMES_BOLD_ITALIC

      public static final CoreFont TIMES_BOLD_ITALIC
    • SYMBOL

      public static final CoreFont SYMBOL
    • ZAPF_DINGBATS

      public static final CoreFont ZAPF_DINGBATS
  • Method Details

    • values

      public static CoreFont[] 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 CoreFont 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