|
fop 0.95 | ||||||||||
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()
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()
|
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()
getEnum
in interface Numeric
getEnum
in class Property
public boolean isAbsolute()
Numeric
public 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()
getString
in class Property
public java.lang.Object getObject()
getObject
in class LengthProperty
|
fop 0.95 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |