|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.util.EventObject
javax.mail.event.MailEvent
javax.mail.event.MessageChangedEvent
public class MessageChangedEvent
This class models Message change events.
| 字段摘要 | |
|---|---|
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. |
| 从类 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 |
| 字段详细信息 |
|---|
public static final int FLAGS_CHANGED
public static final int ENVELOPE_CHANGED
protected int type
protected transient Message msg
| 构造方法详细信息 |
|---|
public MessageChangedEvent(Object source,
int type,
Message msg)
source - The folder that owns the messagetype - The change typemsg - The changed message| 方法详细信息 |
|---|
public int getMessageChangeType()
public Message getMessage()
public void dispatch(Object listener)
MailEvent 中的 dispatch
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||