jp.go.aist.dmrc.platform.util.event
クラス PFActionEventSourceImpl

java.lang.Object
  上位を拡張 jp.go.aist.dmrc.platform.util.event.PFActionEventSourceImpl
すべての実装されたインタフェース:
java.io.Serializable, PFActionEventSource, PFEventSource

public class PFActionEventSourceImpl
extends java.lang.Object
implements PFActionEventSource

アクションイベントを発生させるイベントソース実装。

関連項目:
PFActionEvent, PFActionListener, 直列化された形式

コンストラクタの概要
PFActionEventSourceImpl()
           
 
メソッドの概要
 void addPFActionListener(PFActionListener lis)
          引数で与えられたイベントリスナを登録し、 アクションイベント発生時に処理を行う対象とする。
 void fireActionPerformed(PFActionEvent e)
          イベント処理をすべてのイベントリスナに伝える。
 java.util.Iterator getPFActionListenerList()
          イベントリスナ配列を取得する。
 void removePFActionListener(PFActionListener lis)
          引数で与えられたイベントリスナを削除し、 アクションイベント発生時に処理を行う対象から外す。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PFActionEventSourceImpl

public PFActionEventSourceImpl()
メソッドの詳細

getPFActionListenerList

public java.util.Iterator getPFActionListenerList()
イベントリスナ配列を取得する。

定義:
インタフェース PFActionEventSource 内の getPFActionListenerList
戻り値:
イベントリスナイテレータ

addPFActionListener

public void addPFActionListener(PFActionListener lis)
引数で与えられたイベントリスナを登録し、 アクションイベント発生時に処理を行う対象とする。

定義:
インタフェース PFActionEventSource 内の addPFActionListener
パラメータ:
lis - 追加対象イベントリスナ

removePFActionListener

public void removePFActionListener(PFActionListener lis)
引数で与えられたイベントリスナを削除し、 アクションイベント発生時に処理を行う対象から外す。

定義:
インタフェース PFActionEventSource 内の removePFActionListener
パラメータ:
lis - 削除対象イベントリスナ

fireActionPerformed

public void fireActionPerformed(PFActionEvent e)
                         throws PFMethodException,
                                PFRuntimeException
イベント処理をすべてのイベントリスナに伝える。

パラメータ:
e - 発生したイベント
例外:
PFMethodException - メソッド実行の失敗
PFRuntimeException - 予期しない実行時エラー