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) doubletcolUnits
          Number of table-column proportional units

Fields inherited from class org.apache.fop.datatypes.Length
AUTO

Constructor Summary
TableColLength(double tcolUnits)
          Construct an object with tcolUnits of proportional measure.
TableColLength(int absUnits, PercentLength pcUnits, double tcolUnits)
           

Method Summary
 doublegetTableUnits()
          Override the method in Length to return the number of specified proportional table-column units.
 StringtoString()
           

Methods inherited from class org.apache.fop.datatypes.Length
isAuto, mvalue

Field Detail

tcolUnits

double tcolUnits
Number of table-column proportional units
Constructor Detail

TableColLength

public TableColLength(double tcolUnits)
Construct an object with tcolUnits of proportional measure.

TableColLength

public TableColLength(int absUnits, PercentLength pcUnits, double tcolUnits)
Method Detail

getTableUnits

public double getTableUnits()
Override the method in Length to return the number of specified proportional table-column units.

toString

public String toString()