KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > joram > client > tools > admin > SubscriberRootTreeNode


1 package org.objectweb.joram.client.tools.admin;
2
3 import java.util.*;
4 import javax.swing.*;
5 import javax.swing.tree.*;
6
7 class SubscriberRootTreeNode extends DefaultMutableTreeNode
8     implements AdminTreeNode {
9
10   public SubscriberRootTreeNode() {
11     super("Subscribers");
12   }
13   
14   /**
15    * Returns descriptive text about the node.
16    */

17   public String JavaDoc getDescription() {
18     return "";
19   }
20   
21   /**
22    * Returns a context menu for the node, or null if
23    * no context menu should be created.
24    */

25   public JPopupMenu getContextMenu() {
26     return null;
27   }
28   
29   /**
30    * Gets the image icon for this node, or null to use
31    * the default.
32    */

33   public ImageIcon getImageIcon() {
34     return null;
35   }
36   
37   /**
38    * Refreshes the node.
39    * @param treeModel the model that the node is contained in.
40    */

41   public void refresh(DefaultTreeModel treeModel) {
42     
43   }
44 }
45
Popular Tags