ChoiceBoxTableCell

scalafx.scene.control.cell.ChoiceBoxTableCell
See theChoiceBoxTableCell 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 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 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 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 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 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 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 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 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 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 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 parameters

T

The type of the elements contained within the TableColumn.

Value parameters

cell

ScalaFX ChoiceBoxTableCell

Attributes

Returns

JavaFX ChoiceBoxTableCell