Companion Object for scalafx.scene.control.cell.CheckBoxTableCell.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CheckBoxTableCell.type
Members list
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 parameters
- 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.
Attributes
Creates a cell factory for use in a TableColumn
cell factory.
Creates a cell factory for use in a TableColumn
cell factory.
Value parameters
- 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.
Attributes
Creates a cell factory for use in a TableColumn
cell factory.
Creates a cell factory for use in a TableColumn
cell factory.
Value parameters
- 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.
Attributes
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 parameters
- S
-
cell value type.
Value parameters
- column
-
column for which to create the factory
Attributes
- Returns
-
Cell factory
Deprecated methods
Added to satisfy Spec tests.
Added to satisfy Spec tests.
Attributes
- 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.
Attributes
- 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.
Attributes
- Deprecated
-
[Since version 1.0]
Use forTableView[S, T](Int => ObservableValue[Boolean, java.lang.Boolean], StringConverter[T])
Implicits
Implicits
Converts a ScalaFX CheckBoxTableCell
to its JavaFX counterpart.
Converts a ScalaFX CheckBoxTableCell
to its JavaFX counterpart.
Value parameters
- cell
-
ScalaFX
CheckBoxTableCell