|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.aspectj.ajde.ui.swing.SwingTreeViewNode
public class SwingTreeViewNode
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.aspectj.ajde.ui.IStructureViewNode |
|---|
IStructureViewNode.Kind |
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
SwingTreeViewNode(IProgramElement programElement,
AbstractIcon icon)
Create a link. |
|
SwingTreeViewNode(IProgramElement programElement,
AbstractIcon icon,
java.util.List children)
Create a declaration node. |
|
SwingTreeViewNode(IRelationship relationship,
AbstractIcon icon)
Create a relationship node. |
|
| Method Summary | |
|---|---|
void |
add(IStructureViewNode child)
Add a child node. |
void |
add(IStructureViewNode child,
int position)
Add a child node. |
java.util.List |
getChildren()
|
AbstractIcon |
getIcon()
|
IStructureViewNode.Kind |
getKind()
|
java.lang.String |
getRelationshipName()
|
IProgramElement |
getStructureNode()
|
void |
remove(IStructureViewNode child)
Remove a child node. |
java.lang.String |
toString()
|
| 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, 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 SwingTreeViewNode(IProgramElement programElement,
AbstractIcon icon,
java.util.List children)
public SwingTreeViewNode(IRelationship relationship,
AbstractIcon icon)
public SwingTreeViewNode(IProgramElement programElement,
AbstractIcon icon)
| Method Detail |
|---|
public IProgramElement getStructureNode()
getStructureNode in interface IStructureViewNodepublic AbstractIcon getIcon()
getIcon in interface IStructureViewNodepublic void add(IStructureViewNode child)
IStructureViewNode
add in interface IStructureViewNode
public void add(IStructureViewNode child,
int position)
IStructureViewNode
add in interface IStructureViewNodepublic void remove(IStructureViewNode child)
IStructureViewNode
remove in interface IStructureViewNodepublic java.util.List getChildren()
getChildren in interface IStructureViewNodepublic IStructureViewNode.Kind getKind()
getKind in interface IStructureViewNodepublic java.lang.String getRelationshipName()
getRelationshipName in interface IStructureViewNodepublic java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||