|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.util.EventObject
javax.mail.event.MailEvent
javax.mail.event.StoreEvent
public final class StoreEvent
このクラスは Store 接続からの通知をモデル化します。 これらの通知には ALERTS 又は NOTICES があります。 ALERTS はユーザがメッセージに注意を払う形式でユーザに提示されなければなりません。
フィールドの概要 | |
---|---|
static int |
ALERT
このメッセージが ALERT であることを示します。 |
protected String |
message
ユーザに提示されるメッセージテキストです。 |
static int |
NOTICE
このメッセージが NOTICE であることを示します。 |
protected int |
type
イベントの型です。 |
クラス java.util.EventObject から継承されたフィールド |
---|
source |
コンストラクタの概要 | |
---|---|
StoreEvent(Store store,
int type,
String message)
コンストラクタです。 |
メソッドの概要 | |
---|---|
void |
dispatch(Object listener)
適切な StoreListener メソッドを呼び出します。 |
String |
getMessage()
Store からメッセージを取得します。 |
int |
getMessageType()
このイベントの型を返します。 |
クラス java.util.EventObject から継承されたメソッド |
---|
getSource, toString |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
public static final int ALERT
public static final int NOTICE
protected int type
protected String message
コンストラクタの詳細 |
---|
public StoreEvent(Store store, int type, String message)
store
- ソース Storeメソッドの詳細 |
---|
public int getMessageType()
ALERT
,
NOTICE
public String getMessage()
public void dispatch(Object listener)
MailEvent
内の dispatch
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |