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

java.lang.Object
javafx.scene.control.TableColumnBase<TreeItem<S>,​T>
javafx.scene.control.TreeTableColumn<R,​R>
com.flexganttfx.view.util.RowHeaderColumn<R>
Type Parameters:
R - the type of the table rows
All Implemented Interfaces:
Styleable, EventTarget

public class RowHeaderColumn<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 Details

    • RowHeaderColumn

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

    • 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