|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.pioneer.RowSpanMgr
public class RowSpanMgr
Manages layout of row spans.
| Constructor Summary | |
|---|---|
RowSpanMgr(int numCols,
PioneerLS layout)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addRowSpan(org.axsl.fo.fo.TableCell cell)
Add a cell to this manager. |
void |
finishRow()
Done with a row. |
org.axsl.fo.fo.TableCell |
getSpanningCell(int colNum)
Returns the table cell, if any, that spans a given column. |
boolean |
hasUnfinishedSpans()
Indicates whether any column has an unfinished vertical span. |
boolean |
ignoreKeeps()
Helper method to prevent infinite loops if keeps or spans are not fitting on a page. |
boolean |
isInLastRow(int colNum)
Indicates whether a given column is in the last row of its vertical span. |
boolean |
isSpanned(int colNum)
Indicates whether a given column is spanned. |
void |
setIgnoreKeeps(boolean ignoreKeeps)
Helper method to prevent infinite loops if keeps or spans are not fitting on a page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RowSpanMgr(int numCols,
PioneerLS layout)
numCols - The number of rows spanned by this span manager.layout - The ancestor layout system.| Method Detail |
|---|
public void addRowSpan(org.axsl.fo.fo.TableCell cell)
cell - The cell to be added.public boolean isSpanned(int colNum)
colNum - The column number to be tested.
public org.axsl.fo.fo.TableCell getSpanningCell(int colNum)
colNum - The column number for which the spanning cell is needed.
public boolean hasUnfinishedSpans()
public void finishRow()
public boolean isInLastRow(int colNum)
colNum - The 1-based column number to be tested.
public void setIgnoreKeeps(boolean ignoreKeeps)
ignoreKeeps - Set to true if keeps and spans should be ignored.public boolean ignoreKeeps()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||