public class AlertUIServiceImpl extends java.lang.Object implements AlertUIService
Modifier and Type | Class and Description |
---|---|
(package private) class |
AlertUIServiceImpl.ErrorDialogParams
The ErrorDialogParams class is holder for the parameters needed by the
error dialog to be shown.
|
CANCEL_RETURN_CODE, ERROR, OK_DONT_ASK_CODE, OK_RETURN_CODE, WARNING
Constructor and Description |
---|
AlertUIServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases the resources acquired by this instance throughout its lifetime
and removes the listeners.
|
void |
showAlertDialog(java.lang.String title,
java.lang.String message)
Shows an alert dialog with the given title and message.
|
void |
showAlertDialog(java.lang.String title,
java.lang.String message,
int type)
Shows an alert dialog with the given title, message and type of message.
|
void |
showAlertDialog(java.lang.String title,
java.lang.String message,
java.lang.Throwable e)
Shows an alert dialog with the given title message and exception
corresponding to the error.
|
void |
showAlertPopup(java.lang.String title,
java.lang.String message)
Shows an notification pop-up which can be clicked.
|
void |
showAlertPopup(java.lang.String title,
java.lang.String message,
java.lang.String errorDialogTitle,
java.lang.String errorDialogMessage)
Shows an notification pop-up which can be clicked.
|
void |
showAlertPopup(java.lang.String title,
java.lang.String message,
java.lang.String errorDialogTitle,
java.lang.String errorDialogMessage,
java.lang.Throwable e)
Shows an notification pop-up which can be clicked.
|
void |
showAlertPopup(java.lang.String title,
java.lang.String message,
java.lang.Throwable e)
Shows an notification pop-up which can be clicked.
|
public void showAlertDialog(java.lang.String title, java.lang.String message)
showAlertDialog
in interface AlertUIService
title
- the title of the dialogmessage
- the message to be displayedpublic void showAlertDialog(java.lang.String title, java.lang.String message, java.lang.Throwable e)
showAlertDialog
in interface AlertUIService
title
- the title of the dialogmessage
- the message to be displayede
- the exception corresponding to the errorpublic void showAlertDialog(java.lang.String title, java.lang.String message, int type)
showAlertDialog
in interface AlertUIService
title
- the title of the error dialogmessage
- the message to be displayedtype
- the dialog type (warning or error)public void showAlertPopup(java.lang.String title, java.lang.String message)
showAlertPopup
in interface AlertUIService
title
- the title of the error dialog and the notification pop-upmessage
- the message to be displayed in the error dialog and the
pop-uppublic void showAlertPopup(java.lang.String title, java.lang.String message, java.lang.Throwable e)
showAlertPopup
in interface AlertUIService
title
- the title of the error dialog and the notification pop-upmessage
- the message to be displayed in the error dialog and the
pop-upe
- the exception that can be shown in the error dialogpublic void showAlertPopup(java.lang.String title, java.lang.String message, java.lang.String errorDialogTitle, java.lang.String errorDialogMessage)
showAlertPopup
in interface AlertUIService
title
- the title of the notification pop-upmessage
- the message of the pop-uperrorDialogTitle
- the title of the error dialogerrorDialogMessage
- the message of the error dialogpublic void showAlertPopup(java.lang.String title, java.lang.String message, java.lang.String errorDialogTitle, java.lang.String errorDialogMessage, java.lang.Throwable e)
showAlertPopup
in interface AlertUIService
title
- the title of the notification pop-upmessage
- the message of the pop-uperrorDialogTitle
- the title of the error dialogerrorDialogMessage
- the message of the error dialoge
- the exception that can be shown in the error dialogpublic void dispose()
dispose
in interface AlertUIService
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.