Companion Object for scalafx.scene.control.cell.ChoiceBoxTableCell.
Companion Object for scalafx.scene.control.cell.ChoiceBoxTableCell.
- Companion
- class
Value members
Concrete methods
Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.
Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.
- Type Params
- T
The type of the elements contained within the
TableColumn
.
- Value Params
- items
Zero or more items that will be shown to the user when the ChoiceBox menu is showing.
- Returns
A Function that will return a
TableCell
that is able to work on the type of element contained within theTableColumn
.
Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.
Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.
- Type Params
- T
The type of the elements contained within the
TableColumn
.
- Value Params
- converter
A
StringConverter
to convert the given item (of type T) to a String for displaying to the user.- items
A
ObservableBuffer
containing Zero or more items that will be shown to the user when the ChoiceBox menu is showing.
- Returns
A Function that will return a
TableCell
that is able to work on the type of element contained within theTableColumn
.
Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.
Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.
- Type Params
- T
The type of the elements contained within the
TableColumn
.
- Value Params
- converter
A
StringConverter
to convert the given item (of type T) to a String for displaying to the user.- items
Zero or more items that will be shown to the user when the ChoiceBox menu is showing.
- Returns
A Function that will return a
TableCell
that is able to work on the type of element contained within theTableColumn
.
Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.
Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.
- Type Params
- T
The type of the elements contained within the
TableColumn
.
- Value Params
- items
Zero or more items that will be shown to the user when the ChoiceBox menu is showing.
- Returns
A Function that will return a
TableCell
that is able to work on the type of element contained within theTableColumn
.
Deprecated methods
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forTableColumn[S, T](ObservableBuffer[T])
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forTableColumn[S, T](StringConverter[T], ObservableBuffer[T])
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forTableColumn[S, T](StringConverter[T], T*)
Implicits
Implicits
Converts a ScalaFX ChoiceBoxTableCell
to its JavaFX counterpart.
Converts a ScalaFX ChoiceBoxTableCell
to its JavaFX counterpart.
- Type Params
- T
The type of the elements contained within the
TableColumn
.
- Value Params
- cell
ScalaFX
ChoiceBoxTableCell
- Returns
JavaFX
ChoiceBoxTableCell