|
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.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
net.java.sip.communicator.util.swing.SIPCommDialog
net.java.sip.communicator.impl.gui.utils.OneChoiceInviteDialog
public class OneChoiceInviteDialog
The invite dialog is a widget that shows a list of contacts, from which the user could pick in order to create a conference chat or call.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.java.sip.communicator.util.swing.SIPCommDialog |
|---|
SIPCommDialog.DialogWindowAdapter |
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
OneChoiceInviteDialog(String title)
Constructs an OneChoiceInviteDialog. |
|
OneChoiceInviteDialog(String title,
List<MetaContact> metaContacts)
Constructs an OneChoiceInviteDialog, by specifying the initial list of contacts available. |
|
| Method Summary | |
|---|---|
void |
addCancelButtonListener(ActionListener l)
Adds an ActionListener to the contained "Cancel" button. |
void |
addMetaContact(MetaContact metaContact)
Adds the given metaContact to the left list of contacts available for invite. |
void |
addOkButtonListener(ActionListener l)
Adds an ActionListener to the contained "Invite" button. |
protected void |
close(boolean isEscaped)
Closes this dialog by clicking on the "Cancel" button. |
MetaContact |
getSelectedMetaContact()
Returns an enumeration of the list of selected MetaContacts. |
String |
getSelectedString()
Returns an enumeration of the list of selected Strings. |
void |
removeAllMetaContacts()
Removes all MetaContact-s from the left list of contacts available for invite. |
void |
removeMetaContact(MetaContact metaContact)
Removes the given metaContact from the left list of contacts available for invite. |
void |
setIcon(Icon icon)
Sets the icon shown in the left top corner of this dialog. |
void |
setInfoText(String text)
Sets the information text explaining how to use the containing form. |
void |
setOkButtonText(String text)
Sets the text of the ok button. |
| Methods inherited from class net.java.sip.communicator.util.swing.SIPCommDialog |
|---|
addKeyBinding, dispose, setVisible |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OneChoiceInviteDialog(String title,
List<MetaContact> metaContacts)
title - the title to show on the top of this dialogmetaContacts - the list of contacts available for invitepublic OneChoiceInviteDialog(String title)
title - the title to show on the top of this dialog| Method Detail |
|---|
public void addMetaContact(MetaContact metaContact)
metaContact - the MetaContact to addpublic void removeMetaContact(MetaContact metaContact)
metaContact - the MetaContact to addpublic void removeAllMetaContacts()
public MetaContact getSelectedMetaContact()
public String getSelectedString()
public void setInfoText(String text)
text - the textpublic void setIcon(Icon icon)
icon - the iconpublic void setOkButtonText(String text)
text - the text of the ok buttonpublic void addOkButtonListener(ActionListener l)
l - the ActionListener to addpublic void addCancelButtonListener(ActionListener l)
l - the ActionListener to addprotected void close(boolean isEscaped)
close in class SIPCommDialogisEscaped - indicates if this close is provoked by an
escape
|
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 | |||||||||