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 text to be presented to the user.
|
static int |
NOTICE
Indicates that this message is a notice.
|
protected int |
type
The message type.
|
source
Constructor and Description |
---|
StoreEvent(Store store,
int type,
String message)
Construct a new event.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(Object listener) |
String |
getMessage()
Return the text to be displayed to the user.
|
int |
getMessageType()
Return the message type.
|
getSource, toString
public static final int ALERT
public static final int NOTICE
protected int type
protected String message
public int getMessageType()
public String getMessage()
Copyright © 2013. All rights reserved.