|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.rim.blackberry.api.mail.event.MailEvent
|
+--net.rim.blackberry.api.mail.event.MessageEvent
Indicates that a message has changed.
A MessageEvent is delivered when a message body, headers or flags change.
Note: It is not possible to intercept a message
during transmission. Changes to the Message object that are
indicated by the MessageEvent do not change data
that has already been sent from the handheld.
Changes are reflected in the message in the messages list, however,
and the updated message can be retransmitted.
Message| Field Summary | ||
|
static int |
UPDATED
Message header attributes (envelope) changed, but not the message body. |
| Fields inherited from class net.rim.blackberry.api.mail.event.MailEvent |
_source |
| Constructor Summary | ||
|
MessageEvent(int type,
Message msg)
Constructor. |
|
| Method Summary | ||
|
void |
dispatch(Object listener)
Invokes the appropriate method on a listener for this event. |
|
Message |
getMessage()
Returns the changed Message. |
|
int |
getMessageChangeType()
Returns the type of this event. |
| Methods inherited from class net.rim.blackberry.api.mail.event.MailEvent |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int UPDATED
Message header attributes (envelope) changed, but not the message body.
| Constructor Detail |
public MessageEvent(int type,
Message msg)
| Method Detail |
public void dispatch(Object listener)
MailEventInvokes the appropriate method on a listener for this event.
Subclasses provide the implementation.
public Message getMessage()
Message.public int getMessageChangeType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.