Class DataNodeTreeItem<T extends DataNode>

java.lang.Object
javafx.scene.control.TreeItem<T>
org.tentackle.maven.plugin.wizard.fx.DataNodeTreeItem<T>
Type Parameters:
T - the node type
All Implemented Interfaces:
javafx.event.EventTarget

public class DataNodeTreeItem<T extends DataNode> extends javafx.scene.control.TreeItem<T>
Tree item for a DataNode.
  • Property Summary

    Properties inherited from class javafx.scene.control.TreeItem

    expanded, graphic, leaf, parent, value
  • Nested Class Summary

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

    javafx.scene.control.TreeItem.TreeModificationEvent<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataNodeTreeItem(T node, Predicate<T> predicate)
    Creates the tree item.
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.collections.ObservableList<javafx.scene.control.TreeItem<T>>
     
    boolean
     

    Methods inherited from class javafx.scene.control.TreeItem

    addEventFilter, addEventHandler, branchCollapsedEvent, branchExpandedEvent, buildEventDispatchChain, childrenModificationEvent, expandedItemCountChangeEvent, expandedProperty, getGraphic, getParent, getValue, graphicChangedEvent, graphicProperty, isExpanded, leafProperty, nextSibling, nextSibling, parentProperty, previousSibling, previousSibling, removeEventFilter, removeEventHandler, setExpanded, setGraphic, setValue, toString, treeNotificationEvent, valueChangedEvent, valueProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DataNodeTreeItem

      public DataNodeTreeItem(T node, Predicate<T> predicate)
      Creates the tree item.
      Parameters:
      node - the data node
      predicate - the optional predicate, null if none
  • Method Details

    • isLeaf

      public boolean isLeaf()
      Overrides:
      isLeaf in class javafx.scene.control.TreeItem<T extends DataNode>
    • getChildren

      public javafx.collections.ObservableList<javafx.scene.control.TreeItem<T>> getChildren()
      Overrides:
      getChildren in class javafx.scene.control.TreeItem<T extends DataNode>