Creates a cell factory producing CheckBoxTableCell
for use in a TableColumn cell factory.
Creates a cell factory producing CheckBoxTableCell
for use in a TableColumn cell factory.
This method requires that the TableColumn be of type Boolean.
When used in a TableColumn, the CheckBoxCell is rendered with a CheckBox centered in the column.
Equivalent to JavaFX static method forTableColumn
.
Example use:
new TableColumn[Item, java.lang.Boolean] { ... cellFactory = CheckBoxTableCell.forTableColumn(this) ... }
cell value type.
column for which to create the factory
Cell factory
Creates a cell factory for use in a TableColumn
cell factory.
Creates a cell factory for use in a TableColumn
cell factory.
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.
A StringConverter that, give an object of type T, will return a String that can be used to represent the object visually.
Creates a cell factory for use in a TableColumn
cell factory.
Creates a cell factory for use in a TableColumn
cell factory.
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.
In some cases, it may be desirable to show a label in the TableCell beside the CheckBox.
Creates a cell factory for use in a TableColumn
cell factory.
Creates a cell factory for use in a TableColumn
cell factory.
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.
Converts a ScalaFX CheckBoxTableCell
to its JavaFX counterpart.
Converts a ScalaFX CheckBoxTableCell
to its JavaFX counterpart.
ScalaFX CheckBoxTableCell
Added to satisfy Spec tests.
Added to satisfy Spec tests.
(Since version 1.0) Use forTableView[S, T](Int => ObservableValue[Boolean, java.lang.Boolean], StringConverter[T])
Added to satisfy Spec tests.
Added to satisfy Spec tests.
(Since version 1.0) Use forTableView[S, T](Int => ObservableValue[Boolean, java.lang.Boolean], Boolean)
Added to satisfy Spec tests.
Added to satisfy Spec tests.
(Since version 1.0) Use forTableView[S, T](Int => ObservableValue[Boolean, java.lang.Boolean])
Companion Object for scalafx.scene.control.cell.CheckBoxTableCell.