Creates a ChoiceBox cell factory for use in ListView
controls. By
default, the ChoiceBoxCell is rendered as a Label
when not being
edited, and as a ChoiceBox when in editing mode. The ChoiceBox will, by
default, stretch to fill the entire list cell.
<T> | The type of the elements contained within the ListView. | |
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. These items must be of the same
type as the ListView items list, such that upon selection, they
replace the existing value in the
items list. |
Callback
that will return a ListCell that is able to
work on the type of element contained within the ListView.
Diagram: ListCell