Class ASTTreeItem

  • All Implemented Interfaces:
    javafx.event.EventTarget

    public final class ASTTreeItem
    extends javafx.scene.control.TreeItem<net.sourceforge.pmd.lang.ast.Node>
    Represents a tree item (data, not UI) in the ast TreeView.
    Since:
    6.0.0
    Author:
    Clément Fournier
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javafx.scene.control.TreeItem

        javafx.scene.control.TreeItem.TreeModificationEvent<T extends java.lang.Object>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ASTTreeItem findItem​(net.sourceforge.pmd.lang.ast.Node node)  
      static ASTTreeItem getRoot​(net.sourceforge.pmd.lang.ast.Node n)
      Builds an ASTTreeItem recursively from a node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class javafx.scene.control.TreeItem

        addEventHandler, branchCollapsedEvent, branchExpandedEvent, buildEventDispatchChain, childrenModificationEvent, expandedItemCountChangeEvent, expandedProperty, getChildren, getGraphic, getParent, getValue, graphicChangedEvent, graphicProperty, isExpanded, isLeaf, leafProperty, nextSibling, nextSibling, parentProperty, previousSibling, previousSibling, removeEventHandler, setExpanded, setGraphic, setValue, toString, treeNotificationEvent, valueChangedEvent, valueProperty
    • Method Detail

      • findItem

        public ASTTreeItem findItem​(net.sourceforge.pmd.lang.ast.Node node)
      • getRoot

        public static ASTTreeItem getRoot​(net.sourceforge.pmd.lang.ast.Node n)
        Builds an ASTTreeItem recursively from a node.