|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.exolab.jms.jndiadministration.OpenJMSObject
public class 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 Form| Field Summary |
|---|
| Fields 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 interface javax.swing.tree.TreeNodegetAllowsChildren in class javax.swing.tree.DefaultMutableTreeNodepublic boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodeisLeaf in class javax.swing.tree.DefaultMutableTreeNodepublic void update()
update in interface OpenJMSNodepublic void displayCommands(java.awt.Rectangle loc)
displayCommands in interface OpenJMSNodeThe - location of this Object node.public java.lang.String toString()
toString in interface OpenJMSNodetoString in class javax.swing.tree.DefaultMutableTreeNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||