|
||||||||||
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.BSResourceNode
BSResourceNode
is a tree node representing resource of
a JID.
Field Summary | |
protected boolean |
message
|
protected BSPresenceInfo |
pi
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
BSRosterTreeView.BSResourceNode(BSPresenceInfo pi)
Constructor |
Method Summary | |
java.lang.String |
getFriendlyShow()
Returns presence show |
JID |
getJID()
Returns jid |
java.lang.String |
getShow()
Returns presence show |
java.lang.String |
getStatus()
Returns presence status |
boolean |
isMessageWaiting()
Returns if any unread message for this resource |
boolean |
isMyself()
Returns if the node represents currently logged user |
boolean |
isOnline()
Returns if node is available / on-line |
java.lang.String |
toString()
Returns text displayed in tree |
void |
updateMessageWaiting()
Updates unread message for this resource flag |
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 |
Field Detail |
protected BSPresenceInfo pi
protected boolean message
Constructor Detail |
public BSRosterTreeView.BSResourceNode(BSPresenceInfo pi)
Method Detail |
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public JID getJID()
public boolean isOnline()
public java.lang.String getShow()
public java.lang.String getFriendlyShow()
public java.lang.String getStatus()
public boolean isMyself()
public void updateMessageWaiting()
public boolean isMessageWaiting()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |