|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode org.jivesoftware.spark.ui.RosterNode
public class RosterNode
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
RosterNode()
|
|
RosterNode(java.lang.String name,
boolean isGroup)
|
|
RosterNode(java.lang.String name,
java.lang.String fullJID)
|
Method Summary | |
---|---|
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)
|
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, 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 RosterNode()
public RosterNode(java.lang.String name, boolean isGroup)
public RosterNode(java.lang.String name, java.lang.String fullJID)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |