TableView and TreeTableView).
| Modifier and Type | Field and Description |
|---|---|
| private BooleanProperty | cellSelectionEnabled
A boolean property used to represent whether the table is in row or cell selection modes. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final BooleanProperty | |
| public abstract void | clearAndSelect(int
the row row, TableColumnBase<T, ?> the column column)Clears all selection, and then selects the cell at the given row/column intersection. |
| public abstract void | clearSelection(int
the row row, TableColumnBase<T, ?> the column column)Removes selection from the specified row/column position (in view indexes). |
| public final boolean | |
| public abstract boolean | Returns: true if the given row and column index is currently selected in this table instancethe row row, TableColumnBase<T, ?> the column column)Convenience function which tests whether the given row and column index is currently selected in this table instance. |
| public abstract void | select(int
the row row, TableColumnBase<T, ?> the column column)Selects the cell at the given row/column intersection. |
| public abstract void | |
| public abstract void | |
| public abstract void | |
| public abstract void | selectRange(int
the minRow minRow, TableColumnBase<T, ?> the minColumn minColumn, int the maxRow maxRow, TableColumnBase<T, ?> the maxColumn maxColumn)Selects the cells in the range (minRow, minColumn) to (maxRow, maxColumn), inclusive. |
| public abstract void | |
| public final void |
| cellSelectionEnabled | back to summary |
|---|---|
| private BooleanProperty cellSelectionEnabled A boolean property used to represent whether the table is in
row or cell selection modes. By default a table is in row selection
mode which means that individual cells can not be selected. Setting
| |
| TableSelectionModel | back to summary |
|---|---|
| public TableSelectionModel() Constructor for subclasses to call. | |
| cellSelectionEnabledProperty | back to summary |
|---|---|
| public final BooleanProperty cellSelectionEnabledProperty() | |
| clearAndSelect | back to summary |
|---|---|
| public abstract void clearAndSelect(int row, TableColumnBase<T, ?> column) Clears all selection, and then selects the cell at the given row/column intersection. If the table control is in its 'cell selection' mode (where individual cells can be selected, rather than entire rows), and if the column argument is null, this method should select all cells in the given row.
| |
| clearSelection | back to summary |
|---|---|
| public abstract void clearSelection(int row, TableColumnBase<T, ?> column) Removes selection from the specified row/column position (in view indexes). If this particular cell (or row if the column value is -1) is not selected, nothing happens. If the table control is in its 'cell selection' mode (where individual cells can be selected, rather than entire rows), and if the column argument is null, this method should deselect all cells in the given row.
| |
| isCellSelectionEnabled | back to summary |
|---|---|
| public final boolean isCellSelectionEnabled() | |
| isSelected | back to summary |
|---|---|
| public abstract boolean isSelected(int row, TableColumnBase<T, ?> column) Convenience function which tests whether the given row and column index is currently selected in this table instance. If the table control is in its 'cell selection' mode (where individual cells can be selected, rather than entire rows), and if the column argument is null, this method should return true only if all cells in the given row are selected.
| |
| select | back to summary |
|---|---|
| public abstract void select(int row, TableColumnBase<T, ?> column) Selects the cell at the given row/column intersection. If the table control is in its 'cell selection' mode (where individual cells can be selected, rather than entire rows), and if the column argument is null, this method should select all cells in the given row.
| |
| selectAboveCell | back to summary |
|---|---|
| public abstract void selectAboveCell() Selects the cell directly above the currently selected cell. | |
| selectBelowCell | back to summary |
|---|---|
| public abstract void selectBelowCell() Selects the cell directly below the currently selected cell. | |
| selectLeftCell | back to summary |
|---|---|
| public abstract void selectLeftCell() Selects the cell to the left of the currently selected cell. | |
| selectRange | back to summary |
|---|---|
| public abstract void selectRange(int minRow, TableColumnBase<T, ?> minColumn, int maxRow, TableColumnBase<T, ?> maxColumn) Selects the cells in the range (minRow, minColumn) to (maxRow, maxColumn), inclusive.
| |
| selectRightCell | back to summary |
|---|---|
| public abstract void selectRightCell() Selects the cell to the right of the currently selected cell. | |
| setCellSelectionEnabled | back to summary |
|---|---|
| public final void setCellSelectionEnabled(boolean value) | |