Package com.inductiveautomation.rm.out
Class RMShapeTable
java.lang.Object
com.inductiveautomation.rm.out.RMShapeTable
This class creates a table from a given list of shapes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA class for cells.static classA class for columns.static classA class for rows. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RMShapeTablecreateTable(List<RMShape> shapes, RMShape topLevel, RMRect minTableRect) Takes a flattened list of shapes and builds a single RMCrossTab.getCell(int aRow, int aCol) Returns the cell at index.getColumn(int anIndex) Returns the individual column at index.intReturns the number of columns.getRow(int anIndex) Returns the individual row at index.intReturns the number of rows.
-
Constructor Details
-
RMShapeTable
public RMShapeTable()
-
-
Method Details
-
getColumnCount
public int getColumnCount()Returns the number of columns. -
getColumn
Returns the individual column at index. -
getRowCount
public int getRowCount()Returns the number of rows. -
getRow
Returns the individual row at index. -
getCell
Returns the cell at index. -
createTable
Takes a flattened list of shapes and builds a single RMCrossTab. topLevel is a common ancestor of all the shapes (usually the RMPage) minTableRect, if non-null, specifies a minimum size and origin for the final table.
-