|
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
javax.swing.JComponent
javax.swing.JOptionPane
net.java.sip.communicator.impl.gui.PopupDialogImpl
public class PopupDialogImpl
Implements PopupDialog interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JOptionPane |
|---|
JOptionPane.AccessibleJOptionPane |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| 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.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface net.java.sip.communicator.service.gui.PopupDialog |
|---|
CANCEL_OPTION, CLOSED_OPTION, ERROR_MESSAGE, INFORMATION_MESSAGE, NO_OPTION, OK_CANCEL_OPTION, OK_OPTION, PLAIN_MESSAGE, QUESTION_MESSAGE, WARNING_MESSAGE, WINDOW_GENERAL_POPUP, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION |
| Fields inherited from interface net.java.sip.communicator.service.gui.ExportedWindow |
|---|
ABOUT_WINDOW, ADD_CONTACT_WINDOW, CHAT_WINDOW, MAIN_WINDOW |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
PopupDialogImpl()
Creates an instance of PopupDialogImpl. |
|
| Method Summary | |
|---|---|
void |
bringToFront()
Implements the ExportedWindow.bringToFront() method. |
WindowID |
getIdentifier()
Implements the ExportedWindow.getIdentifier() method. |
Object |
getSource()
The source of the window |
boolean |
isFocused()
Implements the ExportedWindow.isFocused() method. |
void |
maximize()
This dialog could not be maximized. |
void |
minimize()
This dialog could not be minimized. |
void |
setParams(Object[] windowParams)
Implementation of ExportedWindow.setParams(Object[]). |
int |
showConfirmPopupDialog(Object mesg)
Implements the PopupDialog.showConfirmPopupDialog(Object) method. |
int |
showConfirmPopupDialog(Object mesg,
String title,
int optType)
Implements the PopupDialog.showConfirmPopupDialog(Object, String, int) method. |
int |
showConfirmPopupDialog(Object mesg,
String title,
int optType,
int mesgType)
Implements the PopupDialog.showConfirmPopupDialog(Object, String, int, int) method. |
int |
showConfirmPopupDialog(Object mesg,
String title,
int optType,
int mesgType,
byte[] icon)
Implements the PopupDialog.showConfirmPopupDialog(Object, String, int, int) method. |
String |
showInputPopupDialog(Object mesg)
Implements the PopupDialog.showInputPopupDialog(Object) method. |
String |
showInputPopupDialog(Object mesg,
String initialSelectionVal)
Implements the PopupDialog.showInputPopupDialog(Object, String) method. |
String |
showInputPopupDialog(Object mesg,
String title,
int mesgType)
Implements the PopupDialog.showInputPopupDialog(Object, String, int) method. |
Object |
showInputPopupDialog(Object mesg,
String title,
int mesgType,
Object[] selectionVal,
Object initialSelectionVal)
Implements the PopupDialog.showInputPopupDialog(Object, String, int, Object[], Object) method. |
Object |
showInputPopupDialog(Object mesg,
String title,
int mesgType,
Object[] selectionVal,
Object initialSelectionVal,
byte[] icon)
Implements the PopupDialog.showInputPopupDialog(Object, String, int, Object[], Object) method. |
void |
showMessagePopupDialog(Object mesg)
Implements the PopupDialog.showMessagePopupDialog(Object) method. |
void |
showMessagePopupDialog(Object mesg,
String title,
int mesgType)
Implements the PopupDialog.showMessagePopupDialog(Object, String, int) method. |
void |
showMessagePopupDialog(Object mesg,
String title,
int mesgType,
byte[] icon)
Implements the PopupDialog.showMessagePopupDialog(Object, String, int) method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.gui.ExportedWindow |
|---|
isVisible, setLocation, setSize, setVisible |
| Constructor Detail |
|---|
public PopupDialogImpl()
| Method Detail |
|---|
public String showInputPopupDialog(Object mesg)
showInputPopupDialog in interface PopupDialogmesg - the object to display
null meaning the user
canceled the input
public String showInputPopupDialog(Object mesg,
String initialSelectionVal)
showInputPopupDialog in interface PopupDialogmesg - the message to displayinitialSelectionVal - the value used to initialize the input
field.
null meaning the user
canceled the input
public String showInputPopupDialog(Object mesg,
String title,
int mesgType)
showInputPopupDialog in interface PopupDialogmesg - the message to displaymesgType - the type of message to be displayed: ERROR_MESSAGE,
INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGEtitle - the String to display in the dialog title bar
null meaning the user
canceled the input
public Object showInputPopupDialog(Object mesg,
String title,
int mesgType,
Object[] selectionVal,
Object initialSelectionVal)
showInputPopupDialog in interface PopupDialogmesg - the message to displaymesgType - the type of message to be displayed: ERROR_MESSAGE,
INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGEtitle - the String to display in the dialog title barselectionVal - an array of Objects that gives the possible
selectionsinitialSelectionVal - the value used to initialize the input field
null meaning the user
canceled the input
public Object showInputPopupDialog(Object mesg,
String title,
int mesgType,
Object[] selectionVal,
Object initialSelectionVal,
byte[] icon)
showInputPopupDialog in interface PopupDialogmesg - the message to displaymesgType - the type of message to be displayed: ERROR_MESSAGE,
INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGEtitle - the String to display in the dialog title barselectionVal - an array of Objects that gives the possible
selectionsinitialSelectionVal - the value used to initialize the input fieldicon - the icon to show in the input window.public void showMessagePopupDialog(Object mesg)
showMessagePopupDialog in interface PopupDialogmesg - the Object to display
public void showMessagePopupDialog(Object mesg,
String title,
int mesgType)
showMessagePopupDialog in interface PopupDialogmesg - the Object to displaytitle - the title string for the dialogmesgType - the type of message to be displayed: ERROR_MESSAGE,
INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE
public void showMessagePopupDialog(Object mesg,
String title,
int mesgType,
byte[] icon)
showMessagePopupDialog in interface PopupDialogmesg - the Object to displaytitle - the title string for the dialogmesgType - the type of message to be displayed: ERROR_MESSAGE,
INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGEicon - the image to display in the message dialog.public int showConfirmPopupDialog(Object mesg)
showConfirmPopupDialog in interface PopupDialogmesg - the message to display
public int showConfirmPopupDialog(Object mesg,
String title,
int optType)
showConfirmPopupDialog in interface PopupDialogmesg - the Object to displaytitle - the title string for the dialogoptType - an integer designating the options available on the
dialog: YES_NO_OPTION, or YES_NO_CANCEL_OPTION
public int showConfirmPopupDialog(Object mesg,
String title,
int optType,
int mesgType)
showConfirmPopupDialog in interface PopupDialogmesg - the Object to displaytitle - the title string for the dialogoptType - an integer designating the options available on the
dialog: YES_NO_OPTION, or YES_NO_CANCEL_OPTIONmesgType - an integer designating the kind of message this is;
primarily used to determine the icon from the pluggable Look and Feel:
ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE,
or PLAIN_MESSAGE
public int showConfirmPopupDialog(Object mesg,
String title,
int optType,
int mesgType,
byte[] icon)
showConfirmPopupDialog in interface PopupDialogmesg - the Object to displaytitle - the title string for the dialogoptType - an integer designating the options available on the
dialog: YES_NO_OPTION, or YES_NO_CANCEL_OPTIONmesgType - an integer designating the kind of message this is;
primarily used to determine the icon from the pluggable Look and Feel:
ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE,
or PLAIN_MESSAGEicon - the icon to display in the dialogpublic WindowID getIdentifier()
getIdentifier in interface ExportedWindowpublic boolean isFocused()
isFocused in interface ExportedWindowpublic void bringToFront()
bringToFront in interface ExportedWindowpublic void minimize()
minimize in interface ExportedWindowpublic void maximize()
maximize in interface ExportedWindowpublic Object getSource()
getSource in interface ExportedWindowpublic void setParams(Object[] windowParams)
ExportedWindow.setParams(Object[]).
setParams in interface ExportedWindowwindowParams - the parameters to pass.
|
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 | |||||||||