Package org.apache.pdfbox.pdmodel.font
Enum Standard14Fonts.FontName
- All Implemented Interfaces:
Serializable,Comparable<Standard14Fonts.FontName>,java.lang.constant.Constable
- Enclosing class:
Standard14Fonts
Enum for the names of the 14 standard fonts.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()toString()static Standard14Fonts.FontNameReturns the enum constant of this type with the specified name.static Standard14Fonts.FontName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TIMES_ROMAN
-
TIMES_BOLD
-
TIMES_ITALIC
-
TIMES_BOLD_ITALIC
-
HELVETICA
-
HELVETICA_BOLD
-
HELVETICA_OBLIQUE
-
HELVETICA_BOLD_OBLIQUE
-
COURIER
-
COURIER_BOLD
-
COURIER_OBLIQUE
-
COURIER_BOLD_OBLIQUE
-
SYMBOL
-
ZAPF_DINGBATS
-
-
Field Details
-
name
-
-
Constructor Details
-
FontName
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
-
toString
- Overrides:
toStringin classEnum<Standard14Fonts.FontName>
-