ComboBoxListCell

scalafx.scene.control.cell.ComboBoxListCell
See theComboBoxListCell companion class

Attributes

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

Members list

Value members

Concrete methods

def forListView[T](items: ObservableBuffer[T]): ListView[T] => ListCell[T]

Creates a ComboBox cell factory for use in scalafx.scene.control.ListView controls.

Creates a ComboBox cell factory for use in scalafx.scene.control.ListView controls.

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 ListCell that is able to work on the type of element contained within the ListView.

def forListView[T](converter: StringConverter[T], items: ObservableBuffer[T]): ListView[T] => ListCell[T]

Creates a ComboBox cell factory for use in scalafx.scene.control.ListView controls.

Creates a ComboBox cell factory for use in scalafx.scene.control.ListView controls.

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 ListCell that is able to work on the type of element contained within the ListView.

def forListView[T](converter: StringConverter[T], items: T*): ListView[T] => ListCell[T]

Creates a ComboBox cell factory for use in scalafx.scene.control.ListView controls.

Creates a ComboBox cell factory for use in scalafx.scene.control.ListView controls.

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 ListCell that is able to work on the type of element contained within the ListView.

def forListView[T](items: T*): ListView[T] => ListCell[T]

Creates a ComboBox cell factory for use in scalafx.scene.control.ListView controls.

Creates a ComboBox cell factory for use in scalafx.scene.control.ListView controls.

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 ListCell that is able to work on the type of element contained within the ListView.

Deprecated methods

def forListView[T](items: ObservableList[T]): Callback[ListView[T], ListCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

Deprecated
[Since version 1.0] Use forListView[T](T => ObservableValue[Boolean, java.lang.Boolean])
def forListView[T](converter: StringConverter[T], items: ObservableList[T]): Callback[ListView[T], ListCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

Deprecated
[Since version 1.0] Use forListView[T](StringConverter[T], ObservableBuffer[T])
def forListView[T](converter: StringConverter[T], items: T*): Callback[ListView[T], ListCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Attributes

Deprecated
[Since version 1.0] Use forListView[T](StringConverter[T], T*)

Implicits

Implicits

implicit def sfxComboBoxListCell2jfx[T](cell: ComboBoxListCell[T]): ComboBoxListCell[T]

Converts a ScalaFX ComboBoxListCell to its JavaFX counterpart.

Converts a ScalaFX ComboBoxListCell to its JavaFX counterpart.

Type parameters

T

The type of the elements contained within the TableColumn.

Value parameters

cell

ScalaFX ComboBoxListCell

Attributes

Returns

JavaFX ComboBoxListCell