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 store,
int type,
String message)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(Object listener)
Invokes the appropriate StoreListener method.
|
String |
getMessage()
Get the message from the Store.
|
int |
getMessageType()
Return the type of this event.
|
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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.