public static interface TableView.Table
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the total number of columns in this table.
|
int |
getRowCount()
Returns the total number of rows in this table.
|
boolean |
hasLeftHeader()
Returns true if the left header has at least one column.
|
boolean |
hasTopHeader()
Returns true if the top header has at least one row.
|
com.fasterxml.jackson.databind.JsonNode |
loadData(int firstRow,
int lastRow,
int firstColumn,
int lastColumn)
Loads the table's data between the given row and column indexes,
inclusively.
|
com.fasterxml.jackson.databind.JsonNode |
loadLeftHeader(int firstRow,
int lastRow)
Loads the left header between the given row indexes, inclusively.
|
com.fasterxml.jackson.databind.JsonNode |
loadTopHeader(int firstColumn,
int lastColumn)
Loads the top header between the given column indexes, inclusively.
|
int getRowCount()
int getColumnCount()
boolean hasLeftHeader()
boolean hasTopHeader()
com.fasterxml.jackson.databind.JsonNode loadLeftHeader(int firstRow, int lastRow) throws IllegalArgumentException
firstRow
- the first left header row to loadlastRow
- the last left header row to loadIllegalArgumentException
- if the first or last row are out of
bounds, or firstRow is greater than lastRowcom.fasterxml.jackson.databind.JsonNode loadTopHeader(int firstColumn, int lastColumn) throws IllegalArgumentException
firstColumn
- the first top header column to loadlastColumn
- the last top header column to loadIllegalArgumentException
- if the first or last column are out
of bounds, or firstColumn is greater than lastColumncom.fasterxml.jackson.databind.JsonNode loadData(int firstRow, int lastRow, int firstColumn, int lastColumn) throws IllegalArgumentException
firstRow
- the first data row to loadlastRow
- the last data row to loadfirstColumn
- the first data column to loadlastColumn
- the last data column to loadIllegalArgumentException
- if any of the indexes is out of
bounds, or a first index is greater than the
corresponding last indexCopyright © 2013. All rights reserved.