TreeItem instances contained within the
TreeTableView.
Because the TreeTableView can have different
selection modes, the row and column properties in
TablePosition can be 'disabled' to represent an entire row or column. This is
done by setting the unrequired property to -1 or null.
TreeTableView, TreeTableColumn
| Modifier and Type | Field and Description |
|---|---|
| private final WeakReference | |
| pack-priv int | |
| private final int | |
| private final WeakReference |
| Access | Constructor and Description |
|---|---|
| public | TreeTablePosition(TreeTableView<S>
The TreeTableView that this position is related to. treeTableView, int The row that this TreeTablePosition is representing. row, TreeTableColumn<S, T> The TreeTableColumn instance that this TreeTablePosition represents. tableColumn)Constructs a TreeTablePosition instance to represent the given row/column position in the given TreeTableView instance. |
| pack-priv | TreeTablePosition(TreeTableView<S> treeTableView, int row, TreeTableColumn<S, T> tableColumn, boolean doLookup)
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | getColumn()
Implements abstract javafx. The column index that this TreeTablePosition represents in the TreeTableView. |
| public final TreeTableColumn | getTableColumn()
Overrides javafx. The TableColumn that this TablePosition represents in the TableView. |
| public final TreeItem | |
| public final TreeTableView | Returns: the TreeTableView that this TreeTablePosition is related toThe TreeTableView that this TreeTablePosition is related to. |
| controlRef | back to summary |
|---|---|
| private final WeakReference<TreeTableView<S>> controlRef | |
| fixedColumnIndex | back to summary |
|---|---|
| pack-priv int fixedColumnIndex | |
| nonFixedColumnIndex | back to summary |
|---|---|
| private final int nonFixedColumnIndex | |
| treeItemRef | back to summary |
|---|---|
| private final WeakReference<TreeItem<S>> treeItemRef | |
| TreeTablePosition | back to summary |
|---|---|
| public TreeTablePosition(TreeTableView<S> treeTableView, int row, TreeTableColumn<S, T> tableColumn) Constructs a TreeTablePosition instance to represent the given row/column position in the given TreeTableView instance. Both the TreeTableView and TreeTableColumn are referenced weakly in this class, so it is possible that they will be null when their respective getters are called.
| |
| TreeTablePosition | back to summary |
|---|---|
| pack-priv TreeTablePosition(TreeTableView<S> treeTableView, int row, TreeTableColumn<S, T> tableColumn, boolean doLookup) | |
| TreeTablePosition | back to summary |
|---|---|
| pack-priv TreeTablePosition(TreeTablePosition<S, T> pos, int row) | |
| getColumn | back to summary |
|---|---|
| public int getColumn() Implements abstract javafx. The column index that this TreeTablePosition represents in the TreeTableView. It is -1 if the TreeTableView or TreeTableColumn instances are null at the time the class is instantiated (i.e. it is computed at construction).
| |
| getTableColumn | back to summary |
|---|---|
| public final TreeTableColumn Overrides javafx. Doc from javafx. The TableColumn that this TablePosition represents in the TableView.
| |
| getTreeItem | back to summary |
|---|---|
| public final TreeItem | |
| getTreeTableView | back to summary |
|---|---|
| public final TreeTableView The TreeTableView that this TreeTablePosition is related to.
| |