Uses of Class
javafx.scene.control.TableCell
Package
Description
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.
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
.The javafx.scene.control.skin package is where the skin classes, typically
one for each UI control, are located
-
Uses of TableCell in javafx.scene.control
Modifier and TypeFieldDescriptionstatic final Callback<TableColumn<?,
?>, TableCell<?, ?>> TableColumn.DEFAULT_CELL_FACTORY
If no cellFactory is specified on a TableColumn instance, then this one will be used by default.Modifier and TypeMethodDescriptionfinal ObjectProperty<Callback<TableColumn<S,
T>, TableCell<S, T>>> TableColumn.cellFactoryProperty()
The cell factory for all cells in this column.TableColumn.getCellFactory()
Gets the value of thecellFactory
property.Modifier and TypeMethodDescriptionfinal void
TableColumn.setCellFactory
(Callback<TableColumn<S, T>, TableCell<S, T>> value) Sets the value of thecellFactory
property. -
Uses of TableCell in javafx.scene.control.cell
Modifier and TypeClassDescriptionclass
CheckBoxTableCell<S,
T> class
ChoiceBoxTableCell<S,
T> class
ComboBoxTableCell<S,
T> class
A class containing aTableCell
implementation that draws aProgressBar
node inside the cell.class
TextFieldTableCell<S,
T> Modifier and TypeMethodDescriptionstatic <S> Callback<TableColumn<S,
Boolean>, TableCell<S, Boolean>> CheckBoxTableCell.forTableColumn
(TableColumn<S, Boolean> column) Creates a cell factory for use in aTableColumn
cell factory.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn
(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in aTableColumn
cell factory.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn
(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, boolean showLabel) Creates a cell factory for use in aTableColumn
cell factory.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn
(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a cell factory for use in aTableColumn
cell factory.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> ChoiceBoxTableCell.forTableColumn
(ObservableList<T> items) Creates a ChoiceBox cell factory for use inTableColumn
controls.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> ChoiceBoxTableCell.forTableColumn
(StringConverter<T> converter, ObservableList<T> items) Creates a ChoiceBox cell factory for use inTableColumn
controls.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> ChoiceBoxTableCell.forTableColumn
(StringConverter<T> converter, T... items) Creates a ChoiceBox cell factory for use inTableColumn
controls.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> ChoiceBoxTableCell.forTableColumn
(T... items) Creates a ChoiceBox cell factory for use inTableColumn
controls.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> ComboBoxTableCell.forTableColumn
(ObservableList<T> items) Creates a ComboBox cell factory for use inTableColumn
controls.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> ComboBoxTableCell.forTableColumn
(StringConverter<T> converter, ObservableList<T> items) Creates a ComboBox cell factory for use inTableColumn
controls.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> ComboBoxTableCell.forTableColumn
(StringConverter<T> converter, T... items) Creates a ComboBox cell factory for use inTableColumn
controls.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> ComboBoxTableCell.forTableColumn
(T... items) Creates a ComboBox cell factory for use inTableColumn
controls.static <S> Callback<TableColumn<S,
Double>, TableCell<S, Double>> ProgressBarTableCell.forTableColumn()
Provides aProgressBar
that allows easy visualisation of a Number value as it proceeds from 0.0 to 1.0.static <S> Callback<TableColumn<S,
String>, TableCell<S, String>> TextFieldTableCell.forTableColumn()
Provides aTextField
that allows editing of the cell content when the cell is double-clicked, or whenTableView.edit(int, javafx.scene.control.TableColumn)
is called.static <S,
T> Callback<TableColumn<S, T>, TableCell<S, T>> TextFieldTableCell.forTableColumn
(StringConverter<T> converter) Provides aTextField
that allows editing of the cell content when the cell is double-clicked, or whenTableView.edit(int, javafx.scene.control.TableColumn)
is called. -
Uses of TableCell in javafx.scene.control.skin
Modifier and TypeMethodDescriptionTableRowSkin.createCell
(TableColumnBase tcb) Creates a new cell instance that is suitable for representing the given table column instance.Modifier and TypeMethodDescriptionprotected TableColumn<T,
?> TableRowSkin.getTableColumn
(TableCell<T, ?> cell) Returns theTableColumnBase
instance for the given cell instance.protected void
TableRowSkin.updateCell
(TableCell<T, ?> cell, TableRow<T> row) A method to allow the given cell to be told that it is a member of the given row.ModifierConstructorDescriptionTableCellSkin
(TableCell<S, T> control) Creates a new TableCellSkin instance, installing the necessary child nodes into the Controlchildren
list, as well as the necessary input mappings for handling key, mouse, etc events.