Package | Description |
---|---|
javafx.scene.control |
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
|
javafx.scene.control.cell |
The
javafx.scene.control.cell package is where all cell-related
classes are located, other than the core classes such as
Cell , IndexedCell ,
ListCell , TreeCell ,
and TableCell . |
Modifier and Type | Field and Description |
---|---|
static Callback<TreeTableColumn<?,?>,TreeTableCell<?,?>> |
TreeTableColumn.DEFAULT_CELL_FACTORY
If no cellFactory is specified on a TreeTableColumn instance, then this one
will be used by default.
|
Modifier and Type | Method and Description |
---|---|
TreeTableColumn<S,?> |
TreeTableView.ResizeFeatures.getColumn()
Returns the column upon which the resize is occurring, or null
if this ResizeFeatures instance was created as a result of a
TreeTableView resize operation.
|
TreeTableColumn<S,T> |
TreeTableCell.getTableColumn()
Gets the value of the property tableColumn.
|
TreeTableColumn<S,T> |
TreeTableColumn.CellEditEvent.getTableColumn()
Returns the TreeTableColumn upon which this event occurred.
|
TreeTableColumn<S,T> |
TreeTablePosition.getTableColumn() |
TreeTableColumn<S,?> |
TreeTableView.getTreeColumn()
Gets the value of the property treeColumn.
|
TreeTableColumn<S,T> |
TreeTableColumn.CellDataFeatures.getTreeTableColumn()
Returns the
TreeTableColumn passed in to the constructor. |
TreeTableColumn<S,?> |
TreeTableView.getVisibleLeafColumn(int column)
Returns the TreeTableColumn in the given column index, relative to all other
visible leaf columns.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>> |
TreeTableColumn.cellFactoryProperty()
The cell factory for all cells in this column.
|
Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
TreeTableColumn.getCellFactory()
Gets the value of the property cellFactory.
|
ObservableList<TreeTableColumn<S,?>> |
TreeTableColumn.getColumns()
This enables support for nested columns, which can be useful to group
together related data.
|
ObservableList<TreeTableColumn<S,?>> |
TreeTableView.getColumns()
The TreeTableColumns that are part of this TableView.
|
EventHandler<ScrollToEvent<TreeTableColumn<S,?>>> |
TreeTableView.getOnScrollToColumn()
Gets the value of the property onScrollToColumn.
|
ObservableList<TreeTableColumn<S,?>> |
TreeTableView.getSortOrder()
The sortOrder list defines the order in which
TreeTableColumn instances
are sorted. |
ObservableList<TreeTableColumn<S,?>> |
TreeTableView.getVisibleLeafColumns()
Returns an unmodifiable list containing the currently visible leaf columns.
|
ObjectProperty<EventHandler<ScrollToEvent<TreeTableColumn<S,?>>>> |
TreeTableView.onScrollToColumnProperty()
Called when there's a request to scroll a column into view using
TreeTableView.scrollToColumn(TreeTableColumn)
or TreeTableView.scrollToColumnIndex(int) |
ReadOnlyObjectProperty<TreeTableColumn<S,T>> |
TreeTableCell.tableColumnProperty() |
ObjectProperty<TreeTableColumn<S,?>> |
TreeTableView.treeColumnProperty()
Property that represents which column should have the disclosure node
shown in it (that is, the column with the arrow).
|
Modifier and Type | Method and Description |
---|---|
void |
TreeTableView.edit(int row,
TreeTableColumn<S,?> column)
Causes the cell at the given row/column view indexes to switch into
its editing state, if it is not already in it, and assuming that the
TableView and column are also editable.
|
void |
TreeTableView.TreeTableViewFocusModel.focus(int row,
TreeTableColumn<S,?> column)
Causes the item at the given index to receive the focus.
|
int |
TreeTableView.getVisibleLeafIndex(TreeTableColumn<S,?> column)
Returns the position of the given column, relative to all other
visible leaf columns.
|
boolean |
TreeTableView.TreeTableViewFocusModel.isFocused(int row,
TreeTableColumn<S,?> column)
Tests whether the row / cell at the given location currently has the
focus within the TableView.
|
boolean |
TreeTableView.resizeColumn(TreeTableColumn<S,?> column,
double delta)
Applies the currently installed resize policy against the given column,
resizing it based on the delta value provided.
|
void |
TreeTableView.scrollToColumn(TreeTableColumn<S,?> column)
Scrolls the TreeTableView so that the given column is visible within the viewport.
|
void |
TreeTableView.setTreeColumn(TreeTableColumn<S,?> value)
Sets the value of the property treeColumn.
|
void |
TreeTableCell.updateTreeTableColumn(TreeTableColumn<S,T> col)
Updates the TreeTableColumn associated with this TreeTableCell.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeTableColumn.setCellFactory(Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> value)
Sets the value of the property cellFactory.
|
void |
TreeTableView.setOnScrollToColumn(EventHandler<ScrollToEvent<TreeTableColumn<S,?>>> value)
Sets the value of the property onScrollToColumn.
|
Constructor and Description |
---|
CellDataFeatures(TreeTableView<S> treeTableView,
TreeTableColumn<S,T> tableColumn,
TreeItem<S> value)
Instantiates a CellDataFeatures instance with the given properties
set as read-only values of this instance.
|
ResizeFeatures(TreeTableView<S> treeTable,
TreeTableColumn<S,?> column,
Double delta)
Creates an instance of this class, with the provided TreeTableView,
TreeTableColumn and delta values being set and stored in this immutable
instance.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static <S> Callback<TreeTableColumn<S,Double>,TreeTableCell<S,Double>> |
ProgressBarTreeTableCell.forTreeTableColumn()
Provides a
ProgressBar that allows easy visualisation of a Number
value as it proceeds from 0.0 to 1.0. |
static <S> Callback<TreeTableColumn<S,String>,TreeTableCell<S,String>> |
TextFieldTreeTableCell.forTreeTableColumn()
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when
TreeTableView.edit(int, javafx.scene.control.TreeTableColumn) is called. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty)
Creates a cell factory for use in a
TreeTableColumn cell factory. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty,
boolean showLabel)
Creates a cell factory for use in a
TreeTableColumn cell factory. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty,
StringConverter<T> converter)
Creates a cell factory for use in a
TreeTableColumn cell factory. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
ChoiceBoxTreeTableCell.forTreeTableColumn(ObservableList<T> items)
Creates a ChoiceBox cell factory for use in
TreeTableColumn controls. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
ComboBoxTreeTableCell.forTreeTableColumn(ObservableList<T> items)
Creates a ComboBox cell factory for use in
TreeTableColumn controls. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
TextFieldTreeTableCell.forTreeTableColumn(StringConverter<T> converter)
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when
TreeTableView.edit(int, javafx.scene.control.TreeTableColumn) is called. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
ChoiceBoxTreeTableCell.forTreeTableColumn(StringConverter<T> converter,
ObservableList<T> items)
Creates a ChoiceBox cell factory for use in
TreeTableColumn controls. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
ComboBoxTreeTableCell.forTreeTableColumn(StringConverter<T> converter,
ObservableList<T> items)
Creates a ComboBox cell factory for use in
TreeTableColumn controls. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
ChoiceBoxTreeTableCell.forTreeTableColumn(StringConverter<T> converter,
T... items)
Creates a ChoiceBox cell factory for use in
TreeTableColumn controls. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
ComboBoxTreeTableCell.forTreeTableColumn(StringConverter<T> converter,
T... items)
Creates a ComboBox cell factory for use in
TreeTableColumn controls. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
ChoiceBoxTreeTableCell.forTreeTableColumn(T... items)
Creates a ChoiceBox cell factory for use in
TreeTableColumn controls. |
static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
ComboBoxTreeTableCell.forTreeTableColumn(T... items)
Creates a ComboBox cell factory for use in
TreeTableColumn controls. |
static <S> Callback<TreeTableColumn<S,Boolean>,TreeTableCell<S,Boolean>> |
CheckBoxTreeTableCell.forTreeTableColumn(TreeTableColumn<S,Boolean> column)
Creates a cell factory for use in a
TreeTableColumn cell factory. |
Modifier and Type | Method and Description |
---|---|
static <S> Callback<TreeTableColumn<S,Boolean>,TreeTableCell<S,Boolean>> |
CheckBoxTreeTableCell.forTreeTableColumn(TreeTableColumn<S,Boolean> column)
Creates a cell factory for use in a
TreeTableColumn cell factory. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.