Class SingleCellGridTable

    • Constructor Detail

      • SingleCellGridTable

        public SingleCellGridTable​(IGridTable table,
                                   int fromColumn,
                                   int fromRow)
    • Method Detail

      • getGridColumn

        public int getGridColumn​(int col,
                                 int row)
      • getGridRow

        public int getGridRow​(int col,
                              int row)
      • getHeight

        public int getHeight()
        Returns:
        height of the table
      • getWidth

        public int getWidth()
        Returns:
        width of the table
      • getSubtable

        public IGridTable getSubtable​(int column,
                                      int row,
                                      int width,
                                      int height)
        Specified by:
        getSubtable in interface ITable<IGridTable>
        Overrides:
        getSubtable in class AGridTable
        Parameters:
        column - from which we want to take the subtable, including border.
        row - from which we want to take the subtable, including border.
        width - of the needed table.
        height - of the needed table.
        Returns:
        the subtable of this table.