Package com.inductiveautomation.rm.out
Class RMShapeTable
- java.lang.Object
-
- com.inductiveautomation.rm.out.RMShapeTable
-
public class RMShapeTable extends java.lang.Object
This class creates a table from a given list of shapes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RMShapeTable.STCell
A class for cells.static class
RMShapeTable.STCol
A class for columns.static class
RMShapeTable.STRow
A 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 RMShapeTable
createTable(java.util.List<RMShape> shapes, RMShape topLevel, RMRect minTableRect)
Takes a flattened list of shapes and builds a single RMCrossTab.RMShapeTable.STCell
getCell(int aRow, int aCol)
Returns the cell at index.RMShapeTable.STCol
getColumn(int anIndex)
Returns the individual column at index.int
getColumnCount()
Returns the number of columns.RMShapeTable.STRow
getRow(int anIndex)
Returns the individual row at index.int
getRowCount()
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.
-
-