com.pdfjet
Enum CoreFont

java.lang.Object
  extended by java.lang.Enum<CoreFont>
      extended by com.pdfjet.CoreFont
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CoreFont>

public enum CoreFont
extends java.lang.Enum<CoreFont>

Used to select one of the 14 core fonts. See the Font class for more details.


Enum Constant Summary
COURIER
           
COURIER_BOLD
           
COURIER_BOLD_OBLIQUE
           
COURIER_OBLIQUE
           
HELVETICA
           
HELVETICA_BOLD
           
HELVETICA_BOLD_OBLIQUE
           
HELVETICA_OBLIQUE
           
SYMBOL
           
TIMES_BOLD
           
TIMES_BOLD_ITALIC
           
TIMES_ITALIC
           
TIMES_ROMAN
           
ZAPF_DINGBATS
           
 
Method Summary
static CoreFont valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CoreFont[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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 Detail

values

public static final CoreFont[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CoreFont c : CoreFont.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static CoreFont valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name