public class MessageChangedEvent extends MailEvent
| Modifier and Type | Field and Description | 
|---|---|
| static int | ENVELOPE_CHANGEDThe message's envelope (headers, but not body) changed. | 
| static int | FLAGS_CHANGEDThe message's flags changed. | 
| protected Message | msgThe message that changed. | 
| protected int | typeThe event type. | 
source| Constructor and Description | 
|---|
| MessageChangedEvent(Object source,
                   int type,
                   Message msg)Constructor. | 
| Modifier and Type | Method and 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, toStringpublic 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 © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.