|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
net.java.sip.communicator.impl.gui.main.contactlist.ContactNode
public class ContactNode
The ContactNode is a ContactListNode corresponding to a given UIContact.
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
ContactNode(UIContact contact)
Creates a ContactNode by specifying the corresponding contact. |
|
| Method Summary | |
|---|---|
UIContact |
getContactDescriptor()
Returns the corresponding UIContact. |
int |
getSourceIndex()
Returns the index of this contact node in its parent group. |
boolean |
isActive()
Returns true if this contact node has unread received messages waiting, otherwise returns false. |
void |
setActive(boolean isActive)
Sets this contact node as active, which indicates it has unread received messages waiting. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContactNode(UIContact contact)
contact - the UIContact corresponding to this node| Method Detail |
|---|
public UIContact getContactDescriptor()
public int getSourceIndex()
getSourceIndex in interface ContactListNodepublic boolean isActive()
public void setActive(boolean isActive)
isActive - indicates if this contact is active
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||