fop 0.94 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.fop.fo.properties.Property
org.apache.fop.fo.properties.NumberProperty
org.apache.fop.fo.properties.EnumNumber
public class EnumNumber
extends NumberProperty
Nested Class Summary |
Nested classes/interfaces inherited from class org.apache.fop.fo.properties.NumberProperty | |
NumberProperty.Maker |
Field Summary |
Method Summary | |
boolean |
|
int |
|
static EnumNumber |
|
double |
|
Object | |
String | |
int |
|
int |
|
Methods inherited from class org.apache.fop.fo.properties.NumberProperty | |
equals , getColor , getDimension , getInstance , getInstance , getInstance , getLength , getNumber , getNumeric , getNumericValue , getNumericValue , getObject , getValue , getValue , hashCode , isAbsolute |
Methods inherited from class org.apache.fop.fo.properties.Property | |
getCharacter , getColor , getCondLength , getEnum , getKeep , getLength , getLengthPair , getLengthRange , getList , getNCname , getNumber , getNumeric , getObject , getSpace , getSpecifiedValue , getString , isAuto , setSpecifiedValue , toString |
public boolean equals(Object obj)
- Overrides:
- equals in interface NumberProperty
- See Also:
java.lang.Object.equals(Object)
public int getEnum()
Return the enum value that is stored in this numeric.
public static EnumNumber getInstance(Property enumProperty)
Returns the canonical EnumNumber instance corresponding to the given Property
- Parameters:
enumProperty
- the base EnumProperty
- Returns:
- the canonical instance
public double getNumericValue()
Returns the value as numeric.
- Specified by:
- getNumericValue in interface Numeric
- Overrides:
- getNumericValue in interface NumberProperty
- Returns:
- the length in millipoints
public Object getObject()
- Overrides:
- getObject in interface NumberProperty
- See Also:
Property.getString()
public int getValue()
Returns the length in 1/1000ths of a point (millipoints)
- Overrides:
- getValue in interface NumberProperty
- Returns:
- the length in millipoints
public int hashCode()
- Overrides:
- hashCode in interface NumberProperty
- See Also:
java.lang.Object.hashCode()
fop 0.94 |