public static <S, T> Callback<TableColumn<S, T>, TableCell<S, T>> forTableColumn (Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)

Creates a cell factory for use in a TableColumn cell factory. This method requires that the TableColumn be of type ObservableValue<Boolean>.

When used in a TableColumn, the CheckBoxCell is rendered with a CheckBox centered in the column.

Parameters:
<S>    The type of the TableView generic type
<T>    The type of the elements contained within the TableColumn instance.
getSelectedProperty    A Callback that, given an object of type TableColumn<S,T>, will return an ObservableValue<Boolean> that represents whether the given item is selected or not. This ObservableValue<Boolean> will be bound bidirectionally (meaning that the CheckBox in the cell will set/unset this property based on user interactions, and the CheckBox will reflect the state of the ObservableValue<Boolean>, if it changes externally).
converter    A StringConverter that, give an object of type T, will return a String that can be used to represent the object visually. The default implementation in forTableColumn(Callback, boolean) (when showLabel is true) is to simply call .toString() on all non-null items (and to just return an empty string in cases where the given item is null).

Returns:  A Callback that will return a TableCell that is able to work on the type of element contained within the TableColumn.