ComboBoxTableCell

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 ComboBox cell factory for use in scalafx.scene.control.TableColumn controls.

Creates a ComboBox 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 ComboBox 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 ComboBox cell factory for use in scalafx.scene.control.TableColumn controls.

Creates a ComboBox 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 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.

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 ComboBox cell factory for use in scalafx.scene.control.TableColumn controls.

Creates a ComboBox 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 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.

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 ComboBox cell factory for use in scalafx.scene.control.TableColumn controls.

Creates a ComboBox 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 ComboBox 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 sfxComboBoxTableCell2jfx[S, T](cell: ComboBoxTableCell[S, T]): ComboBoxTableCell[S, T]

Converts a ScalaFX ComboBoxTableCell to its JavaFX counterpart.

Converts a ScalaFX ComboBoxTableCell to its JavaFX counterpart.

Type Params
T

The type of the elements contained within the TableColumn.

Value Params
cell

ScalaFX ComboBoxTableCell

Returns

JavaFX ComboBoxTableCell