|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.fo.properties.Property
org.apache.fop.fo.properties.LengthProperty
org.apache.fop.fo.properties.EnumLength
A length quantity in XSL which is specified as an enum, such as "auto"
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.fo.properties.LengthProperty |
LengthProperty.Maker |
| Field Summary |
| Fields inherited from class org.apache.fop.fo.properties.Property |
log |
| Constructor Summary | |
EnumLength(Property enumProperty)
|
|
| Method Summary | |
int |
getEnum()
Return the enum value that is stored in this numeric. |
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. |
| Methods inherited from class org.apache.fop.fo.properties.LengthProperty |
getDimension, getLength, getNumeric, getTableUnits |
| Methods inherited from class org.apache.fop.fo.properties.Property |
getCharacter, getColor, getCondLength, getKeep, getLengthPair, getLengthRange, getList, getNCname, getNumber, getSpace, getSpecifiedValue, isAuto, setSpecifiedValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EnumLength(Property enumProperty)
| Method Detail |
public int getEnum()
Numeric
getEnum in interface NumericgetEnum in class PropertyNumeric.getEnum()public boolean isAbsolute()
Numeric
public int getValue()
Length
Numeric.getValue()public int getValue(PercentBaseContext context)
Length
context - The context for the length calculation (for percentage based lengths)
Numeric.getValue(PercentBaseContext)public double getNumericValue()
Numeric
Numeric.getNumericValue()public double getNumericValue(PercentBaseContext context)
Numeric
context - The context for the length calculation (for percentage based lengths)
Numeric.getNumericValue()public java.lang.String getString()
Property
getString in class PropertyProperty.getString()public java.lang.Object getObject()
Property
getObject in class LengthPropertyProperty.getString()
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||