public class RMCrossTabRow
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
RMCrossTabRow() |
Modifier and Type | Method and Description |
---|---|
void |
addCell(RMCrossTabCell aCell)
Adds a cell to end of row.
|
void |
addCell(RMCrossTabCell aCell,
int anIndex)
Adds a cell at given index.
|
RMCrossTabRow |
clone()
Returns a basic clone of this object.
|
RMCrossTabRow |
cloneDeep()
Returns a clone of row including a clone of cells.
|
java.lang.Object |
fromXML(XMLArchiver anArchiver,
XMLElement anElement)
XML unarchival.
|
double |
getBestHeight()
Returns the best height for the row.
|
RMCrossTabCell |
getCell(int anIndex)
Returns the specific child cell at the given index in the list of unique cells for this row.
|
int |
getCellCount()
Returns the number of cells in this row.
|
RMCrossTabDivider |
getDivider(int anIndex)
Returns the specific divider at given index.
|
int |
getDividerCount()
Returns the divider count.
|
java.util.List<RMCrossTabDivider> |
getDividers()
Returns the dividers for this column.
|
double |
getHeight()
Returns the row height.
|
int |
getIndex()
Returns the index of this row in the table.
|
double |
getMaxY()
Returns the row max y.
|
double |
getY()
Returns the row y.
|
RMCrossTabCell |
removeCell(int anIndex)
Removes a cell at given index.
|
void |
resetDividers()
Resets dividers so they will be recalculated.
|
void |
setHeight(double aHeight)
Sets the row height.
|
java.lang.String |
toString()
Standard toString implementation.
|
XMLElement |
toXML(XMLArchiver anArchiver)
XML archival.
|
public int getIndex()
public int getCellCount()
public RMCrossTabCell getCell(int anIndex)
public void addCell(RMCrossTabCell aCell)
public void addCell(RMCrossTabCell aCell, int anIndex)
public RMCrossTabCell removeCell(int anIndex)
public double getY()
public double getHeight()
public void setHeight(double aHeight)
public double getMaxY()
public double getBestHeight()
public int getDividerCount()
public RMCrossTabDivider getDivider(int anIndex)
public java.util.List<RMCrossTabDivider> getDividers()
public void resetDividers()
public RMCrossTabRow clone()
clone
in class java.lang.Object
public RMCrossTabRow cloneDeep()
public XMLElement toXML(XMLArchiver anArchiver)
public java.lang.Object fromXML(XMLArchiver anArchiver, XMLElement anElement)
public java.lang.String toString()
toString
in class java.lang.Object