Class TreeViewNodeListener.Adapter

  • All Implemented Interfaces:
    TreeViewNodeListener
    Enclosing interface:
    TreeViewNodeListener

    @Deprecated
    public static class TreeViewNodeListener.Adapter
    extends java.lang.Object
    implements TreeViewNodeListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    Tree view node listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • nodeInserted

        public void nodeInserted​(TreeView treeView,
                                 Sequence.Tree.Path path,
                                 int index)
        Deprecated.
        Description copied from interface: TreeViewNodeListener
        Called when a node has been inserted into the tree view.
        Specified by:
        nodeInserted in interface TreeViewNodeListener
        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

        public void nodesRemoved​(TreeView treeView,
                                 Sequence.Tree.Path path,
                                 int index,
                                 int count)
        Deprecated.
        Description copied from interface: TreeViewNodeListener
        Called when nodes have been removed from the tree view.
        Specified by:
        nodesRemoved in interface TreeViewNodeListener
        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

        public void nodeUpdated​(TreeView treeView,
                                Sequence.Tree.Path path,
                                int index)
        Deprecated.
        Description copied from interface: TreeViewNodeListener
        Called when a node in the tree view has been updated.
        Specified by:
        nodeUpdated in interface TreeViewNodeListener
        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.