ChoiceBoxTableCell

class Object
trait Matchable
class Any

Value members

Concrete methods

def forTableColumn[S, T](items: ObservableBuffer[T]): TableColumn[S, T] => TableCell[S, T]

Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.

Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn 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 TableCell that is able to work on the type of element contained within the TableColumn.

def forTableColumn[S, T](converter: StringConverter[T], items: ObservableBuffer[T]): TableColumn[S, T] => TableCell[S, T]

Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.

Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn 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 TableCell that is able to work on the type of element contained within the TableColumn.

def forTableColumn[S, T](converter: StringConverter[T], items: T*): TableColumn[S, T] => TableCell[S, T]

Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.

Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn 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 TableCell that is able to work on the type of element contained within the TableColumn.

def forTableColumn[S, T](items: T*): TableColumn[S, T] => TableCell[S, T]

Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn controls.

Creates a scalafx.scene.control.ChoiceBox cell factory for use in scalafx.scene.control.TableColumn 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 TableCell that is able to work on the type of element contained within the TableColumn.

Deprecated methods

@deprecated(message = "Use forTableColumn[S, T](ObservableBuffer[T])", since = "1.0")
def forTableColumn[S, T](items: ObservableList[T]): Callback[TableColumn[S, T], TableCell[S, T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

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

Added to satisfy Spec tests.

Added to satisfy Spec tests.

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

Added to satisfy Spec tests.

Added to satisfy Spec tests.

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

Added to satisfy Spec tests.

Added to satisfy Spec tests.

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

Implicits

Implicits

implicit def sfxChoiceBoxTableCell2jfx[S, T](cell: ChoiceBoxTableCell[S, T]): ChoiceBoxTableCell[S, T]

Converts a ScalaFX ChoiceBoxTableCell to its JavaFX counterpart.

Converts a ScalaFX ChoiceBoxTableCell to its JavaFX counterpart.

Type Params
T

The type of the elements contained within the TableColumn.

Value Params
cell

ScalaFX ChoiceBoxTableCell

Returns

JavaFX ChoiceBoxTableCell