- java.lang.Object
-
- javafx.scene.control.TreeTableColumn.CellDataFeatures<S,T>
-
- Type Parameters:
S
- The TableView typeT
- The TreeTableColumn type
- Enclosing class:
- TreeTableColumn<S,T>
public static class TreeTableColumn.CellDataFeatures<S,T> extends Object
A support class used in TreeTableColumn as a wrapper class to provide all necessary information for a particularCell
. Once instantiated, this class is immutable.- Since:
- JavaFX 8.0
-
-
Constructor Summary
Constructors Constructor Description CellDataFeatures(TreeTableView<S> treeTableView, TreeTableColumn<S,T> tableColumn, TreeItem<S> value)
Instantiates a CellDataFeatures instance with the given properties set as read-only values of this instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeTableColumn<S,T>
getTreeTableColumn()
Returns theTreeTableColumn
passed in to the constructor.TreeTableView<S>
getTreeTableView()
Returns theTableView
passed in to the constructor.TreeItem<S>
getValue()
Returns the value passed in to the constructor.
-
-
-
Constructor Detail
-
CellDataFeatures
public CellDataFeatures(TreeTableView<S> treeTableView, TreeTableColumn<S,T> tableColumn, TreeItem<S> value)
Instantiates a CellDataFeatures instance with the given properties set as read-only values of this instance.- Parameters:
treeTableView
- The TableView that this instance refers to.tableColumn
- The TreeTableColumn that this instance refers to.value
- The value for a row in the TableView.
-
-
Method Detail
-
getValue
public TreeItem<S> getValue()
Returns the value passed in to the constructor.- Returns:
- the value passed in to the constructor
-
getTreeTableColumn
public TreeTableColumn<S,T> getTreeTableColumn()
Returns theTreeTableColumn
passed in to the constructor.- Returns:
- the
TreeTableColumn
passed in to the constructor
-
getTreeTableView
public TreeTableView<S> getTreeTableView()
Returns theTableView
passed in to the constructor.- Returns:
- the
TableView
passed in to the constructor
-
-