ComboBoxListCell

Companion
class
class Object
trait Matchable
class Any

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

Deprecated methods

@deprecated(message = "Use forListView[T](T => ObservableValue[Boolean, java.lang.Boolean])", since = "1.0")
def forListView[T](items: ObservableList[T]): Callback[ListView[T], ListCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

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

Added to satisfy Spec tests.

Added to satisfy Spec tests.

Deprecated
[Since version 1.0] Use forListView[T](StringConverter[T], ObservableBuffer[T])
@deprecated(message = "Use forListView[T](StringConverter[T], T*)", since = "1.0")
def forListView[T](converter: StringConverter[T], items: T*): Callback[ListView[T], ListCell[T]]

Added to satisfy Spec tests.

Added to satisfy Spec tests.

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 Params
T

The type of the elements contained within the TableColumn.

Value Params
cell

ScalaFX ComboBoxListCell

Returns

JavaFX ComboBoxListCell