Package com.reportmill.shape
Class RMCellRow
java.lang.Object
com.reportmill.shape.RMCellRow
- All Implemented Interfaces:
Cloneable
This shape manages a row of cells.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new cell row.RMCellRow
(RMCellTable aTable) Creates a new cell row. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a basic clone of this object.fromXML
(RXArchiver anArchiver, RXElement anElement) XML unarchival.getCell
(int anIndex) Returns the specific child cell at the given index in the list of unique cells for this row.int
Returns the number of cells in this row.getDivider
(int anIndex) Returns the specific divider at given index.int
Returns the divider count.Returns the dividers for this column.float
Returns the row height.int
getIndex()
Returns the index of this row in the table.float
getMaxY()
Returns the row max y.getTable()
Returns the row's parent table.float
getY()
Returns the row y.void
Resets dividers so they will be recalculated.void
setHeight
(double aHeight) Sets the row height.toXML
(RXArchiver anArchiver) XML archival.
-
Constructor Details
-
RMCellRow
public RMCellRow()Creates a new cell row. -
RMCellRow
Creates a new cell row.
-
-
Method Details
-
getTable
Returns the row's parent table. -
getIndex
public int getIndex()Returns the index of this row in the table. -
getCellCount
public int getCellCount()Returns the number of cells in this row. -
getCell
Returns the specific child cell at the given index in the list of unique cells for this row. -
getY
public float getY()Returns the row y. -
getHeight
public float getHeight()Returns the row height. -
setHeight
public void setHeight(double aHeight) Sets the row height. -
getMaxY
public float getMaxY()Returns the row max y. -
getDividerCount
public int getDividerCount()Returns the divider count. -
getDivider
Returns the specific divider at given index. -
getDividers
Returns the dividers for this column. -
resetDividers
public void resetDividers()Resets dividers so they will be recalculated. -
clone
Returns a basic clone of this object. -
toXML
XML archival. -
fromXML
XML unarchival.
-