|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.traits.TraitEnum
public abstract class TraitEnum
Base class for enumeration classes representing traits.
Constructor Summary | |
---|---|
protected |
TraitEnum(java.lang.String name,
int enumValue)
Constructor to add a new named item. |
Method Summary | |
---|---|
int |
getEnumValue()
Returns the enumeration value (one of Constants .EN_*). |
java.lang.String |
getName()
Returns the name of the enumeration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TraitEnum(java.lang.String name, int enumValue)
name
- Name of the item.enumValue
- the Constants
.EN_* valueMethod Detail |
---|
public java.lang.String getName()
public int getEnumValue()
Constants
.EN_*).
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |