Serializable
public class MessageChangedEvent extends MailEvent
Modifier and Type | Field | Description |
---|---|---|
static int |
ENVELOPE_CHANGED |
The message's envelope (headers, but not body) changed.
|
static int |
FLAGS_CHANGED |
The message's flags changed.
|
protected Message |
msg |
The message that changed.
|
protected int |
type |
The event type.
|
source
Constructor | Description |
---|---|
MessageChangedEvent(Object source,
int type,
Message msg) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
dispatch(Object listener) |
Invokes the appropriate MessageChangedListener method.
|
Message |
getMessage() |
Return the changed Message.
|
int |
getMessageChangeType() |
Return the type of this event.
|
getSource, toString
public static final int FLAGS_CHANGED
public static final int ENVELOPE_CHANGED
protected int type
protected transient Message msg
public int getMessageChangeType()
public Message getMessage()
Copyright © 2018 Oracle. All rights reserved.