Class ComboBoxTreeCell<T>

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

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

By default, the ComboBoxTreeCell 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 tree cell.

To create a ComboBoxTreeCell, 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 TreeView TreeItems, such that upon selection, they replace the existing value in the TreeItem.valueProperty().

Since:
JavaFX 2.2