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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCell(RMCrossTabCell aCell) Adds a cell to end of row.voidaddCell(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.doubleReturns 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.intReturns the number of cells in this row.getDivider(int anIndex) Returns the specific divider at given index.intReturns the divider count.Returns the dividers for this column.doubleReturns the row height.intgetIndex()Returns the index of this row in the table.doublegetMaxY()Returns the row max y.doublegetY()Returns the row y.removeCell(int anIndex) Removes a cell at given index.voidResets dividers so they will be recalculated.protected voidsetCell(RMCrossTabCell aCell, int anIndex) Sets the cell at given index.voidsetHeight(double aHeight) Sets the row height.toString()Standard toString implementation.toXML(RXArchiver anArchiver) XML archival.
- 
Constructor Details- 
RMCrossTabRowpublic RMCrossTabRow()
 
- 
- 
Method Details- 
getIndexpublic int getIndex()Returns the index of this row in the table.
- 
getCellCountpublic int getCellCount()Returns the number of cells in this row.
- 
getCellReturns the specific child cell at the given index in the list of unique cells for this row.
- 
setCellSets the cell at given index.
- 
addCellAdds a cell to end of row.
- 
addCellAdds a cell at given index.
- 
removeCellRemoves a cell at given index.
- 
getYpublic double getY()Returns the row y.
- 
getHeightpublic double getHeight()Returns the row height.
- 
setHeightpublic void setHeight(double aHeight) Sets the row height.
- 
getMaxYpublic double getMaxY()Returns the row max y.
- 
getBestHeightpublic double getBestHeight()Returns the best height for the row.
- 
getDividerCountpublic int getDividerCount()Returns the divider count.
- 
getDividerReturns the specific divider at given index.
- 
getDividersReturns the dividers for this column.
- 
resetDividerspublic void resetDividers()Resets dividers so they will be recalculated.
- 
cloneReturns a basic clone of this object.
- 
cloneDeepReturns a clone of row including a clone of cells.
- 
toXMLXML archival.- Specified by:
- toXMLin interface- Archivable
 
- 
fromXMLXML unarchival.- Specified by:
- fromXMLin interface- Archivable
 
- 
toStringStandard toString implementation.
 
-