|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.microemu.app.ui.Message
public class Message
This class is used to Show error message to user
| Field Summary | |
|---|---|
static int |
ERROR
|
static int |
INFO
|
static int |
WARN
|
| Constructor Summary | |
|---|---|
Message()
|
|
| Method Summary | |
|---|---|
static void |
addListener(MessageListener newListener)
|
static void |
error(java.lang.String text)
Show Error message to user |
static void |
error(java.lang.String title,
java.lang.String text)
Show Error message to user |
static void |
error(java.lang.String title,
java.lang.String text,
java.lang.Throwable throwable)
Show Error message to user |
static void |
error(java.lang.String text,
java.lang.Throwable throwable)
|
static java.lang.String |
getCauseMessage(java.lang.Throwable throwable)
Here we can butify error message text. |
static void |
info(java.lang.String text)
Show info message to user |
static void |
warn(java.lang.String text)
Show info message to user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ERROR
public static final int INFO
public static final int WARN
| Constructor Detail |
|---|
public Message()
| Method Detail |
|---|
public static void error(java.lang.String title,
java.lang.String text)
title - Dialog titletext - Messagepublic static void error(java.lang.String text)
text - Message
public static void error(java.lang.String title,
java.lang.String text,
java.lang.Throwable throwable)
title - Dialog titletext - Message
public static void error(java.lang.String text,
java.lang.Throwable throwable)
public static void info(java.lang.String text)
text - Messagepublic static void warn(java.lang.String text)
text - Messagepublic static java.lang.String getCauseMessage(java.lang.Throwable throwable)
throwable -
public static void addListener(MessageListener newListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||