CheckBoxListCell

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def forListView[T](selectedProperty: T => ObservableValue[Boolean, Boolean]): ListView[T] => ListCell[T]

Creates a cell factory for use in ListView controls.

Creates a cell factory for use in ListView controls.

Value Params
selectedProperty

A Function that, given an object of type T (which is a value taken out of the ListView[T] list), will return an ObservableValue[Boolean] that represents whether the given item is selected or not.

def forListView[T](selectedProperty: T => ObservableValue[Boolean, Boolean], converter: StringConverter[T]): ListView[T] => ListCell[T]

Creates a cell factory for use in ListView controls.

Creates a cell factory for use in ListView controls.

Value Params
converter

A StringConverter that, give an object of type T, will return a String that can be used to represent the object visually.

selectedProperty

A Function that, given an object of type T (which is a value taken out of the ListView[T] list), will return an ObservableValue[Boolean] that represents whether the given item is selected or not.

Deprecated methods

@deprecated(message = "Use forListView[T](T => ObservableValue[Boolean, java.lang.Boolean])", since = "1.0")
def forListView[T](getSelectedProperty: Callback[T, ObservableValue[Boolean]]): 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](T => ObservableValue[Boolean, java.lang.Boolean])", since = "1.0")
def forListView[T](getSelectedProperty: Callback[T, ObservableValue[Boolean]], converter: StringConverter[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])

Implicits

Implicits

implicit def sfxCheckBoxListCell2jfx[T](cell: CheckBoxListCell[T]): CheckBoxListCell[T]

Converts a ScalaFX CheckBoxListCell to its JavaFX counterpart.

Converts a ScalaFX CheckBoxListCell to its JavaFX counterpart.

Value Params
cell

ScalaFX CheckBoxListCell