This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.mail.event
class MessageChangedEvent

javax.mail.event.MailEvent extended by javax.mail.event.MessageChangedEvent

public class MessageChangedEvent
extends MailEvent

This class models Message change events.


Field Summary
static int ENVELOPE_CHANGED
          The message's envelope (headers, but not body) changed.
static int FLAGS_CHANGED
          The message's flags changed.
protected transient Message msg
          The message that changed.
protected int type
          The event type.
 
Constructor Summary
MessageChangedEvent(Object source, int type, Message msg)

          Constructor.
 
Method Summary
 void
dispatch(Object listener)

          Invokes the appropriate MessageChangedListener method.
 Message

          Return the changed Message.
 int

          Return the type of this event.
 
Methods inherited from class javax.mail.event.MailEvent
dispatch
 

Field Detail

ENVELOPE_CHANGED

public static final int ENVELOPE_CHANGED
The message's envelope (headers, but not body) changed.

FLAGS_CHANGED

public static final int FLAGS_CHANGED
The message's flags changed.

msg

protected transient Message msg
The message that changed.

type

protected int type
The event type.
Constructor Detail

MessageChangedEvent

public MessageChangedEvent(Object source,
                           int type,
                           Message msg)
Constructor.

Parameters:
source - The folder that owns the message
type - The change type
msg - The changed message
Method Detail

dispatch

public void dispatch(Object listener)
Invokes the appropriate MessageChangedListener method.

Overrides:
dispatch in class MailEvent
Parameters:
listener

getMessage

public Message getMessage()
Return the changed Message.

Returns:
the message

getMessageChangeType

public int getMessageChangeType()
Return the type of this event.

Returns:
type


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.