org.exolab.jms.tools.admin
Class OpenJMSUser

java.lang.Object
  |
  +--javax.swing.tree.DefaultMutableTreeNode
        |
        +--org.exolab.jms.tools.admin.OpenJMSObject
              |
              +--org.exolab.jms.tools.admin.OpenJMSUser
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, OpenJMSNode, java.io.Serializable, javax.swing.tree.TreeNode

public class OpenJMSUser
extends OpenJMSObject

Extends the OpenJMSObject node

Version:
$Revision: 1.3 $ $Date: 2003/08/17 01:32:27 $
Author:
Knut Lerpold
See Also:
OpenJMSObject, AdminMgr, Serialized Form

Fields inherited from class org.exolab.jms.tools.admin.OpenJMSObject
_commands, _commandsCreated, _dateFormat, _isExplored, _isLeaf, _name, _tree
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
OpenJMSUser(java.lang.String name, javax.swing.JTree tree)
          Construct a node with the specified username and the a reference to the parent node in the tree.
 
Method Summary
protected  void createCommands()
          Create the menu for all queue and set up the Action events for each menu item.
 void update()
          No operation
 
Methods inherited from class org.exolab.jms.tools.admin.OpenJMSObject
displayCommands, getAllowsChildren, getInstanceSelected, isLeaf, refresh, toString
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenJMSUser

public OpenJMSUser(java.lang.String name,
                   javax.swing.JTree tree)
Construct a node with the specified username and the a reference to the parent node in the tree.
Parameters:
name - This username
tree - The parent tree that this node will belong too
Method Detail

update

public void update()
No operation

createCommands

protected void createCommands()
Create the menu for all queue and set up the Action events for each menu item. Since menus are shared, the callbacks called are static. Once a menu is slected, the slected node can be determined from the parent object.
Overrides:
createCommands in class OpenJMSObject


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.