Package com.reportmill.shape
Class RMCellRow
- java.lang.Object
-
- com.reportmill.shape.RMCellRow
-
- All Implemented Interfaces:
java.lang.Cloneable
public class RMCellRow extends java.lang.Object implements java.lang.CloneableThis shape manages a row of cells.
-
-
Constructor Summary
Constructors Constructor Description RMCellRow()Creates a new cell row.RMCellRow(RMCellTable aTable)Creates a new cell row.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Returns a basic clone of this object.java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.RMCellgetCell(int anIndex)Returns the specific child cell at the given index in the list of unique cells for this row.intgetCellCount()Returns the number of cells in this row.RMCellDividergetDivider(int anIndex)Returns the specific divider at given index.intgetDividerCount()Returns the divider count.java.util.ListgetDividers()Returns the dividers for this column.floatgetHeight()Returns the row height.intgetIndex()Returns the index of this row in the table.floatgetMaxY()Returns the row max y.RMCellTablegetTable()Returns the row's parent table.floatgetY()Returns the row y.voidresetDividers()Resets dividers so they will be recalculated.voidsetHeight(double aHeight)Sets the row height.RXElementtoXML(RXArchiver anArchiver)XML archival.
-
-
-
Constructor Detail
-
RMCellRow
public RMCellRow()
Creates a new cell row.
-
RMCellRow
public RMCellRow(RMCellTable aTable)
Creates a new cell row.
-
-
Method Detail
-
getTable
public RMCellTable 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
public RMCell getCell(int anIndex)
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
public RMCellDivider getDivider(int anIndex)
Returns the specific divider at given index.
-
getDividers
public java.util.List getDividers()
Returns the dividers for this column.
-
resetDividers
public void resetDividers()
Resets dividers so they will be recalculated.
-
clone
public java.lang.Object clone()
Returns a basic clone of this object.- Overrides:
clonein classjava.lang.Object
-
toXML
public RXElement toXML(RXArchiver anArchiver)
XML archival.
-
fromXML
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.
-
-