Movatterモバイル変換


[0]ホーム

URL:


         


Class MessageChangedEvent

java.lang.Object  |  +--java.util.EventObject        |        +--javax.mail.event.MailEvent              |              +--javax.mail.event.MessageChangedEvent
All Implemented Interfaces:
java.io.Serializable

public classMessageChangedEvent
extendsMailEvent

This class models Message change events.

See Also:
Serialized Form

ENVELOPE_CHANGED
          The message's envelope (headers, but not body) changed.
FLAGS_CHANGED
          The message's flags changed.
msg
          The message that changed.
type
          The event type.
 
Fields inherited from class java.util.EventObject
source
 
MessageChangedEvent(java.lang.Object source, int type,Message msg)
          Constructor.
 
dispatch(java.lang.Object listener)
          Invokes the appropriate MessageChangedListener method.
getMessage()
          Return the changed Message.
getMessageChangeType()
          Return the type of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

FLAGS_CHANGED

public static final intFLAGS_CHANGED
The message's flags changed.

ENVELOPE_CHANGED

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

type

protected inttype
The event type.

msg

protected transientMessagemsg
The message that changed.

MessageChangedEvent

publicMessageChangedEvent(java.lang.Object source,                           int type,Message msg)
Constructor.
Parameters:
source - The folder that owns the message
type - The change type
msg - The changed message

getMessageChangeType

public intgetMessageChangeType()
Return the type of this event.
Returns:
type

getMessage

publicMessagegetMessage()
Return the changed Message.
Returns:
the message

dispatch

public voiddispatch(java.lang.Object listener)
Invokes the appropriate MessageChangedListener method.
Overrides:
dispatch in classMailEvent

         


[8]ページ先頭

©2009-2025 Movatter.jp