org.apache.fop.datatypes
Class TableColLength
org.apache.fop.datatypes.Length
|
+--org.apache.fop.datatypes.MixedLength
|
+--org.apache.fop.datatypes.TableColLength
- public class TableColLength
- extends MixedLength
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.
Field Summary |
(package private) double | tcolUnits Number of table-column proportional units |
Fields inherited from class org.apache.fop.datatypes.Length |
AUTO |
Method Summary |
double | getTableUnits() Override the method in Length to return the number of specified
proportional table-column units. |
String | toString() |
tcolUnits
double tcolUnits
- Number of table-column proportional units
TableColLength
public TableColLength(double tcolUnits)
- Construct an object with tcolUnits of proportional measure.
TableColLength
public TableColLength(int absUnits, PercentLength pcUnits, double tcolUnits)
getTableUnits
public double getTableUnits()
- Override the method in Length to return the number of specified
proportional table-column units.
toString
public String toString()