|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode com.jstatcom.project.ModuleTreeNode
public final class ModuleTreeNode
A tree node that represents a loaded JStatCom module. It is used by the project tree component.
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
EMPTY_ENUMERATION |
Constructor Summary | |
---|---|
ModuleTreeNode(javax.swing.AbstractAction action)
Creates a module tree node with an action that is invoked from the project tree it belongs to. |
Method Summary | |
---|---|
void |
doAction()
Invokes the underlying action. |
java.lang.String |
getName()
Gets the module name. |
java.lang.String |
toString()
Gets the string representation of this. |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModuleTreeNode(javax.swing.AbstractAction action)
action
.
action
- the action to be invoked in the doAction
method
java.lang.IllegalArgumentException
- if (action == null)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public void doAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |