ComboBoxTableCell

scalafx.scene.control.cell.ComboBoxTableCell
See theComboBoxTableCell companion class

Attributes

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

Members list

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 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 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 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 parameters

T

The type of the elements contained within the TableColumn.

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 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 parameters

T

The type of the elements contained within the TableColumn.

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 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 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 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 forTableColumn[S, T](items: ObservableList[T]): Callback[TableColumn[S, T], TableCell[S, T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

Deprecated
[Since version 1.0] Use forTableColumn[S, T](ObservableBuffer[T])
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.

Attributes

Deprecated
[Since version 1.0] Use forTableColumn[S, T](StringConverter[T], ObservableBuffer[T])
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.

Attributes

Deprecated
[Since version 1.0] Use forTableColumn[S, T](StringConverter[T], T*)
def forTableColumn[S, T](items: Array[T]): Callback[TableColumn[S, T], TableCell[S, T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

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 parameters

T

The type of the elements contained within the TableColumn.

Value parameters

cell

ScalaFX ComboBoxTableCell

Attributes

Returns

JavaFX ComboBoxTableCell