|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--edu.ou.kmi.buddyspace.gui.BSRosterTreeView.BSGroupNode
BSGroupNode
is one of the BSRosterTreeView
nodes. This represents a group. It includes hashtable of nodes for
particular jids.
Field Summary | |
protected java.util.TreeMap |
jidNodes
|
protected java.lang.String |
name
|
protected javax.swing.tree.DefaultMutableTreeNode |
node
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
BSRosterTreeView.BSGroupNode(java.lang.String name)
Constructor |
Method Summary | |
void |
addItem(BSRosterTreeView.BSComponentNode node)
Adds a node for transport into the group |
void |
addItem(BSRosterTreeView.BSJIDItem ji)
Adds a node for given jid item into the group |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getName()
Returns name of group |
int |
hashCode()
Returns hash code used by tree |
void |
sortNodes()
Sorts the jid nodes inside the group |
java.lang.String |
toString()
Returns text displayed in tree |
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 |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String name
protected java.util.TreeMap jidNodes
protected javax.swing.tree.DefaultMutableTreeNode node
Constructor Detail |
public BSRosterTreeView.BSGroupNode(java.lang.String name)
Method Detail |
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public void addItem(BSRosterTreeView.BSJIDItem ji)
public void addItem(BSRosterTreeView.BSComponentNode node)
public void sortNodes()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |