Interface TreeViewNodeListener

    • Method Detail

      • nodeInserted

        default void nodeInserted​(TreeView treeView,
                                  Sequence.Tree.Path path,
                                  int index)
        Called when a node has been inserted into the tree view.
        Parameters:
        treeView - The source of this event.
        path - The path to the branch where the node was inserted.
        index - The index of the newly inserted node within the branch.
      • nodesRemoved

        default void nodesRemoved​(TreeView treeView,
                                  Sequence.Tree.Path path,
                                  int index,
                                  int count)
        Called when nodes have been removed from the tree view.
        Parameters:
        treeView - The source of this event.
        path - The path to the branch where the node(s) were removed.
        index - The index to the first removed node within the branch.
        count - The number of nodes that were removed, or -1 if all nodes were removed.
      • nodeUpdated

        default void nodeUpdated​(TreeView treeView,
                                 Sequence.Tree.Path path,
                                 int index)
        Called when a node in the tree view has been updated.
        Parameters:
        treeView - The source of this event.
        path - Path to the branch that is the parent of the updated node.
        index - Index of the updated node within the branch.
      • nodesCleared

        default void nodesCleared​(TreeView treeView,
                                  Sequence.Tree.Path path)
        Called when the nodes in a branch have been cleared.
        Parameters:
        treeView - The source of this event.
        path - Path to the branch where the nodes were cleared.
      • nodesSorted

        default void nodesSorted​(TreeView treeView,
                                 Sequence.Tree.Path path)
        Called when the nodes in a branch have been sorted.
        Parameters:
        treeView - The source of this event.
        path - Path to the branch where the nodes were sorted.