public class Message
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
Error or warning
|
private java.lang.String |
message
The text of the message
|
static int |
MESSAGE
A regular message
|
private int |
type
The type of the message
|
Constructor and Description |
---|
Message(java.lang.String message)
Creates a regular message
|
Message(java.lang.String message,
int type)
Creates a message of a given type
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
int |
getType() |
public static final int MESSAGE
public static final int ERROR
private java.lang.String message
private int type
Copyright © 2009, Romain Francois francoisromain@free.fr