|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
smacs.xngr.browser.explorer.ExplorerNode
smacs.xngr.browser.explorer.CategoryNode
The default node for categories.
| Field Summary |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
CategoryNode(DocumentCategory category)
The constructor for a category node. |
|
| Method Summary | |
DocumentCategory |
getCategory()
Gets the document category for this node. |
CategoryNode |
getCategoryNode(DocumentCategory category)
Gets the a node for the document category. |
String |
getDescription()
Gets the description for this node. |
ImageIcon |
getIcon()
Gets the default category icon for this node. |
String |
getName()
Gets the name for this node. |
ImageIcon |
getSelectedIcon()
Gets the selected category icon for this node. |
void |
setName(String name)
Sets the name for this node. |
void |
setUserObject(Object object)
Sets the user object for the category. |
| Methods inherited from class smacs.xngr.browser.explorer.ExplorerNode |
add, compareTo |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CategoryNode(DocumentCategory category)
category - the document category for the node.| Method Detail |
public DocumentCategory getCategory()
public CategoryNode getCategoryNode(DocumentCategory category)
category - the DocumentCategory.
public void setName(String name)
name - the new name.public void setUserObject(Object object)
object - the new name.public String getName()
getName in class ExplorerNodepublic String getDescription()
getDescription in class ExplorerNodepublic ImageIcon getSelectedIcon()
getSelectedIcon in class ExplorerNodepublic ImageIcon getIcon()
getIcon in class ExplorerNode
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||