Companion Object for scalafx.scene.control.cell.ChoiceBoxListCell.
Companion Object for scalafx.scene.control.cell.ChoiceBoxListCell.
- Companion
- class
Value members
Concrete methods
Creates a ChoiceBox
cell factory for use in ListView
controls.
Creates a ChoiceBox
cell factory for use in ListView
controls.
- Type Params
- T
The type of the elements contained within the
ListView
.
- Value Params
- 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 ListCell that is able to work on the type of element contained within the ListView.
Creates a ChoiceBox
cell factory for use in ListView
controls.
Creates a ChoiceBox
cell factory for use in ListView
controls.
- Type Params
- T
The type of the elements contained within the
ListView
.
- 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 ListCell that is able to work on the type of element contained within the ListView.
Creates a ChoiceBox
cell factory for use in ListView
controls.
Creates a ChoiceBox
cell factory for use in ListView
controls.
- Type Params
- T
The type of the elements contained within the
ListView
.
- 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 ListCell that is able to work on the type of element contained within the ListView.
Creates a ChoiceBox
cell factory for use in ListView
controls.
Creates a ChoiceBox
cell factory for use in ListView
controls.
- Type Params
- T
The type of the elements contained within the
ListView
.
- 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 ListCell that is able to work on the type of element contained within the ListView.
Deprecated methods
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forListView[T](ObservableBuffer[T])
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forListView[T](StringConverter[T], ObservableBuffer[T])
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forListView[T](StringConverter[T], T*)