Package | Description |
---|---|
com.sun.javafx.scene.control | |
com.sun.javafx.scene.control.behavior | |
com.sun.javafx.scene.control.skin | |
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 . |
Constructor and Description |
---|
TreeTableColumnComparator(TreeTableColumn<S,T>... columns) |
Constructor and Description |
---|
TreeTableColumnComparator(java.util.List<TreeTableColumn<S,T>> columns) |
Modifier and Type | Method and Description |
---|---|
protected TreeTableColumn<S,T> |
TreeTableCellBehavior.getTableColumn() |
protected TreeTableColumn |
TreeTableViewBehavior.getVisibleLeafColumn(int index)
Returns the column at the given index in the visible leaf columns list of
the underlying control.
|
Modifier and Type | Method and Description |
---|---|
protected TablePositionBase<TreeTableColumn<T,?>> |
TreeTableViewBehavior.getTablePosition(int row,
TableColumnBase<TreeItem<T>,?> tc)
Creates a TablePositionBase instance using the underlying controls
concrete implementation for the given row/column intersection.
|
protected ObservableList<TreeTableColumn<T,?>> |
TreeTableViewBehavior.getVisibleLeafColumns()
Returns an observable list of all visible leaf columns in the underlying
control.
|
Modifier and Type | Field and Description |
---|---|
private TreeTableColumn<S,T> |
TreeTableCellSkin.tableColumn |
Modifier and Type | Method and Description |
---|---|
protected TreeTableColumn<T,?> |
TreeTableRowSkin.getTableColumnBase(TreeTableCell cell) |
protected TreeTableColumn<S,?> |
TreeTableViewSkin.getVisibleLeafColumn(int col) |
Modifier and Type | Method and Description |
---|---|
protected ObservableList<TreeTableColumn<S,?>> |
TreeTableViewSkin.getColumns() |
protected ObservableList<TreeTableColumn<S,?>> |
TreeTableViewSkin.getSortOrder() |
protected ObservableList<TreeTableColumn<T,?>> |
TreeTableRowSkin.getVisibleLeafColumns() |
protected ObservableList<TreeTableColumn<S,?>> |
TreeTableViewSkin.getVisibleLeafColumns() |
Modifier and Type | Method and Description |
---|---|
protected void |
TreeTableViewSkin.edit(int index,
TreeTableColumn<S,?> column) |
protected int |
TreeTableViewSkin.getVisibleLeafIndex(TreeTableColumn<S,?> tc) |
protected boolean |
TreeTableViewSkin.resizeColumn(TreeTableColumn<S,?> tc,
double delta) |
protected void |
TreeTableViewSkin.resizeColumnToFitContent(TreeTableColumn<S,?> tc,
int maxRows) |
Modifier and Type | Field and Description |
---|---|
private TreeTableColumn<S,T> |
TreeTableColumn.CellDataFeatures.tableColumn |
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> |
TreeTablePosition.getTableColumn() |
TreeTableColumn<S,T> |
TreeTableColumn.CellEditEvent.getTableColumn()
Returns the TreeTableColumn upon which this event occurred.
|
TreeTableColumn<S,T> |
TreeTableCell.getTableColumn() |
private TreeTableColumn<S,?> |
TreeTableView.TreeTableViewArrayListSelectionModel.getTableColumn(int pos) |
private TreeTableColumn<S,?> |
TreeTableView.TreeTableViewArrayListSelectionModel.getTableColumn(TreeTableColumn<S,?> column,
int offset) |
private TreeTableColumn<S,?> |
TreeTableView.TreeTableViewFocusModel.getTableColumn(TreeTableColumn<S,?> column,
int offset) |
TreeTableColumn<S,?> |
TreeTableView.getTreeColumn() |
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() |
Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> |
TreeTableColumn.getCellFactory() |
ObservableList<TreeTableColumn<S,?>> |
TreeTableView.getColumns()
The TreeTableColumns that are part of this TableView.
|
ObservableList<TreeTableColumn<S,?>> |
TreeTableColumn.getColumns()
This enables support for nested columns, which can be useful to group
together related data.
|
EventHandler<ScrollToEvent<TreeTableColumn<S,?>>> |
TreeTableView.getOnScrollToColumn() |
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() |
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.
|
private void |
TreeTableView.TreeTableViewSelectionModel.focus(int row,
TreeTableColumn<S,?> column)
*
Private implementation *
*
|
private void |
TreeTableView.TreeTableViewArrayListSelectionModel.focus(int row,
TreeTableColumn<S,?> column) |
void |
TreeTableView.TreeTableViewFocusModel.focus(int row,
TreeTableColumn<S,?> column)
Causes the item at the given index to receive the focus.
|
private TreeTableColumn<S,?> |
TreeTableView.TreeTableViewArrayListSelectionModel.getTableColumn(TreeTableColumn<S,?> column,
int offset) |
private TreeTableColumn<S,?> |
TreeTableView.TreeTableViewFocusModel.getTableColumn(TreeTableColumn<S,?> column,
int offset) |
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.
|
private void |
TreeTableCell.setTableColumn(TreeTableColumn<S,T> value) |
void |
TreeTableView.setTreeColumn(TreeTableColumn<S,?> value) |
void |
TreeTableCell.updateTreeTableColumn(TreeTableColumn<S,T> col)
Updates the TreeTableColumn associated with this TreeTableCell.
|
Modifier and Type | Method and Description |
---|---|
private void |
TreeTableView.buildVisibleLeafColumns(java.util.List<TreeTableColumn<S,?>> cols,
java.util.List<TreeTableColumn<S,?>> vlc) |
private void |
TreeTableView.buildVisibleLeafColumns(java.util.List<TreeTableColumn<S,?>> cols,
java.util.List<TreeTableColumn<S,?>> vlc) |
void |
TreeTableColumn.setCellFactory(Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>> value) |
void |
TreeTableView.setOnScrollToColumn(EventHandler<ScrollToEvent<TreeTableColumn<S,?>>> value) |
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,
java.lang.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,java.lang.Double>,TreeTableCell<S,java.lang.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,java.lang.String>,TreeTableCell<S,java.lang.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<java.lang.Integer,ObservableValue<java.lang.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<java.lang.Integer,ObservableValue<java.lang.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<java.lang.Integer,ObservableValue<java.lang.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,java.lang.Boolean>,TreeTableCell<S,java.lang.Boolean>> |
CheckBoxTreeTableCell.forTreeTableColumn(TreeTableColumn<S,java.lang.Boolean> column)
Creates a cell factory for use in a
TreeTableColumn cell factory. |
Modifier and Type | Method and Description |
---|---|
static <S> Callback<TreeTableColumn<S,java.lang.Boolean>,TreeTableCell<S,java.lang.Boolean>> |
CheckBoxTreeTableCell.forTreeTableColumn(TreeTableColumn<S,java.lang.Boolean> column)
Creates a cell factory for use in a
TreeTableColumn cell factory. |