ComboBoxTreeCell

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def forTreeView[T](items: ObservableBuffer[T]): TreeView[T] => TreeCell[T]

Creates a ComboBox cell factory for use in scalafx.scene.control.TreeView controls.

Creates a ComboBox cell factory for use in scalafx.scene.control.TreeView controls.

Type Params
The

type of the elements contained within the TreeView.

Value Params
items

Zero or more items that will be shown to the user when the ComboBox menu is showing.

Returns

A function that will return a TableCell that is able to work on the type of element contained within the TableColumn.

def forTreeView[T](converter: StringConverter[T], items: ObservableBuffer[T]): TreeView[T] => TreeCell[T]

Creates a ComboBox cell factory for use in scalafx.scene.control.TreeView controls.

Creates a ComboBox cell factory for use in scalafx.scene.control.TreeView controls.

Type Params
The

type of the elements contained within the TreeView.

Value Params
converter

A scalafx.util.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 ComboBox menu is showing.

Returns

A function that will return a TableCell that is able to work on the type of element contained within the TableColumn.

def forTreeView[T](converter: StringConverter[T], items: T*): TreeView[T] => TreeCell[T]

Creates a ComboBox cell factory for use in scalafx.scene.control.TreeView controls.

Creates a ComboBox cell factory for use in scalafx.scene.control.TreeView controls.

Type Params
The

type of the elements contained within the TreeView.

Value Params
converter

A scalafx.util.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 ComboBox menu is showing.

Returns

A function that will return a TableCell that is able to work on the type of element contained within the TableColumn.

def forTreeView[T](items: T*): TreeView[T] => TreeCell[T]

Creates a ComboBox cell factory for use in scalafx.scene.control.TreeView controls.

Creates a ComboBox cell factory for use in scalafx.scene.control.TreeView controls.

Type Params
The

type of the elements contained within the TreeView.

Value Params
items

Zero or more items that will be shown to the user when the ComboBox menu is showing.

Returns

A function that will return a TableCell that is able to work on the type of element contained within the TableColumn.

Deprecated methods

@deprecated(message = "Use forTreeView[T](ObservableBuffer[T])", since = "1.0")
def forTreeView[T](items: ObservableList[T]): Callback[TreeView[T], TreeCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forTreeView[T](ObservableBuffer[T])
@deprecated(message = "Use forTreeView[T](StringConverter[T], ObservableBuffer[T])", since = "1.0")
def forTreeView[T](converter: StringConverter[T], items: ObservableList[T]): Callback[TreeView[T], TreeCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forTreeView[T](StringConverter[T], ObservableBuffer[T])
@deprecated(message = "Use forTreeView[T](StringConverter[T], T*)", since = "1.0")
def forTreeView[T](converter: StringConverter[T], items: T*): Callback[TreeView[T], TreeCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forTreeView[T](StringConverter[T], T*)
@deprecated(message = "Use forTreeView[T](T*)", since = "1.0")
def forTreeView[T](items: Array[T]): Callback[TreeView[T], TreeCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forTreeView[T](T*)

Implicits

Implicits

implicit def sfxComboBoxTreeCell2jfx[T](cell: ComboBoxTreeCell[T]): ComboBoxTreeCell[T]

Converts a ScalaFX ComboBoxTreeCell to its JavaFX counterpart.

Converts a ScalaFX ComboBoxTreeCell to its JavaFX counterpart.

Type Params
T

The type of the elements contained within the TreeView.

Value Params
cell

ScalaFX ComboBoxTreeCell

Returns

JavaFX ComboBoxTreeCell