Class RowHeader<R extends Row<?,​?,​?>>

  • Type Parameters:
    R - the type of the table rows
    All Implemented Interfaces:
    Styleable, EventTarget

    public class RowHeader<R extends Row<?,​?,​?>>
    extends TreeTableColumn<R,​R>
    The row header is a specialized column which is used for controlling the height of each row and for adding row numbers / row outline levels in front of each row. Additionally it is possible to place an arbitrary node into each row header cell. For this to work a row header node factory has to be registered with the Gantt chart control.

    Row Header Control

    Since:
    1.0
    See Also:
    GanttChart.setRowHeaderNodeFactory(Callback)
    • Constructor Detail

      • RowHeader

        public RowHeader​(GanttChart<R> ganttChart)
        Constructs a new row header.
        Parameters:
        ganttChart - the chart for which the header will be used
    • Method Detail

      • getTreeTable

        public final TreeTableView<R> getTreeTable()
        Returns the tree table view for which the header is used.
        Returns:
        the tree table view
      • getGanttChart

        public final GanttChart<R> getGanttChart()
        Returns the Gantt chart for which the header is used.
        Returns:
        the Gantt chart