Companion Object for scalafx.scene.control.cell.CheckBoxTableCell.
Companion Object for scalafx.scene.control.cell.CheckBoxTableCell.
- Companion
- class
Value members
Concrete methods
Creates a cell factory for use in a TableColumn
cell factory.
Creates a cell factory for use in a TableColumn
cell factory.
- Value Params
- selectedProperty
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.
Creates a cell factory for use in a TableColumn
cell factory.
Creates a cell factory for use in a TableColumn
cell factory.
- Value Params
- selectedProperty
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.
- showLabel
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.
- Value Params
- converter
A StringConverter that, give an object of type T, will return a String that can be used to represent the object visually.
- selectedProperty
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.
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.
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)
...
}
- Type Params
- S
cell value type.
- Value Params
- column
column for which to create the factory
- Returns
Cell factory
Deprecated methods
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forTableView[S, T](Int => ObservableValue[Boolean, java.lang.Boolean])
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[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.
- Deprecated
[Since version 1.0]
Use forTableView[S, T](Int => ObservableValue[Boolean, java.lang.Boolean], StringConverter[T])