CheckBoxTreeTableCell

Since

8.0

Todo

Replace all references to JavaFX TreeTableColumn to its ScalaFX counterpart when it was created

Companion
class
class Object
trait Matchable
class Any

Type members

Types

type IntToBool = Integer => ObservableValue[Boolean, JBoolean]
type JBoolean = Boolean
type JCallIntToBool = Callback[Integer, ObservableValue[JBoolean]]

Value members

Concrete methods

def forTreeTableColumn[S, T](selectedProperty: IntToBool): TreeTableColumn[S, T] => TreeTableCell[S, T]

Creates a cell factory for use in a $ T T C cell factory.

Creates a cell factory for use in a $ T T C cell factory.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

Value Params
selectedProperty

A Function that, given an object of type TreeTableColumn[S, T], will return an ObservableValue[Boolean] that represents whether the given item is selected or not.

Returns

A Callback that will return a TreeTableCell that is able to work on the type of element contained within the TreeTableColumn.

See also
def forTreeTableColumn[S, T](selectedProperty: IntToBool, showLabel: Boolean): TreeTableColumn[S, T] => TreeTableCell[S, T]

Creates a cell factory for use in a $ T T C cell factory.

Creates a cell factory for use in a $ T T C cell factory.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

Value Params
selectedProperty

A Function that, given an object of type TreeTableColumn[S, T], will return an ObservableValue[Boolean] that represents whether the given item is selected or not.

showLabel

In some cases, it may be desirable to show a label in the TreeTableCell beside the CheckBox.

Returns

A Callback that will return a TreeTableCell that is able to work on the type of element contained within the TreeTableColumn.

See also
def forTreeTableColumn[S, T](selectedProperty: IntToBool, converter: StringConverter[T]): TreeTableColumn[S, T] => TreeTableCell[S, T]

Creates a cell factory for use in a $ T T C cell factory.

Creates a cell factory for use in a $ T T C cell factory.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

Value Params
converter

A S t r i n g C o n v e r t e r 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 TreeTableColumn[S, T], will return an ObservableValue[Boolean] that represents whether the given item is selected or not.

Returns

A Callback that will return a TreeTableCell that is able to work on the type of element contained within the TreeTableColumn.

See also
def forTreeTableColumn[S](column: TreeTableColumn[S, JBoolean]): Callback[TreeTableColumn[S, JBoolean], TreeTableCell[S, JBoolean]]

Creates a cell factory for use in a $ T T C cell factory.

Creates a cell factory for use in a $ T T C cell factory.

Returns

A Callback that will return a TreeTableCell that is able to work on the type of element contained within the TreeTableColumn.

See also

Deprecated methods

@deprecated(message = "Use forTreeTableColumn[S, T](Integer => ObservableValue[Boolean, java.lang.Boolean]))", since = "8.0")
def forTreeTableColumn[S, T](selectedProperty: JCallIntToBool): Callback[TreeTableColumn[S, T], TreeTableCell[S, T]]

Added just to satisfy Spec tests.

Added just to satisfy Spec tests.

Deprecated
[Since version 8.0] Use forTreeTableColumn[S, T](Integer => ObservableValue[Boolean, java.lang.Boolean]))
@deprecated(message = "Use forTreeTableColumn[S, T](Integer => ObservableValue[Boolean, java.lang.Boolean], Boolean))", since = "8.0")
def forTreeTableColumn[S, T](selectedProperty: JCallIntToBool, showLabel: Boolean): Callback[TreeTableColumn[S, T], TreeTableCell[S, T]]

Added just to satisfy Spec tests.

Added just to satisfy Spec tests.

Deprecated
[Since version 8.0] Use forTreeTableColumn[S, T](Integer => ObservableValue[Boolean, java.lang.Boolean], Boolean))
@deprecated(message = "Use forTreeTableColumn[S, T](Integer => ObservableValue[Boolean, java.lang.Boolean], StringConverter[T]))", since = "8.0")
def forTreeTableColumn[S, T](selectedProperty: JCallIntToBool, converter: StringConverter[T]): Callback[TreeTableColumn[S, T], TreeTableCell[S, T]]

Added just to satisfy Spec tests.

Added just to satisfy Spec tests.

Deprecated
[Since version 8.0] Use forTreeTableColumn[S, T](Integer => ObservableValue[Boolean, java.lang.Boolean], StringConverter[T]))

Implicits

Implicits

implicit def sfxCheckBoxTreeTableCell2jfx[S, T](cell: CheckBoxTreeTableCell[S, T]): CheckBoxTreeTableCell[S, T]

Converts a ScalaFX CheckBoxTreeTableCell to its JavaFX counterpart.

Converts a ScalaFX CheckBoxTreeTableCell to its JavaFX counterpart.

Type Params
T

The type of the elements contained within the TreeTableColumn instance.

Value Params
cell

ScalaFX CheckBoxTreeTableCell

Returns

JavaFX CheckBoxTreeTableCell