Class PositionAwareTreeControllerWrapper<T>

    • Constructor Detail

    • Method Detail

      • move

        public void move​(Tree tree,
                         java.lang.Object node,
                         java.lang.Object target,
                         boolean addAsChild,
                         boolean append)
        Description copied from interface: PositionAwareTreeController
        Moves given node in place of 'target' node.
        Specified by:
        move in interface PositionAwareTreeController<T>
        Parameters:
        tree - after successful movement, tree will be notified to update itself
        node - to be moved
        target - node to be shifted. In place of this 'target' node the 'node' will be moved.
        addAsChild - flag indicating whether node should be added as a child or not.
        append - if true the element will be placed after (addAsChild false) or in the very end (addAsChild true)