Package com.inductiveautomation.rm.shape
Class RMCrossTabRow
java.lang.Object
com.inductiveautomation.rm.shape.RMCrossTabRow
- All Implemented Interfaces:
Archivable
,Cloneable
This shape manages a row of cells.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCell
(RMCrossTabCell aCell) Adds a cell to end of row.void
addCell
(RMCrossTabCell aCell, int anIndex) Adds a cell at given index.clone()
Returns a basic clone of this object.Returns a clone of row including a clone of cells.fromXML
(RXArchiver anArchiver, RXElement anElement) XML unarchival.double
Returns the best height for the row.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.double
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.removeCell
(int anIndex) Removes a cell at given index.void
Resets dividers so they will be recalculated.protected void
setCell
(RMCrossTabCell aCell, int anIndex) Sets the cell at given index.void
setHeight
(double aHeight) Sets the row height.toString()
Standard toString implementation.toXML
(RXArchiver anArchiver) XML archival.
-
Constructor Details
-
RMCrossTabRow
public RMCrossTabRow()
-
-
Method Details
-
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. -
setCell
Sets the cell at given index. -
addCell
Adds a cell to end of row. -
addCell
Adds a cell at given index. -
removeCell
Removes a cell at given index. -
getY
public double getY()Returns the row y. -
getHeight
public double getHeight()Returns the row height. -
setHeight
public void setHeight(double aHeight) Sets the row height. -
getMaxY
public double getMaxY()Returns the row max y. -
getBestHeight
public double getBestHeight()Returns the best height for the row. -
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. -
cloneDeep
Returns a clone of row including a clone of cells. -
toXML
XML archival.- Specified by:
toXML
in interfaceArchivable
-
fromXML
XML unarchival.- Specified by:
fromXML
in interfaceArchivable
-
toString
Standard toString implementation.
-