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

  • 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.
    • Constructor Detail

      • 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 Detail

      • filterProperty

        public final ObjectProperty<Predicate> filterProperty()
        A predicate used to filter the children of this tree item.
        Returns:
        the filter predicate
      • 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