java.lang.Objectjava.lang.Enum<CoreFont>
com.pdfjet.CoreFont
public enum CoreFont
Used to select one of the 14 core fonts. See the Font class for more details.
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 |
---|
public static final CoreFont COURIER
public static final CoreFont COURIER_BOLD
public static final CoreFont COURIER_OBLIQUE
public static final CoreFont COURIER_BOLD_OBLIQUE
public static final CoreFont HELVETICA
public static final CoreFont HELVETICA_BOLD
public static final CoreFont HELVETICA_OBLIQUE
public static final CoreFont HELVETICA_BOLD_OBLIQUE
public static final CoreFont TIMES_ROMAN
public static final CoreFont TIMES_BOLD
public static final CoreFont TIMES_ITALIC
public static final CoreFont TIMES_BOLD_ITALIC
public static final CoreFont SYMBOL
public static final CoreFont ZAPF_DINGBATS
Method Detail |
---|
public static final CoreFont[] values()
for(CoreFont c : CoreFont.values()) System.out.println(c);
public static CoreFont valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name