java.io.Serializable
public class StoreEvent extends MailEvent
Modifier and Type | Field | Description |
---|---|---|
static int |
ALERT |
Indicates that this message is an ALERT.
|
protected java.lang.String |
message |
The message text to be presented to the user.
|
static int |
NOTICE |
Indicates that this message is a NOTICE.
|
protected int |
type |
The event type.
|
Constructor | Description |
---|---|
StoreEvent(Store source,
int type,
java.lang.String message) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
dispatch(java.lang.Object listener) |
Invokes the appropriate listener method.
|
java.lang.String |
getMessage() |
Returns the notification message.
|
int |
getMessageType() |
Returns the type of this event.
|
public static final int ALERT
public static final int NOTICE
protected int type
protected java.lang.String message
public StoreEvent(Store source, int type, java.lang.String message)
source
- the storetype
- the type of event (ALERT or NOTICE)message
- the notification message© Copyright 2003, 2004 The Free Software Foundation, All rights reserved