org.apache.fop.fo.properties
Class TableColLength
- Length, Numeric
public class TableColLength
A table-column width specification, possibly including some
number of proportional "column-units". The absolute size of a
column-unit depends on the fixed and proportional sizes of all
columns in the table, and on the overall size of the table.
It can't be calculated until all columns have been specified and until
the actual width of the table is known. Since this can be specified
as a percent of its parent containing width, the calculation is done
during layout.
NOTE: this is only supposed to be allowed if table-layout=fixed.
TableColLength(double tcolUnits, FObj column) - Construct an object with tcolUnits of proportional measure.
|
getCharacter , getColor , getCondLength , getEnum , getKeep , getLength , getLengthPair , getLengthRange , getList , getNCname , getNumber , getNumeric , getObject , getSpace , getSpecifiedValue , getString , isAuto , setSpecifiedValue , toString |
TableColLength
public TableColLength(double tcolUnits,
FObj column)
Construct an object with tcolUnits of proportional measure.
tcolUnits
- number of table-column proportional unitscolumn
- the column the column-units are defined on
getNumericValue
public double getNumericValue()
Return the value as a numeric value.
- getNumericValue in interface Numeric
getTableUnits
public double getTableUnits()
Override the method in Length
- getTableUnits in interface LengthProperty
- the number of specified proportional table-column units.
isAbsolute
public boolean isAbsolute()
Return false because table-col-units are a relative numeric.
- isAbsolute in interface Numeric
toString
public String toString()
Convert this to a String
- toString in interface Property
- the string representation of this
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.