public final class TableArea extends Object
Provides a table area.
Constructor and Description |
---|
TableArea(List<Double> rows,
List<Double> columns,
List<TableAreaCell> cells)
Initializes a new instance of the
TableArea class. |
Modifier and Type | Method and Description |
---|---|
TableAreaCell |
get_Item(int row,
int column)
Gets a cell of the table.
|
int |
getColumnCount()
Gets a number of table columns.
|
double |
getColumnWidth(int column)
Gets a width of the row.
|
int |
getRowCount()
Gets a number of table rows.
|
double |
getRowHeight(int row)
Gets a height of the row.
|
public int getRowCount()
Gets a number of table rows.
public int getColumnCount()
Gets a number of table columns.
public TableAreaCell get_Item(int row, int column)
Gets a cell of the table.
row
- A zero-based index of the row.column
- A zero-based index of the column.TableAreaCell
with specified row
and column
or null if cell was not found.public double getRowHeight(int row)
Gets a height of the row.
row
- A zero-based index of the row.public double getColumnWidth(int column)
Gets a width of the row.
column
- A zero-based index of the column.