org.apache.fop.fo.properties
public class EnumLength extends LengthProperty
LengthProperty.Maker| Constructor and Description |
|---|
EnumLength(Property enumProperty) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEnum()
This method expects to be overridden by subclasses
|
double |
getNumericValue()
Return the value of this Numeric
|
double |
getNumericValue(PercentBaseContext context)
Return the value of this Numeric
|
java.lang.Object |
getObject()
This method expects to be overridden by subclasses
|
java.lang.String |
getString()
This method expects to be overridden by subclasses.
|
int |
getValue()
Returns the length in 1/1000ths of a point (millipoints)
|
int |
getValue(PercentBaseContext context)
Returns the length in 1/1000ths of a point (millipoints)
|
boolean |
isAbsolute()
Return true if the numeric is an absolute value.
|
getDimension, getLength, getNumeric, getTableUnitsgetCharacter, getColor, getCondLength, getKeep, getLengthPair, getLengthRange, getList, getNCname, getNumber, getSpace, getSpecifiedValue, isAuto, setSpecifiedValue, toStringpublic EnumLength(Property enumProperty)
public int getEnum()
public boolean isAbsolute()
Numericpublic int getValue()
public int getValue(PercentBaseContext context)
context - The context for the length calculation (for percentage based lengths)public double getNumericValue()
public double getNumericValue(PercentBaseContext context)
context - The context for the length calculation (for percentage based lengths)public java.lang.String getString()
public java.lang.Object getObject()
getObject in class LengthPropertyCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.