|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.Enum
org.apache.avalon.framework.ValuedEnum
org.apache.fop.fonts.FontType
public class FontType
This class enumerates all supported font types.
Field Summary | |
---|---|
static FontType |
MMTYPE1
Adobe Multiple Master Type 1 fonts |
static FontType |
OTHER
Collective identifier for "other" font types |
static FontType |
TRUETYPE
TrueType fonts |
static FontType |
TYPE0
Adobe Type 0 fonts (composite font) |
static FontType |
TYPE1
Adobe Type 1 fonts |
static FontType |
TYPE3
Adobe Type 3 fonts ("user-defined" fonts) |
Constructor Summary | |
---|---|
protected |
FontType(java.lang.String name,
int value)
|
Method Summary | |
---|---|
static FontType |
byName(java.lang.String name)
Returns the FontType by name. |
static FontType |
byValue(int value)
Returns the FontType by value. |
Methods inherited from class org.apache.avalon.framework.ValuedEnum |
---|
equals, getValue, hashCode, isEqualTo, isGreaterThan, isGreaterThanOrEqual, isLessThan, isLessThanOrEqual, toString |
Methods inherited from class org.apache.avalon.framework.Enum |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final FontType OTHER
public static final FontType TYPE0
public static final FontType TYPE1
public static final FontType MMTYPE1
public static final FontType TYPE3
public static final FontType TRUETYPE
Constructor Detail |
---|
protected FontType(java.lang.String name, int value)
Enum.Enum(String)
Method Detail |
---|
public static FontType byName(java.lang.String name)
name
- Name of the font type to look up
public static FontType byValue(int value)
value
- Value of the font type to look up
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |