ComboBoxTreeCell

scalafx.scene.control.cell.ComboBoxTreeCell
See theComboBoxTreeCell companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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 parameters

The

type of the elements contained within the TreeView.

Value parameters

items

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

Attributes

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 parameters

The

type of the elements contained within the TreeView.

Value parameters

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.

Attributes

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 parameters

The

type of the elements contained within the TreeView.

Value parameters

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.

Attributes

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 parameters

The

type of the elements contained within the TreeView.

Value parameters

items

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

Attributes

Returns

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

Deprecated methods

def forTreeView[T](items: ObservableList[T]): Callback[TreeView[T], TreeCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

Deprecated
[Since version 1.0] Use forTreeView[T](ObservableBuffer[T])
def forTreeView[T](converter: StringConverter[T], items: ObservableList[T]): Callback[TreeView[T], TreeCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

Deprecated
[Since version 1.0] Use forTreeView[T](StringConverter[T], ObservableBuffer[T])
def forTreeView[T](converter: StringConverter[T], items: T*): Callback[TreeView[T], TreeCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

Deprecated
[Since version 1.0] Use forTreeView[T](StringConverter[T], T*)
def forTreeView[T](items: Array[T]): Callback[TreeView[T], TreeCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

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 parameters

T

The type of the elements contained within the TreeView.

Value parameters

cell

ScalaFX ComboBoxTreeCell

Attributes

Returns

JavaFX ComboBoxTreeCell