Package com.inductiveautomation.rm.shape
Class RMCrossTabCol
java.lang.Object
com.inductiveautomation.rm.shape.RMCrossTabCol
- All Implemented Interfaces:
- Archivable,- Cloneable
Provides info for a column in a crosstab.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCell(RMCrossTabCell aCell) Adds a cell at end of column.voidaddCell(RMCrossTabCell aCell, int anIndex) Adds a cell at given index.clone()Returns a basic clone of this object.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.intgetIndex()Returns the index of this column in the table.doublegetMaxX()Returns the max x of this column.doublegetWidth()Returns the width of this column.floatgetX()Returns the x of this column.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.voidsetWidth(double aWidth) Sets the width of this column.toXML(RXArchiver anArchiver) XML archival.
- 
Constructor Details- 
RMCrossTabColpublic RMCrossTabCol()
 
- 
- 
Method Details- 
getIndexpublic int getIndex()Returns the index of this column 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 at end of column.
- 
addCellAdds a cell at given index.
- 
removeCellRemoves a cell at given index.
- 
getXpublic float getX()Returns the x of this column.
- 
getWidthpublic double getWidth()Returns the width of this column.
- 
setWidthpublic void setWidth(double aWidth) Sets the width of this column.
- 
getMaxXpublic double getMaxX()Returns the max x of this column.
- 
getBestWidthpublic double getBestWidth()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.
- 
toXMLXML archival.- Specified by:
- toXMLin interface- Archivable
 
- 
fromXMLXML unarchival.- Specified by:
- fromXMLin interface- Archivable
 
 
-