|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.mail.event Class MessageChangedEvent
java.lang.Object java.util.EventObject javax.mail.event.MailEvent javax.mail.event.MessageChangedEvent
- 所有已实现的接口:
- Serializable
public class MessageChangedEvent
- extends MailEvent
This class models Message change events.
- 作者:
- John Mani
- 另请参见:
- Serialized Form
字段摘要 | |
---|---|
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. |
Fields inherited from class java.util.EventObject |
---|
source |
构造器摘要 | |
---|---|
MessageChangedEvent(Object source,
int type,
Message msg)
Constructor. |
方法摘要 | |
---|---|
void |
dispatch(Object listener)
Invokes the appropriate MessageChangedListener method. |
Message |
getMessage()
Return the changed Message. |
int |
getMessageChangeType()
Return the type of this event. |
类方法继承 java.util.EventObject |
---|
getSource, toString |
类方法继承 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
FLAGS_CHANGED
public static final int FLAGS_CHANGED
- The message's flags changed.
- 另请参见:
- 常量字段
ENVELOPE_CHANGED
public static final int ENVELOPE_CHANGED
- The message's envelope (headers, but not body) changed.
- 另请参见:
- 常量字段
type
protected int type
- The event type.
msg
protected transient Message msg
- The message that changed.
构造器详细信息 |
---|
MessageChangedEvent
public MessageChangedEvent(Object source, int type, Message msg)
- Constructor.
- 参数:
source
- The folder that owns the messagetype
- The change typemsg
- The changed message
方法详细信息 |
---|
getMessageChangeType
public int getMessageChangeType()
- Return the type of this event.
- 返回:
- type
getMessage
public Message getMessage()
- Return the changed Message.
- 返回:
- the message
dispatch
public void dispatch(Object listener)
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.