Class TableColumn.CellDataFeatures<S,T>

  • Type Parameters:
    S - The TableView type
    T - The TableColumn type
    Enclosing class:
    TableColumn<S,T>

    public static class TableColumn.CellDataFeatures<S,T>
    extends Object
    A support class used in TableColumn as a wrapper class to provide all necessary information for a particular Cell. Once instantiated, this class is immutable.
    Since:
    JavaFX 2.0
    • Constructor Detail

      • CellDataFeatures

        public CellDataFeatures​(TableView<S> tableView,
                                TableColumn<S,T> tableColumn,
                                S value)
        Instantiates a CellDataFeatures instance with the given properties set as read-only values of this instance.
        Parameters:
        tableView - The TableView that this instance refers to.
        tableColumn - The TableColumn that this instance refers to.
        value - The value for a row in the TableView.
    • Method Detail

      • getValue

        public S getValue()
        Returns the value passed in to the constructor.
        Returns:
        the value passed in to the constructor
      • getTableColumn

        public TableColumn<S,T> getTableColumn()
        Returns the TableColumn passed in to the constructor.
        Returns:
        the TableColumn passed in to the constructor
      • getTableView

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