View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * Interface for TreeNode witch can update its tree.
5    */
6   public interface GB_TreeNodeUpdate
7   {
8   
9       /***
10       * Update the Tree from the parent of this node.
11       */
12      void updateTreeFromParent();
13  
14      /***
15       * Update the Tree from the root of the tree.
16       */
17      void updateTreeFromRoot();
18  
19      /***
20       * Update the Tree for the children of this node.
21       */
22      void updateTreeForChildren();
23  
24      /***
25       * Update the Tree for this node.
26       * This method musn't update the children.
27       */
28      void updateTreeForThis();
29  
30  }