|
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.DefaultTreeModel
net.java.sip.communicator.impl.gui.main.contactlist.ContactListTreeModel
public class ContactListTreeModel
The data model of the contact list.
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultTreeModel |
|---|
asksAllowsChildren, listenerList, root |
| Constructor Summary | |
|---|---|
ContactListTreeModel(JTree tree)
Creates an instance of ContactListTreeModel. |
|
| Method Summary | |
|---|---|
void |
clear()
Removes all nodes except the root node and clears all dependencies. |
ContactNode |
findFirstContactNode()
Returns the first found child ContactNode. |
JTree |
getParentTree()
Returns the parent tree. |
GroupNode |
getRoot()
Returns the root group node. |
void |
nodeChanged(TreeNode node)
Invoke this method after you've changed how node is to be represented in the tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContactListTreeModel(JTree tree)
tree - the parent tree| Method Detail |
|---|
public GroupNode getRoot()
getRoot in interface TreeModelgetRoot in class DefaultTreeModelpublic ContactNode findFirstContactNode()
public void clear()
public JTree getParentTree()
public void nodeChanged(TreeNode node)
nodeChanged in class DefaultTreeModelnode - the node that has changed
|
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 | |||||||||