|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.layoutmgr.table.ColumnSetup
public class ColumnSetup
Class holding a number of columns making up the column setup of a row.
| Constructor Summary | |
|---|---|
ColumnSetup(Table table)
Main Constructor. |
|
| Method Summary | |
|---|---|
float |
computeTableUnit(PercentBaseContext percentBaseContext,
int contentAreaIPD)
Works out the base unit for resolving proportional-column-width() [p-c-w(x) = x * base_unit_ipd] |
protected double |
computeTableUnit(TableLayoutManager tlm)
Works out the base unit for resolving proportional-column-width() [p-c-w(x) = x * base_unit_ipd] |
TableColumn |
getColumn(int index)
Returns a column. |
int |
getColumnCount()
|
int |
getSumOfColumnWidths(PercentBaseContext context)
Calculates the sum of all column widths. |
int |
getXOffset(int col,
int nrColSpan,
PercentBaseContext context)
Determine the X offset of the indicated column, where this offset denotes the left edge of the column irrespective of writing mode. |
java.util.Iterator |
iterator()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnSetup(Table table)
table - the table to construct this column setup for| Method Detail |
|---|
public TableColumn getColumn(int index)
index - index of the column (1 is the first column)
public java.lang.String toString()
toString in class java.lang.Objectpublic int getColumnCount()
public java.util.Iterator iterator()
protected double computeTableUnit(TableLayoutManager tlm)
tlm - the TableLayoutManager
public float computeTableUnit(PercentBaseContext percentBaseContext,
int contentAreaIPD)
percentBaseContext - the percent base context for relative valuescontentAreaIPD - the IPD of the available content area
public int getXOffset(int col,
int nrColSpan,
PercentBaseContext context)
col - column index (1 is first column)nrColSpan - number columns spanned (for calculating offset in rtl mode)context - the context for percentage based calculations
public int getSumOfColumnWidths(PercentBaseContext context)
context - the context for percentage based calculations
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||