Class TableRowSkinBase<T,C extends IndexedCell,R extends IndexedCell>

    • Property Detail

      • graphic

        protected ObjectProperty<Node> graphicProperty
        Returns the graphic to draw on the inside of the disclosure node. Null is acceptable when no graphic should be shown. Commonly this is the graphic associated with a TreeItem (i.e. treeItem.getGraphic()), rather than a graphic associated with a cell.
    • Constructor Detail

      • TableRowSkinBase

        public TableRowSkinBase​(C control)
        Creates a new instance of TableRowSkinBase, although note that this instance does not handle any behavior / input mappings - this needs to be handled appropriately by subclasses.
        Parameters:
        control - The control that this skin should be installed onto.
    • Method Detail

      • createCell

        protected abstract R createCell​(TableColumnBase<T,?> tc)
        Creates a new cell instance that is suitable for representing the given table column instance.
        Parameters:
        tc - the table column
        Returns:
        the created cell
      • updateCell

        protected abstract void updateCell​(R cell,
                                           C row)
        A method to allow the given cell to be told that it is a member of the given row. How this is implemented is dependent on the actual cell implementation.
        Parameters:
        cell - The cell for which we want to inform it of its owner row.
        row - The row which will be set on the given cell.
      • getTableColumn

        protected abstract TableColumnBase<T,?> getTableColumn​(R cell)
        Returns the TableColumnBase instance for the given cell instance.
        Parameters:
        cell - The cell for which a TableColumn is desired.
        Returns:
        the table column
      • getVisibleLeafColumns

        protected abstract ObservableList<? extends TableColumnBase> getVisibleLeafColumns()
        Returns an unmodifiable list containing the currently visible leaf columns.
        Returns:
        the list of visible leaf columns
      • graphicProperty

        protected ObjectProperty<Node> graphicProperty()
        Returns the graphic to draw on the inside of the disclosure node. Null is acceptable when no graphic should be shown. Commonly this is the graphic associated with a TreeItem (i.e. treeItem.getGraphic()), rather than a graphic associated with a cell.