public class TableColLength extends LengthProperty
LengthProperty.Maker
Constructor and Description |
---|
TableColLength(double tcolUnits,
FObj column)
Construct an object with tcolUnits of proportional measure.
|
Modifier and Type | Method and Description |
---|---|
double |
getNumericValue()
Return the value as a numeric value.
|
double |
getNumericValue(PercentBaseContext context)
Return the value of this Numeric
|
double |
getTableUnits()
Override the method in Length
|
int |
getValue()
Return the value as a length.
|
int |
getValue(PercentBaseContext context)
Returns the length in 1/1000ths of a point (millipoints)
|
boolean |
isAbsolute()
Return false because table-col-units are a relative numeric.
|
java.lang.String |
toString()
Convert this to a String
|
getDimension, getLength, getNumeric, getObject
getCharacter, getColor, getCondLength, getEnum, getKeep, getLengthPair, getLengthRange, getList, getNCname, getNumber, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValue
public TableColLength(double tcolUnits, FObj column)
tcolUnits
- number of table-column proportional unitscolumn
- the column the column-units are defined onpublic double getTableUnits()
public boolean isAbsolute()
public double getNumericValue()
public double getNumericValue(PercentBaseContext context)
context
- The context for the length calculation (for percentage based lengths)public int getValue()
public int getValue(PercentBaseContext context)
context
- The context for the length calculation (for percentage based lengths)Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.