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

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

public class PFMouseEventSourceImpl
extends java.lang.Object
implements PFMouseEventSource

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

関連項目:
PFMouseEvent, PFMouseListener, 直列化された形式

コンストラクタの概要
PFMouseEventSourceImpl()
           
 
メソッドの概要
 void addPFMouseListener(PFMouseListener lis)
          引数で与えられたイベントリスナを登録し、 マウスイベント発生時に処理を行う対象とする。
 void fireLeftClicked(PFMouseEvent e)
          左クリックイベントをすべてのイベントリスナに伝える。
 void fireMouseEntered(PFMouseEvent e)
          マウスエンターイベントをすべてのイベントリスナに伝える。
 void fireMouseExited(PFMouseEvent e)
          マウスイグジットイベントをすべてのイベントリスナに伝える。
 void fireRightClicked(PFMouseEvent e)
          右クリックイベントをすべてのイベントリスナに伝える。
 java.util.Iterator getPFMouseListenerList()
          イベントリスナ配列を取得する。
 void removePFMouseListener(PFMouseListener lis)
          引数で与えられたイベントリスナを削除し、 マウスイベント発生時に処理を行う対象から外す。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PFMouseEventSourceImpl

public PFMouseEventSourceImpl()
メソッドの詳細

getPFMouseListenerList

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

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

addPFMouseListener

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

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

removePFMouseListener

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

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

fireLeftClicked

public void fireLeftClicked(PFMouseEvent e)
                     throws PFMethodException,
                            PFRuntimeException
左クリックイベントをすべてのイベントリスナに伝える。

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

fireRightClicked

public void fireRightClicked(PFMouseEvent e)
                      throws PFMethodException,
                             PFRuntimeException
右クリックイベントをすべてのイベントリスナに伝える。

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

fireMouseEntered

public void fireMouseEntered(PFMouseEvent e)
                      throws PFMethodException,
                             PFRuntimeException
マウスエンターイベントをすべてのイベントリスナに伝える。

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

fireMouseExited

public void fireMouseExited(PFMouseEvent e)
                     throws PFMethodException,
                            PFRuntimeException
マウスイグジットイベントをすべてのイベントリスナに伝える。

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