ChoiceBoxTreeCell

scalafx.scene.control.cell.ChoiceBoxTreeCell
See theChoiceBoxTreeCell 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 ChoiceBox cell factory for use in TreeView controls.

Creates a ChoiceBox cell factory for use in TreeView controls.

Type parameters

T

The type of the elements contained within the TableColumn.

Value parameters

items

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

Attributes

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 parameters

T

The type of the elements contained within the TableColumn.

Value parameters

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.

Attributes

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 parameters

T

The type of the elements contained within the TableColumn.

Value parameters

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.

Attributes

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 parameters

T

The type of the elements contained within the TableColumn.

Value parameters

items

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

Attributes

Returns

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

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

Converts a ScalaFX ChoiceBoxTreeCell to its JavaFX counterpart.

Converts a ScalaFX ChoiceBoxTreeCell to its JavaFX counterpart.

Type parameters

T

The type of the elements contained within the TableColumn.

Value parameters

cell

ScalaFX ChoiceBoxTreeCell

Attributes

Returns

JavaFX ChoiceBoxTreeCell