public class NotificationManager extends Object
Constructor and Description |
---|
NotificationManager() |
Modifier and Type | Method and Description |
---|---|
static void |
addError(String err,
Throwable e) |
static void |
addError(Throwable e1) |
static void |
addInfo(String inf) |
static void |
addInfo(String inf,
Throwable e) |
static void |
addNotificationListener(NotificationListener nl)
Añade un objeto que escucha los mensajes de error, warning e información
|
static void |
addWarning(String warn) |
static void |
addWarning(String warn,
Throwable e) |
static void |
dispatchError(String err,
Throwable e) |
static void |
dispatchWarning(String warn,
Throwable e) |
static void |
showMessageError(String message,
Exception e) |
static void |
showMessageInfo(String message,
Exception e) |
static void |
showMessageWarning(String message,
Exception e) |
public static void addNotificationListener(NotificationListener nl)
nl
- objeto que recibirá los eventospublic static void addError(String err, Throwable e)
com.iver.mdiApp.Notification#addError(java.lang.String)
public static void addWarning(String warn, Throwable e)
com.iver.mdiApp.Notification#addWarning(java.lang.String)
public static void addWarning(String warn)
public static void addInfo(String inf)
public static void addError(Throwable e1)