ChoiceBoxTreeTableCell

Since

8.0

Todo

Replace all references to JavaFX TreeTableColumn to its ScalaFX counterpart when it was created

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def forTreeTableColumn[S, T](items: ObservableBuffer[T]): TreeTableColumn[S, T] => TreeTableCell[S, T]

Creates a ChoiceBox cell factory for use in TreeTableColumn controls.

Creates a ChoiceBox cell factory for use in TreeTableColumn controls.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

Value Params
items

Zero or more items that will be shown to the user when the ChoiceBox menu is showing. These items must be of the same type as the TreeTableColumn.

Returns

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

See also
def forTreeTableColumn[S, T](converter: StringConverter[T], items: ObservableBuffer[T]): TreeTableColumn[S, T] => TreeTableCell[S, T]

Creates a ChoiceBox cell factory for use in TreeTableColumn controls.

Creates a ChoiceBox cell factory for use in TreeTableColumn controls.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

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. These items must be of the same type as the TreeTableColumn.

Returns

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

See also
def forTreeTableColumn[S, T](converter: StringConverter[T], items: T*): TreeTableColumn[S, T] => TreeTableCell[S, T]

Creates a ChoiceBox cell factory for use in TreeTableColumn controls.

Creates a ChoiceBox cell factory for use in TreeTableColumn controls.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

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. These items must be of the same type as the TreeTableColumn.

Returns

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

See also
def forTreeTableColumn[S, T](items: T*): TreeTableColumn[S, T] => TreeTableCell[S, T]

Creates a ChoiceBox cell factory for use in TreeTableColumn controls.

Creates a ChoiceBox cell factory for use in TreeTableColumn controls.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

Value Params
items

Zero or more items that will be shown to the user when the ChoiceBox menu is showing. These items must be of the same type as the TreeTableColumn.

Returns

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

See also

Deprecated methods

@deprecated(message = "Use forTreeTableColumn[S, T](ObservableBuffer[T])", since = "1.0")
def forTreeTableColumn[S, T](items: ObservableList[T]): Callback[TreeTableColumn[S, T], TreeTableCell[S, T]]

Added just to satisfy Spec tests.

Added just to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forTreeTableColumn[S, T](ObservableBuffer[T])
@deprecated(message = "Use forTreeTableColumn[S, T](StringConverter[T], ObservableBuffer[T])", since = "1.0")
def forTreeTableColumn[S, T](converter: StringConverter[T], items: ObservableList[T]): Callback[TreeTableColumn[S, T], TreeTableCell[S, T]]

Added just to satisfy Spec tests.

Added just to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forTreeTableColumn[S, T](StringConverter[T], ObservableBuffer[T])
@deprecated(message = "Use forTreeTableColumn[S, T](StringConverter[T], T*)", since = "1.0")
def forTreeTableColumn[S, T](converter: StringConverter[T], items: T*): Callback[TreeTableColumn[S, T], TreeTableCell[S, T]]

Added just to satisfy Spec tests.

Added just to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forTreeTableColumn[S, T](StringConverter[T], T*)
@deprecated(message = "Use forTreeTableColumn[S, T](T*)", since = "1.0")
def forTreeTableColumn[S, T](items: Array[T]): Callback[TreeTableColumn[S, T], TreeTableCell[S, T]]

Added just to satisfy Spec tests.

Added just to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forTreeTableColumn[S, T](T*)

Implicits

Implicits

implicit def sfxChoiceBoxTreeTableCell2jfx[S, T](cell: ChoiceBoxTreeTableCell[S, T]): ChoiceBoxTreeTableCell[S, T]

Converts a ScalaFX ChoiceBoxTreeTableCell to its JavaFX counterpart.

Converts a ScalaFX ChoiceBoxTreeTableCell to its JavaFX counterpart.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

Value Params
cell

ScalaFX ChoiceBoxTreeTableCell

Returns

JavaFX ChoiceBoxTreeTableCell