public final class AreaNotification extends ClientEvent implements Notification
| コンストラクタと説明 |
|---|
AreaNotification(ClientSession session,
java.lang.Object source,
NotificationDefinition def,
java.util.Map items)
コンストラクタ
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
destory()
通知オブジェクトを破棄する
|
ClientSession |
getClientSession()
通知オブジェクトが紐尽く実行セッションを取得する
|
NotificationDefinition |
getDefinition()
通知定義情報を取得する
|
Reference |
getReference(java.lang.String ref)
通知オブジェクトを起点とした参照オブジェクトを取得する
|
java.lang.Object |
getValue(java.lang.String id)
イベントパラメータを取得する
|
boolean |
scope(NotificationListener listener)
引数で指定されたリスナがこの通知の届く範囲内であるかを返す
|
void |
setValue(java.lang.String id,
java.lang.Object value)
通知パラメータを設定する
|
ClientEvent |
toClientEvent()
通知オブジェクトをClientEventに変換する
|
getCauseEvent, getEventNamepublic AreaNotification(ClientSession session, java.lang.Object source, NotificationDefinition def, java.util.Map items)
session - 実行セッションsource - イベントの発生元eventName - イベント名params - イベントパラメータ格納マップpublic NotificationDefinition getDefinition()
getDefinition インタフェース内 Notificationpublic java.lang.Object getValue(java.lang.String id)
getValue インタフェース内 Notificationid - 取得したいイベントパラメータ名public void setValue(java.lang.String id, java.lang.Object value)
setValue インタフェース内 Notificationid - 設定したい通知パラメータ名value - パラメータ値public ClientEvent toClientEvent()
toClientEvent インタフェース内 Notificationpublic void destory()
destory インタフェース内 Notificationpublic Reference getReference(java.lang.String ref)
getReference インタフェース内 ReferenceSourceref - 参照記法文字列public ClientSession getClientSession()
getClientSession インタフェース内 Notificationpublic boolean scope(NotificationListener listener)
scope インタフェース内 Notificationlistener - チェック対象のリスナ