# Uses of Class
javafx.scene.control.TableColumn

Packages that use TableColumn
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`.
javafx.scene.control.skin
The javafx.scene.control.skin package is where the skin classes, typically one for each UI control, are located

## Uses of TableColumn in javafx.scene.control

Fields in javafx.scene.control with type parameters of type TableColumn
Modifier and Type
Field
Description
`static 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.
Methods in javafx.scene.control that return TableColumn
Modifier and Type
Method
Description
`TableColumn<S,?>`
TableView.ResizeFeatures.`getColumn()`
Returns the column upon which the resize is occurring, or null if this ResizeFeatures instance was created as a result of a TableView resize operation.
`final TableColumn<S,T>`
TableCell.`getTableColumn()`
Gets the value of the `tableColumn` property.
`TableColumn<S,T>`
TableColumn.CellDataFeatures.`getTableColumn()`
Returns the `TableColumn` passed in to the constructor.
`TableColumn<S,T>`
TableColumn.CellEditEvent.`getTableColumn()`
Returns the TableColumn upon which this event occurred.
`final TableColumn<S,T>`
TablePosition.`getTableColumn()`
The TableColumn that this TablePosition represents in the TableView.
`TableColumn<S,?>`
TableView.`getVisibleLeafColumn(int column)`
Returns the TableColumn in the given column index, relative to all other visible leaf columns.
Methods in javafx.scene.control that return types with arguments of type TableColumn
Modifier and Type
Method
Description
`final ObjectProperty<Callback<TableColumn<S,T>,TableCell<S,T>>>`
TableColumn.`cellFactoryProperty()`
The cell factory for all cells in this column.
`final Callback<TableColumn<S,T>,TableCell<S,T>>`
TableColumn.`getCellFactory()`
Gets the value of the `cellFactory` property.
`final ObservableList<TableColumn<S,?>>`
TableColumn.`getColumns()`
This enables support for nested columns, which can be useful to group together related data.
`final ObservableList<TableColumn<S,?>>`
TableView.`getColumns()`
The TableColumns that are part of this TableView.
`EventHandler<ScrollToEvent<TableColumn<S,?>>>`
TableView.`getOnScrollToColumn()`
Gets the value of the `onScrollToColumn` property.
`final ObservableList<TableColumn<S,?>>`
TableView.`getSortOrder()`
The sortOrder list defines the order in which `TableColumn` instances are sorted.
`ObservableList<TableColumn<S,?>>`
TableView.`getVisibleLeafColumns()`
Returns an unmodifiable list containing the currently visible leaf columns.
`ObjectProperty<EventHandler<ScrollToEvent<TableColumn<S,?>>>>`
TableView.`onScrollToColumnProperty()`
Called when there's a request to scroll a column into view using `TableView.scrollToColumn(TableColumn)` or `TableView.scrollToColumnIndex(int)`
`final ReadOnlyObjectProperty<TableColumn<S,T>>`
TableCell.`tableColumnProperty()`
The TableColumn instance that backs this TableCell.
Methods in javafx.scene.control with parameters of type TableColumn
Modifier and Type
Method
Description
`abstract void`
TableView.TableViewSelectionModel.`clearAndSelect(int row, TableColumn<S,?> column)`
Clears all selection, and then selects the cell at the given row/column intersection.
`abstract void`
TableView.TableViewSelectionModel.`clearSelection(int row, TableColumn<S,?> column)`
Removes selection from the specified row/column position (in view indexes).
`void`
TableView.`edit(int row, TableColumn<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`
TableView.TableViewFocusModel.`focus(int row, TableColumn<S,?> column)`
Causes the item at the given index to receive the focus.
`int`
TableView.`getVisibleLeafIndex(TableColumn<S,?> column)`
Returns the position of the given column, relative to all other visible leaf columns.
`boolean`
TableView.TableViewFocusModel.`isFocused(int row, TableColumn<S,?> column)`
Tests whether the row / cell at the given location currently has the focus within the TableView.
`abstract boolean`
TableView.TableViewSelectionModel.`isSelected(int row, TableColumn<S,?> column)`
Convenience function which tests whether the given row and column index is currently selected in this table instance.
`boolean`
TableView.`resizeColumn(TableColumn<S,?> column, double delta)`
Applies the currently installed resize policy against the given column, resizing it based on the delta value provided.
`void`
TableView.`scrollToColumn(TableColumn<S,?> column)`
Scrolls the TableView so that the given column is visible within the viewport.
`abstract void`
TableView.TableViewSelectionModel.`select(int row, TableColumn<S,?> column)`
Selects the cell at the given row/column intersection.
`final void`
TableCell.`updateTableColumn(TableColumn col)`
Updates the TableColumn associated with this TableCell.
Method parameters in javafx.scene.control with type arguments of type TableColumn
Modifier and Type
Method
Description
`final void`
TableColumn.`setCellFactory(Callback<TableColumn<S,T>,TableCell<S,T>> value)`
Sets the value of the `cellFactory` property.
`void`
TableView.`setOnScrollToColumn(EventHandler<ScrollToEvent<TableColumn<S,?>>> value)`
Sets the value of the `onScrollToColumn` property.
Constructors in javafx.scene.control with parameters of type TableColumn
Modifier
Constructor
Description
``
`CellDataFeatures(TableView<S> tableView, TableColumn<S,T> tableColumn, S value)`
Instantiates a CellDataFeatures instance with the given properties set as read-only values of this instance.
``
`ResizeFeatures(TableView<S> table, TableColumn<S,?> column, Double delta)`
Creates an instance of this class, with the provided TableView, TableColumn and delta values being set and stored in this immutable instance.
``
`TablePosition(TableView<S> tableView, int row, TableColumn<S,T> tableColumn)`
Constructs a TablePosition instance to represent the given row/column position in the given TableView instance.

## Uses of TableColumn in javafx.scene.control.cell

Methods in javafx.scene.control.cell that return types with arguments of type TableColumn
Modifier and Type
Method
Description
`static <S> Callback<TableColumn<S,Boolean>,TableCell<S,Boolean>>`
CheckBoxTableCell.`forTableColumn(TableColumn<S,Boolean> column)`
Creates a cell factory for use in a `TableColumn` 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 a `TableColumn` 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 a `TableColumn` 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 a `TableColumn` cell factory.
`static <S, T> Callback<TableColumn<S,T>,TableCell<S,T>>`
ChoiceBoxTableCell.`forTableColumn(ObservableList<T> items)`
Creates a ChoiceBox cell factory for use in `TableColumn` 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 in `TableColumn` 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 in `TableColumn` controls.
`static <S, T> Callback<TableColumn<S,T>,TableCell<S,T>>`
ChoiceBoxTableCell.`forTableColumn(T... items)`
Creates a ChoiceBox cell factory for use in `TableColumn` controls.
`static <S, T> Callback<TableColumn<S,T>,TableCell<S,T>>`
ComboBoxTableCell.`forTableColumn(ObservableList<T> items)`
Creates a ComboBox cell factory for use in `TableColumn` 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 in `TableColumn` 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 in `TableColumn` controls.
`static <S, T> Callback<TableColumn<S,T>,TableCell<S,T>>`
ComboBoxTableCell.`forTableColumn(T... items)`
Creates a ComboBox cell factory for use in `TableColumn` controls.
`static <S> Callback<TableColumn<S,Double>,TableCell<S,Double>>`
ProgressBarTableCell.`forTableColumn()`
Provides a `ProgressBar` 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 a `TextField` that allows editing of the cell content when the cell is double-clicked, or when `TableView.edit(int, javafx.scene.control.TableColumn)` is called.
`static <S, T> Callback<TableColumn<S,T>,TableCell<S,T>>`
TextFieldTableCell.`forTableColumn(StringConverter<T> converter)`
Provides a `TextField` that allows editing of the cell content when the cell is double-clicked, or when `TableView.edit(int, javafx.scene.control.TableColumn)` is called.
Methods in javafx.scene.control.cell with parameters of type TableColumn
Modifier and Type
Method
Description
`static <S> Callback<TableColumn<S,Boolean>,TableCell<S,Boolean>>`
CheckBoxTableCell.`forTableColumn(TableColumn<S,Boolean> column)`
Creates a cell factory for use in a `TableColumn` cell factory.

## Uses of TableColumn in javafx.scene.control.skin

Methods in javafx.scene.control.skin that return TableColumn
Modifier and Type
Method
Description
`protected TableColumn<T,?>`
TableRowSkin.`getTableColumn(TableCell<T,?> cell)`
Returns the `TableColumnBase` instance for the given cell instance.
Methods in javafx.scene.control.skin that return types with arguments of type TableColumn
Modifier and Type
Method
Description
`protected ObservableList<TableColumn<T,?>>`
TableRowSkin.`getVisibleLeafColumns()`
Returns an unmodifiable list containing the currently visible leaf columns.
`ReadOnlyObjectProperty<TableColumn<S,T>>`
TableCellSkin.`tableColumnProperty()`
The TableColumnBase instance that is responsible for this Cell.