|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--org.exolab.jms.tools.admin.OpenJMSServer
This class controls all dispay characteristics and menus related to an OpenJMSServer. Currently only add queue/topic is supported.
OpenJMSConsumer
,
AdminMgr
,
QueryDialog
, Serialized FormFields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
OpenJMSServer(java.lang.String serverName,
javax.swing.JTree tree)
The OpenJMS server connection. |
Method Summary | |
protected void |
createCommands()
Create the menu for all servers and set up the Action events for each menu item. |
static javax.swing.tree.DefaultTreeModel |
createServerList(javax.swing.JTree tree)
Determine all known OpenJMSServers. |
void |
displayCommands(java.awt.Rectangle loc)
This node has been right clicked. |
void |
displayConnections()
Get all queue/topics from the database for this JMS server and display them as children of the root node. |
boolean |
getAllowsChildren()
Children are allowed for all servers |
void |
refresh()
This node has changed. |
java.lang.String |
toString()
The unique name of this server |
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, isLeaf, 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 |
public OpenJMSServer(java.lang.String serverName, javax.swing.JTree tree)
serverName
- The name of this servertree
- The parent tree this root node belongs to.Method Detail |
protected void createCommands()
public static javax.swing.tree.DefaultTreeModel createServerList(javax.swing.JTree tree)
tree
- The parent tree this root node belongs to.public void displayConnections()
public boolean getAllowsChildren()
getAllowsChildren
in class javax.swing.tree.DefaultMutableTreeNode
public void displayCommands(java.awt.Rectangle loc)
The
- location of this Consumer node.public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public void refresh()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |