Companion Object for scalafx.scene.control.cell.CheckBoxTreeCell.
Companion Object for scalafx.scene.control.cell.CheckBoxTreeCell.
- Companion
- class
Value members
Concrete methods
Creates a cell factory for use in a TreeView control, although there is a major assumption when used in a TreeView: this cell factory assumes that the TreeView root, and all children are instances of CheckBoxTreeItem, rather than the default TreeItem class that is used normally.
Creates a cell factory for use in a TreeView control, although there is a major assumption when used in a TreeView: this cell factory assumes that the TreeView root, and all children are instances of CheckBoxTreeItem, rather than the default TreeItem class that is used normally.
- Type Params
- T
The type of the elements contained within the CheckBoxTreeItem instances.
- Returns
A Function that will return a TreeCell that is able to work on the type of element contained within the TreeView root, and all of its children (recursively).
Creates a cell factory for use in a TreeView control.
Creates a cell factory for use in a TreeView control.
- Type Params
- T
The type of the elements contained within the TreeItem instances.
- Value Params
- selectedProperty
A Function that, given an object of type
TreeItem
, will return anObservableValue[Boolean]
that represents whether the given item is selected or not.
- Returns
A Function that will return a TreeCell that is able to work on the type of element contained within the TreeView root, and all of its children (recursively).
Creates a cell factory for use in a TreeView control.
Creates a cell factory for use in a TreeView control.
- Type Params
- T
The type of the elements contained within the TreeItem instances.
- Value Params
- converter
A StringConverter that, give an object of type TreeItem, will return a String that can be used to represent the object visually.
- selectedProperty
A Function that, given an object of type
TreeItem
, will return anObservableValue[Boolean]
that represents whether the given item is selected or not.
- Returns
A Function that will return a TreeCell that is able to work on the type of element contained within the TreeView root, and all of its children (recursively).
Deprecated methods
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forTreeView[T](TreeItem[T] => ObservableValue[Boolean, java.lang.Boolean]])
Added to satisfy Spec tests.
Added to satisfy Spec tests.
- Deprecated
[Since version 1.0]
Use forTreeView[T](TreeItem[T] => ObservableValue[Boolean, java.lang.Boolean], StringConverter[TreeItem[T]])