public static <T> Callback<TreeView<T>, TreeCell<T>> forTreeView (ObservableList<T> items)

Creates a ComboBox cell factory for use in TreeView controls. By default, the ComboBoxCell 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, excluding the space allocated to the tree cell indentation and disclosure node(i.e. the arrow).

Parameters:
<T>    The type of the TreeItem elements contained within the TreeView.
items    An ObservableList containing 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 generic type, such that upon selection, they replace the existing value in the TreeItem that is being edited (as noted in the TreeView.editingItemProperty().

Returns:  A Callback that will return a TreeCell that is able to work on the type of element contained within the TreeView.