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

java.lang.Object
javafx.scene.control.TreeItem<R>
impl.com.flexganttfx.skin.treetable.GanttChartTreeItem<R>
Type Parameters:
R - the type of the rows shown by the tree table view
All Implemented Interfaces:
EventTarget

public final class GanttChartTreeItem<R extends Row<?,​?,​?>>
extends TreeItem<R>
A specialization of tree item for use with the GanttChart tree table view.
  • Property Details

    • filter

      public final ObjectProperty<Predicate> filterProperty
      A predicate used to filter the children of this tree item.
  • Constructor Details

    • GanttChartTreeItem

      public GanttChartTreeItem​(R row, Node graphic)
      Constructs a new tree item.
      Parameters:
      row - the wrapped row
      graphic - a graphic node (e.g. an icon)
    • GanttChartTreeItem

      public GanttChartTreeItem​(R row)
      Constructs a new tree item.
      Parameters:
      row - the wrapped row
    • GanttChartTreeItem

      public GanttChartTreeItem()
      Constructs a new tree item.
  • Method Details

    • filterProperty

      public final ObjectProperty<Predicate> filterProperty()
      A predicate used to filter the children of this tree item.
    • isLeaf

      public boolean isLeaf()
      Overrides:
      isLeaf in class TreeItem<R extends Row<?,​?,​?>>
    • getRow

      public final R getRow()
      Returns the row shown by this tree item.
      Returns:
      the row
    • getLevelNumber

      public String getLevelNumber()
      Returns the level number string for the tree item, e.g. "2.1.7").
      Returns:
      the level number