public class StoreEvent extends MailEvent
Modifier and Type | Field and Description |
---|---|
static int |
ALERT
Indicates that this message is an ALERT.
|
protected 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.
|
source
Constructor and Description |
---|
StoreEvent(Store source,
int type,
String message)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(Object listener)
Invokes the appropriate listener method.
|
String |
getMessage()
Returns the notification message.
|
int |
getMessageType()
Returns the type of this event.
|
getSource, toString
public static final int ALERT
public static final int NOTICE
protected int type
protected String message
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved