|
||||||||||
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.OpenJMSObject
This is the base class for all nodes.
OpenJMSConsumer
,
AdminMgr
, Serialized FormField Summary | |
protected javax.swing.JPopupMenu |
_commands
|
protected boolean |
_commandsCreated
|
protected static java.text.SimpleDateFormat |
_dateFormat
|
protected boolean |
_isExplored
|
protected boolean |
_isLeaf
|
protected java.lang.String |
_name
|
protected static javax.swing.JTree |
_tree
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
OpenJMSObject(java.lang.String destinationName,
javax.swing.JTree tree)
The constructor gets its unique name for this object and a reference to its parent tree. |
Method Summary | |
protected abstract void |
createCommands()
Create the menu for all objects and set up the Action events for each menu item. |
void |
displayCommands(java.awt.Rectangle loc)
This node has been right clicked. |
boolean |
getAllowsChildren()
Children are allowed for all objects |
protected static OpenJMSObject |
getInstanceSelected()
Get the particular instance of the object that has been selected. |
boolean |
isLeaf()
Objects are leaves iff they have nothing registered against them. |
protected void |
refresh()
This node has changed. |
java.lang.String |
toString()
The unique name of this object. |
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 |
Methods inherited from interface org.exolab.jms.tools.admin.OpenJMSNode |
update |
Field Detail |
protected java.lang.String _name
protected boolean _isLeaf
protected boolean _isExplored
protected javax.swing.JPopupMenu _commands
protected boolean _commandsCreated
protected static java.text.SimpleDateFormat _dateFormat
protected static javax.swing.JTree _tree
Constructor Detail |
public OpenJMSObject(java.lang.String destinationName, javax.swing.JTree tree)
If this is the first call, the menu for all objects is created.
name
- This object name.tree
- The parent tree this object belongs to.Method Detail |
protected abstract void createCommands()
public boolean getAllowsChildren()
getAllowsChildren
in class javax.swing.tree.DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
public void displayCommands(java.awt.Rectangle loc)
displayCommands
in interface OpenJMSNode
The
- location of this Consumer node.public java.lang.String toString()
toString
in interface OpenJMSNode
toString
in class javax.swing.tree.DefaultMutableTreeNode
protected void refresh()
protected static OpenJMSObject getInstanceSelected()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |