Package com.inductiveautomation.rm.out
Class RMShapeTable
- java.lang.Object
 - 
- com.inductiveautomation.rm.out.RMShapeTable
 
 
- 
public class RMShapeTable extends java.lang.ObjectThis class creates a table from a given list of shapes. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRMShapeTable.STCellA class for cells.static classRMShapeTable.STColA class for columns.static classRMShapeTable.STRowA class for rows. 
- 
Constructor Summary
Constructors Constructor Description RMShapeTable() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RMShapeTablecreateTable(java.util.List<RMShape> shapes, RMShape topLevel, RMRect minTableRect)Takes a flattened list of shapes and builds a single RMCrossTab.RMShapeTable.STCellgetCell(int aRow, int aCol)Returns the cell at index.RMShapeTable.STColgetColumn(int anIndex)Returns the individual column at index.intgetColumnCount()Returns the number of columns.RMShapeTable.STRowgetRow(int anIndex)Returns the individual row at index.intgetRowCount()Returns the number of rows. 
 - 
 
- 
- 
Method Detail
- 
getColumnCount
public int getColumnCount()
Returns the number of columns. 
- 
getColumn
public RMShapeTable.STCol getColumn(int anIndex)
Returns the individual column at index. 
- 
getRowCount
public int getRowCount()
Returns the number of rows. 
- 
getRow
public RMShapeTable.STRow getRow(int anIndex)
Returns the individual row at index. 
- 
getCell
public RMShapeTable.STCell getCell(int aRow, int aCol)
Returns the cell at index. 
- 
createTable
public static RMShapeTable createTable(java.util.List<RMShape> shapes, RMShape topLevel, RMRect minTableRect)
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. 
 - 
 
 -