public class RMTableRPGAdder
extends java.lang.Object
Constructor and Description |
---|
RMTableRPGAdder(RMTableRPG aTableRPG,
RMTableRPGAdder anAdder)
Creates a new row adder.
|
Modifier and Type | Method and Description |
---|---|
void |
addAdder(RMTableRPGAdder anAdder)
Adds an adder to the adders list.
|
boolean |
addRow(RMTableRow aRow)
Adds the given table row to this table page.
|
boolean |
addRows()
Adds rows.
|
boolean |
addSummaryRows()
Do add summary.
|
void |
childDidReset(RMTableRPGAdder anAdder)
Resets the given child adder.
|
void |
doStayWithCheck()
Do stay-with widow orphan check.
|
RMTableRPGAdder |
getAdder(int anIndex)
Returns the specific adder at the given index.
|
int |
getAdderCount()
Returns the number of child adders created by this adder.
|
RMTableRPGAdder |
getAdderLast()
Returns the last child adder.
|
RMGroup |
getGroup()
Returns the group.
|
RMTableRPGAdderHeader |
getHeaderAdder()
Returns the first header adder from up the previous adder chain.
|
int |
getRemainingRowCount(int aMax)
Returns the number of rows left to be added by this row.
|
ReportMill |
getReportMill()
Returns the reportmill.
|
RMTableRow |
getRow()
Returns the row template this adder used to add a row.
|
RMTableRow |
getRowRPG()
Returns the row actually added by this adder (null if none).
|
int |
getRunningRowCount(int aMax)
Returns the number of rows that have been added by child adders.
|
int |
getStayWithCount()
Returns the number of rows this adder's added row wants to stay with.
|
RMTable |
getTable()
Returns the table.
|
RMTableRPG |
getTableRPG()
Returns the table rpg.
|
RMTableRPGAdder |
getTopAdder()
Returns the first adder from up the previous adder chain.
|
RMTableRPGAdderHeader |
getTopHeaderAdder()
Returns the table top header adder.
|
boolean |
isDone()
Returns whether adder is done adding rows.
|
void |
resetAdder()
Resets this adder to it's state before add rows was called.
|
RMTableRow |
sizeAndSplitPartialRow()
Splits the given row at the point that it overlaps its next neighbor or row bottom.
|
public RMTableRPGAdder(RMTableRPG aTableRPG, RMTableRPGAdder anAdder)
public RMTableRPG getTableRPG()
public RMTableRow getRow()
public RMTableRow getRowRPG()
public ReportMill getReportMill()
public RMTable getTable()
public RMGroup getGroup()
public RMTableRPGAdder getTopAdder()
public RMTableRPGAdderHeader getHeaderAdder()
public RMTableRPGAdderHeader getTopHeaderAdder()
public int getAdderCount()
public RMTableRPGAdder getAdder(int anIndex)
public RMTableRPGAdder getAdderLast()
public void addAdder(RMTableRPGAdder anAdder)
public void resetAdder()
public void childDidReset(RMTableRPGAdder anAdder)
public boolean isDone()
public int getStayWithCount()
public boolean addRows()
public boolean addSummaryRows()
public boolean addRow(RMTableRow aRow)
public void doStayWithCheck()
public int getRunningRowCount(int aMax)
aMax
- A performance optimization to short circuit if count exceeds a number we're looking for.public int getRemainingRowCount(int aMax)
aMax
- A performance optimization to short circuit if count exceeds a number we're looking for.public RMTableRow sizeAndSplitPartialRow()