Package com.inductiveautomation.rm.shape
Class RMCrossTabRow
- java.lang.Object
- 
- com.inductiveautomation.rm.shape.RMCrossTabRow
 
- 
- All Implemented Interfaces:
- Archivable,- java.lang.Cloneable
 
 public class RMCrossTabRow extends java.lang.Object implements java.lang.Cloneable, Archivable This shape manages a row of cells.
- 
- 
Constructor SummaryConstructors Constructor Description RMCrossTabRow()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCell(RMCrossTabCell aCell)Adds a cell to end of row.voidaddCell(RMCrossTabCell aCell, int anIndex)Adds a cell at given index.RMCrossTabRowclone()Returns a basic clone of this object.RMCrossTabRowcloneDeep()Returns a clone of row including a clone of cells.java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.doublegetBestHeight()Returns the best height for the row.RMCrossTabCellgetCell(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.RMCrossTabDividergetDivider(int anIndex)Returns the specific divider at given index.intgetDividerCount()Returns the divider count.java.util.List<RMCrossTabDivider>getDividers()Returns the dividers for this column.doublegetHeight()Returns the row height.intgetIndex()Returns the index of this row in the table.doublegetMaxY()Returns the row max y.doublegetY()Returns the row y.RMCrossTabCellremoveCell(int anIndex)Removes a cell at given index.voidresetDividers()Resets 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.java.lang.StringtoString()Standard toString implementation.RXElementtoXML(RXArchiver anArchiver)XML archival.
 
- 
- 
- 
Method Detail- 
getIndexpublic int getIndex() Returns the index of this row in the table.
 - 
getCellCountpublic int getCellCount() Returns the number of cells in this row.
 - 
getCellpublic RMCrossTabCell getCell(int anIndex) Returns the specific child cell at the given index in the list of unique cells for this row.
 - 
setCellprotected void setCell(RMCrossTabCell aCell, int anIndex) Sets the cell at given index.
 - 
addCellpublic void addCell(RMCrossTabCell aCell) Adds a cell to end of row.
 - 
addCellpublic void addCell(RMCrossTabCell aCell, int anIndex) Adds a cell at given index.
 - 
removeCellpublic RMCrossTabCell removeCell(int anIndex) Removes 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.
 - 
getDividerpublic RMCrossTabDivider getDivider(int anIndex) Returns the specific divider at given index.
 - 
getDividerspublic java.util.List<RMCrossTabDivider> getDividers() Returns the dividers for this column.
 - 
resetDividerspublic void resetDividers() Resets dividers so they will be recalculated.
 - 
clone@Nullable public RMCrossTabRow clone() Returns a basic clone of this object.- Overrides:
- clonein class- java.lang.Object
 
 - 
cloneDeeppublic RMCrossTabRow cloneDeep() Returns a clone of row including a clone of cells.
 - 
toXMLpublic RXElement toXML(RXArchiver anArchiver) XML archival.- Specified by:
- toXMLin interface- Archivable
 
 - 
fromXMLpublic java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.- Specified by:
- fromXMLin interface- Archivable
 
 - 
toStringpublic java.lang.String toString() Standard toString implementation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-