public class MessageChangedEvent extends MailEvent
Modifier and Type | Field and Description |
---|---|
static int |
ENVELOPE_CHANGED
The message's envelope (headers, but not body) changed.
|
static int |
FLAGS_CHANGED
The message's flags changed.
|
Constructor and Description |
---|
MessageChangedEvent(java.lang.Object source,
int type,
Message msg)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(java.lang.Object listener)
Invokes the appropriate MessageChangedListener method.
|
Message |
getMessage()
Return the changed Message.
|
int |
getMessageChangeType()
Return the type of this event.
|
public static final int FLAGS_CHANGED
public static final int ENVELOPE_CHANGED
public MessageChangedEvent(java.lang.Object source, int type, Message msg)
source
- The folder that owns the messagetype
- The change typemsg
- The changed messagepublic int getMessageChangeType()
public Message getMessage()
Copyright © 2010 - 2020 Adobe. All Rights Reserved