|
fop 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CIDFontType>
org.apache.fop.fonts.CIDFontType
public enum CIDFontType
This class enumerates all supported CID font types.
| Enum Constant Summary | |
|---|---|
CIDTYPE0
CID Font Type 0 (based on Type 1 format) |
|
CIDTYPE2
CID Font Type 2 (based on TrueType format) |
|
| Method Summary | |
|---|---|
static CIDFontType |
byName(java.lang.String name)
Returns the CIDFontType by name. |
static CIDFontType |
byValue(int value)
Returns the CID FontType by value. |
java.lang.String |
getName()
|
int |
getValue()
|
static CIDFontType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CIDFontType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, 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 CIDFontType CIDTYPE0
public static final CIDFontType CIDTYPE2
| Method Detail |
|---|
public static CIDFontType[] values()
for (CIDFontType c : CIDFontType.values()) System.out.println(c);
public static CIDFontType 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
java.lang.NullPointerException - if the argument is nullpublic static CIDFontType byName(java.lang.String name)
name - Name of the CID font type to look up
public static CIDFontType byValue(int value)
value - Value of the CID font type to look up
public java.lang.String getName()
public int getValue()
|
fop 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||