|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject javax.mail.event.MailEvent javax.mail.event.StoreEvent
public class StoreEvent
Event representing motifications from the Store connection.
Field Summary | |
---|---|
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. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
StoreEvent(Store store,
int type,
String message)
Construct a new event. |
Method Summary | |
---|---|
void |
dispatch(Object listener)
|
String |
getMessage()
Return the text to be displayed to the user. |
int |
getMessageType()
Return the message type. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ALERT
public static final int NOTICE
protected int type
protected String message
Constructor Detail |
---|
public StoreEvent(Store store, int type, String message)
store
- the Store that initiated the notificationtype
- the message typemessage
- the text to be presented to the userMethod Detail |
---|
public int getMessageType()
public String getMessage()
public void dispatch(Object listener)
dispatch
in class MailEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |