- java.lang.Object
-
- javafx.scene.control.TreeTableColumn.CellDataFeatures<S,T>
-
- Type Parameters:
-
S- The TableView type -
T- 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 MethodsInstance MethodsConcrete Methods Modifier and Type Method Description TreeTableColumn<S,T>getTreeTableColumn()Returns theTreeTableColumnpassed in to the constructor.TreeTableView<S>getTreeTableView()Returns theTableViewpassed 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 theTreeTableColumnpassed in to the constructor.- Returns:
- the
TreeTableColumnpassed in to the constructor
-
getTreeTableView
public TreeTableView<S> getTreeTableView()
Returns theTableViewpassed in to the constructor.- Returns:
- the
TableViewpassed in to the constructor
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.