Class RMShapeTable


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

      • RMShapeTable

        public RMShapeTable()
    • 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.