|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.spark.ui.RosterDialog
public class RosterDialog
The RosterDialog is used to add new users to the users XMPP Roster.
Constructor Summary | |
---|---|
RosterDialog()
Create a new instance of RosterDialog. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
org.jivesoftware.smack.RosterEntry |
addEntry(java.lang.String jid,
java.lang.String nickname,
java.lang.String group)
Adds a new entry to the users Roster. |
java.util.List<org.jivesoftware.spark.ui.RosterDialog.AccountItem> |
getAccounts()
|
void |
propertyChange(java.beans.PropertyChangeEvent e)
|
void |
setDefaultGroup(ContactGroup contactGroup)
Sets the default ContactGroup to display in the combo box. |
void |
setDefaultJID(java.lang.String jid)
Sets the default jid to show in the jid field. |
void |
setDefaultNickname(java.lang.String nickname)
Sets the default nickname to show in the nickname field. |
void |
showRosterDialog()
Display the RosterDialog using the MainWindow as the parent. |
void |
showRosterDialog(javax.swing.JFrame parent)
Display the RosterDialog using a parent container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RosterDialog()
Method Detail |
---|
public void setDefaultGroup(ContactGroup contactGroup)
ContactGroup
to display in the combo box.
contactGroup
- the default ContactGroup.public void setDefaultJID(java.lang.String jid)
jid
- the jid.public void setDefaultNickname(java.lang.String nickname)
nickname
- the nickname.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void showRosterDialog(javax.swing.JFrame parent)
parent
- the parent Frame.public void showRosterDialog()
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
public org.jivesoftware.smack.RosterEntry addEntry(java.lang.String jid, java.lang.String nickname, java.lang.String group)
jid
- the jid.nickname
- the nickname.group
- the contact group.
public java.util.List<org.jivesoftware.spark.ui.RosterDialog.AccountItem> getAccounts()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |