public class RosterNode
extends javax.swing.tree.DefaultMutableTreeNode
Constructor and Description |
---|
RosterNode() |
RosterNode(java.lang.String name,
boolean isGroup) |
RosterNode(java.lang.String name,
java.lang.String fullJID) |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getClosedIcon()
Returns the icon that is displayed when the node is collapsed.
|
java.lang.String |
getFullJID() |
javax.swing.Icon |
getIcon()
Returns the default image used.
|
java.lang.String |
getName() |
javax.swing.Icon |
getOpenIcon()
Return the icon that is displayed when the node is expanded.
|
org.jivesoftware.smack.packet.Presence |
getPresence() |
java.lang.Object |
getUserObject() |
boolean |
isContact() |
boolean |
isGroup() |
void |
setClosedIcon(javax.swing.Icon icon) |
void |
setFullJID(java.lang.String fullJID) |
void |
setOpenIcon(javax.swing.Icon icon)
Sets the default icon.
|
void |
setPresence(org.jivesoftware.smack.packet.Presence presence) |
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, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public RosterNode()
public RosterNode(java.lang.String name, boolean isGroup)
public RosterNode(java.lang.String name, java.lang.String fullJID)
public java.lang.Object getUserObject()
getUserObject
in class javax.swing.tree.DefaultMutableTreeNode
public javax.swing.Icon getIcon()
public javax.swing.Icon getOpenIcon()
public javax.swing.Icon getClosedIcon()
public void setOpenIcon(javax.swing.Icon icon)
icon
- the icon.public void setClosedIcon(javax.swing.Icon icon)
public boolean isContact()
public boolean isGroup()
public org.jivesoftware.smack.packet.Presence getPresence()
public void setPresence(org.jivesoftware.smack.packet.Presence presence)
public java.lang.String getFullJID()
public void setFullJID(java.lang.String fullJID)
public java.lang.String getName()