ChoiceBoxTreeCell

class Object
trait Matchable
class Any

Value members

Concrete methods

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

Creates a ChoiceBox cell factory for use in TreeView controls.

Creates a ChoiceBox cell factory for use in TreeView controls.

Type Params
T

The type of the elements contained within the TableColumn.

Value Params
items

A ObservableBuffer containing Zero or more items that will be shown to the user when the ChoiceBox menu is showing.

Returns

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

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

Creates a ChoiceBox cell factory for use in TreeView controls.

Creates a ChoiceBox cell factory for use in TreeView controls.

Type Params
T

The type of the elements contained within the TableColumn.

Value Params
converter

A StringConverter to convert the given item (of type T) to a String for displaying to the user.

items

A ObservableBuffer containing Zero or more items that will be shown to the user when the ChoiceBox menu is showing.

Returns

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

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

Creates a ChoiceBox cell factory for use in TreeView controls.

Creates a ChoiceBox cell factory for use in TreeView controls.

Type Params
T

The type of the elements contained within the TableColumn.

Value Params
converter

A 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 ChoiceBox menu is showing.

Returns

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

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

Creates a ChoiceBox cell factory for use in TreeView controls.

Creates a ChoiceBox cell factory for use in TreeView controls.

Type Params
T

The type of the elements contained within the TableColumn.

Value Params
items

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

Returns

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

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 sfxChoiceBoxTreeCell2jfx[T](cell: ChoiceBoxTreeCell[T]): ChoiceBoxTreeCell[T]

Converts a ScalaFX ChoiceBoxTreeCell to its JavaFX counterpart.

Converts a ScalaFX ChoiceBoxTreeCell to its JavaFX counterpart.

Type Params
T

The type of the elements contained within the TableColumn.

Value Params
cell

ScalaFX ChoiceBoxTreeCell

Returns

JavaFX ChoiceBoxTreeCell