Class ChoiceBoxTableCell<S,T>

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

public class ChoiceBoxTableCell<S,T> extends TableCell<S,T>
A class containing a TableCell implementation that draws a ChoiceBox node inside the cell.

By default, the ChoiceBoxTableCell 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 table cell.

To create a ChoiceBoxTableCell, it is necessary to provide 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 TableColumn.

Since:
JavaFX 2.2