CheckBoxListCell

scalafx.scene.control.cell.CheckBoxListCell
See theCheckBoxListCell companion class

Attributes

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

Members list

Value members

Concrete methods

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

Creates a cell factory for use in ListView controls.

Creates a cell factory for use in ListView controls.

Value parameters

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.

Attributes

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

Creates a cell factory for use in ListView controls.

Creates a cell factory for use in ListView controls.

Value parameters

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.

Attributes

Deprecated methods

def forListView[T](getSelectedProperty: Callback[T, ObservableValue[Boolean]]): 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](getSelectedProperty: Callback[T, ObservableValue[Boolean]], converter: StringConverter[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])

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 parameters

cell

ScalaFX CheckBoxListCell

Attributes