|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
au.edu.jcu.hermes.plugin.icat.TitleNode
public class TitleNode
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
TitleNode(java.lang.String displayName,
java.lang.String iconName)
Default Constructor. |
|
| Method Summary | |
|---|---|
javax.swing.Icon |
getIcon()
Get the icon for this node. |
long |
getId()
Get the id of the related object. |
java.lang.String |
getName()
Get the name of the related object. |
void |
setName(java.lang.String displayName)
Set the name of the related object. |
| 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, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TitleNode(java.lang.String displayName,
java.lang.String iconName)
displayName - - the display name for the tree itemiconName - - the name of the image file| Method Detail |
|---|
public long getId()
getId in interface ITreeNodepublic java.lang.String getName()
getName in interface ITreeNodepublic void setName(java.lang.String displayName)
setName in interface ITreeNodedisplayName - - the new namepublic javax.swing.Icon getIcon()
getIcon in interface ITreeNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||