org.exolab.jms.tools.admin
Class OpenJMSQueue

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

public class OpenJMSQueue
extends OpenJMSObject

Extends the OpenJMSDestination node and defines a queue specific node

Version:
$Revision: 1.1 $ $Date: 2004/11/26 01:51:15 $
Author:
Jim Mourikis
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
OpenJMSQueue(java.lang.String name, javax.swing.JTree tree)
          Construct a node with the specified queue name 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

OpenJMSQueue

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

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

update

public void update()
No operation


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