public static interface TableView.Table
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the total number of columns in this table.
|
Locale |
getLocale()
Returns the locale in which to load table contents.
|
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 startRow,
int endRow,
int startColumn,
int endColumn)
Loads the table's data between the given row and column indexes.
|
com.fasterxml.jackson.databind.JsonNode |
loadLeftHeader(int startRow,
int endRow)
Loads the left header between the given row indexes.
|
com.fasterxml.jackson.databind.JsonNode |
loadTopHeader(int startColumn,
int endColumn)
Loads the top header between the given column indexes.
|
TableView.Table |
setLocale(Locale locale)
Sets the locale in which to load table contents.
|
int getRowCount()
int getColumnCount()
boolean hasLeftHeader()
boolean hasTopHeader()
com.fasterxml.jackson.databind.JsonNode loadLeftHeader(int startRow, int endRow) throws IllegalArgumentException
startRow
- the first left header row to load, starting at 0endRow
- the row until which to load, exclusiveIllegalArgumentException
- if the first or last row are out of
bounds, or firstRow is greater than lastRowcom.fasterxml.jackson.databind.JsonNode loadTopHeader(int startColumn, int endColumn) throws IllegalArgumentException
startColumn
- the first top header column to load, starting at 0endColumn
- the column until which to load, exclusiveIllegalArgumentException
- if the first or last column are out
of bounds, or firstColumn is greater than lastColumncom.fasterxml.jackson.databind.JsonNode loadData(int startRow, int endRow, int startColumn, int endColumn) throws IllegalArgumentException
startRow
- the first data row to load, starting at 0endRow
- the row until which to load, exclusivestartColumn
- the first data column to load, starting at 0endColumn
- the column until which to load, exclusiveIllegalArgumentException
- if any of the indexes is out of
bounds, or a first index is greater than the
corresponding last indexLocale getLocale()
ViewLoader.setLocale(Locale)
before calling
ViewLoader.loadContent()
or setLocale(Locale)
on the
table to set it.TableView.Table setLocale(Locale locale)
locale
- the locale in which to load table contentsCopyright © 2014. All rights reserved.