Class ComboBoxListCell<T>

java.lang.Object
Type Parameters:
T - The type of the elements contained within the ListView.
All Implemented Interfaces:
Styleable, EventTarget, Skinnable

public class ComboBoxListCell<T> extends ListCell<T>
A class containing a ListCell implementation that draws a ComboBox node inside the cell.

By default, the ComboBoxListCell is rendered as a Label when not being edited, and as a ComboBox when in editing mode. The ComboBox will, by default, stretch to fill the entire list cell.

To create a ComboBoxListCell, it is necessary to provide zero or more items that will be shown to the user when the ComboBox menu is showing. These items must be of the same type as the ListView items sequence, such that upon selection, they replace the existing value in the items list.

Since:
JavaFX 2.2