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

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

public class PFMouseMotionEventSourceImpl
extends java.lang.Object
implements PFMouseMotionEventSource

マウスモーションイベントを発生させるイベントソース実装。

関連項目:
PFMouseMotionEvent, PFMouseMotionListener, 直列化された形式

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

コンストラクタの詳細

PFMouseMotionEventSourceImpl

public PFMouseMotionEventSourceImpl()
メソッドの詳細

getPFMouseMotionListenerList

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

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

addPFMouseMotionListener

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

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

removePFMouseMotionListener

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

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

fireMotionPerformed

public void fireMotionPerformed(PFMouseMotionEvent e)
                         throws PFMethodException,
                                PFRuntimeException
マウスモーションイベントをすべてのイベントリスナに伝える。

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