Class 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 particular Cell. Once instantiated, this class is immutable.
    Since:
    JavaFX 8.0
    • 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
      • getTreeTableView

        public TreeTableView<S> getTreeTableView()
        Returns the TableView passed in to the constructor.
        Returns:
        the TableView passed in to the constructor