|
||||||||
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.jndiadministration.OpenJMSObject
This class controls all dispay characteristics and menus related to an object. Currently this is nothing more than just displaying the Object name.
AdminMgr
,
OpenJMSContext
,
OpenJMSNode
, Serialized FormFields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
OpenJMSObject(java.lang.String objectName,
javax.swing.JTree tree)
The constructor gets its unique name for this object plus a reference to its parent tree. |
Method Summary | |
void |
displayCommands(java.awt.Rectangle loc)
This node has been right clicked. |
boolean |
getAllowsChildren()
Objects are always leaves. |
boolean |
isLeaf()
All objects are leaves in the tree for this release. |
java.lang.String |
toString()
The Objects name. |
void |
update()
This method is defined by the interface, but is not required by objects for this release. |
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 |
public OpenJMSObject(java.lang.String objectName, javax.swing.JTree tree)
objectName
- This objects unique name.tree
- The parent tree this object belons to.Method Detail |
public boolean getAllowsChildren()
getAllowsChildren
in class javax.swing.tree.DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
public void update()
update
in interface OpenJMSNode
public void displayCommands(java.awt.Rectangle loc)
displayCommands
in interface OpenJMSNode
The
- location of this Object node.public java.lang.String toString()
toString
in interface OpenJMSNode
toString
in class javax.swing.tree.DefaultMutableTreeNode
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |