CheckBoxTreeTableCell

scalafx.scene.control.cell.CheckBoxTreeTableCell
See theCheckBoxTreeTableCell companion class

Attributes

Since

8.0

Todo

Replace all references to $JFX $TTC to its $SFX counterpart when it was created

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

Members list

Type members

Types

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 parameters

T

The type of the elements contained within the TreeTableColumn instance.

Value parameters

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.

Attributes

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 parameters

T

The type of the elements contained within the TreeTableColumn instance.

Value parameters

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.

Attributes

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 parameters

T

The type of the elements contained within the TreeTableColumn instance.

Value parameters

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.

Attributes

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.

Attributes

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

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.

Attributes

Deprecated
[Since version 8.0] Use forTreeTableColumn[S, T](Integer => ObservableValue[Boolean, java.lang.Boolean]))
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.

Attributes

Deprecated
[Since version 8.0] Use forTreeTableColumn[S, T](Integer => ObservableValue[Boolean, java.lang.Boolean], Boolean))
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.

Attributes

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 parameters

T

The type of the elements contained within the TreeTableColumn instance.

Value parameters

cell

ScalaFX CheckBoxTreeTableCell

Attributes

Returns

JavaFX CheckBoxTreeTableCell