javax.mail.event
public class MessageChangedEvent extends MailEvent
Field Summary | |
---|---|
static int | ENVELOPE_CHANGED
The messages envelope changed. |
static int | FLAGS_CHANGED
The message's flags changed. |
protected Message | msg |
protected int | type |
Constructor Summary | |
---|---|
MessageChangedEvent(Object source, int type, Message message)
Constructor.
|
Method Summary | |
---|---|
void | dispatch(Object listener) |
Message | getMessage()
Return the affected message. |
int | getMessageChangeType()
Return the type of change. |
Parameters: source the folder that owns the message type the event type message the affected message
Returns: the affected message
Returns: the event type