Class RMShapeTable

java.lang.Object
com.inductiveautomation.rm.out.RMShapeTable

public class RMShapeTable extends Object
This class creates a table from a given list of shapes.
  • Constructor Details

    • RMShapeTable

      public RMShapeTable()
  • Method Details

    • 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(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.