|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.aist.dmrc.platform.beans.gui.event.PFInputEventFilter jp.go.aist.dmrc.platform.beans.gui.event.PFMouseButtonEventFilter
public class PFMouseButtonEventFilter
マウスボタンイベントのイベント内容によって新たなイベントを発生させるための イベントフィルタリングを行うコンポーネント。
フィールドの概要 |
---|
クラス jp.go.aist.dmrc.platform.beans.gui.event.PFInputEventFilter から継承されたフィールド |
---|
componentID, componentKey, eventMaskList |
コンストラクタの概要 | |
---|---|
PFMouseButtonEventFilter()
マウスイベントフィルタコンポーネントを生成する。 |
メソッドの概要 | |
---|---|
void |
addEventFilter(int eventType,
int mouseButton,
int mouseModifiers,
int clickCount,
int eventNo)
マウスボタンイベントのフィルタを追加する。 |
void |
addMouseModifiers(int eventNo,
int mouseModifiers)
マウスボタンイベントフィルタに修飾キーを追加する。 |
void |
addPFMouseButtonListener(PFMouseButtonListener lis)
引数で与えられたイベントリスナを登録し、 マウスボタンイベント発生時に処理を行う対象とする。 |
void |
clearEventFilter()
マウスボタンイベントのフィルタをクリアする。 |
void |
clearMouseButtonModifiers(int eventNo)
マウスボタンイベントフィルタの修飾キーをクリアする。 |
java.lang.String |
getComponentName()
コンポーネント名称を取得する。 |
static int |
getMouseClickEventType()
マウスクリックイベントの種別を取得する。 |
static int |
getMouseLeftButton()
マウス左ボタンの種別を取得する。 |
static int |
getMouseMiddleButton()
マウス中ボタンの種別を取得する。 |
static int |
getMousePressEventType()
マウスプレスイベントの種別を取得する。 |
static int |
getMouseReleaseEventType()
マウスリリースイベントの種別を取得する。 |
static int |
getMouseRightButton()
マウス右ボタンの種別を取得する。 |
java.util.Iterator |
getPFMouseButtonListenerList()
マウスボタンイベントリスナ配列を取得する。 |
void |
localeUpdated()
ロケール変更に対応する。 |
void |
notifyEvent(PFMouseButtonEvent event)
イベントを受け取る。 |
void |
readXML(PFXMLLoader in)
コンポーネントのXML入力. |
void |
removeEventFilter(int eventNo)
マウスボタンイベントのフィルタを削除する。 |
void |
removeMouseModifiers(int eventNo,
int mouseModifiers)
マウスボタンイベントフィルタの修飾キーを削除する。 |
void |
removePFMouseButtonListener(PFMouseButtonListener lis)
引数で与えられたイベントリスナを削除し、 マウスボタンイベント発生時に処理を行う対象から外す。 |
void |
writeXML(PFXMLGenerator out)
コンポーネントのXML出力. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public PFMouseButtonEventFilter()
メソッドの詳細 |
---|
public java.lang.String getComponentName()
PFComponent
内の getComponentName
public java.util.Iterator getPFMouseButtonListenerList()
PFMouseButtonEventSource
内の getPFMouseButtonListenerList
public void addPFMouseButtonListener(PFMouseButtonListener lis)
PFMouseButtonEventSource
内の addPFMouseButtonListener
lis
- 追加対象イベントリスナpublic void removePFMouseButtonListener(PFMouseButtonListener lis)
PFMouseButtonEventSource
内の removePFMouseButtonListener
lis
- 削除対象イベントリスナpublic void localeUpdated()
PFComponent
内の localeUpdated
public void notifyEvent(PFMouseButtonEvent event) throws PFMethodException, PFRuntimeException
event
- マウスボタンイベント
PFMethodException
- メソッド起動時のエラー
PFRuntimeException
- 予期しない実行時エラーpublic void addEventFilter(int eventType, int mouseButton, int mouseModifiers, int clickCount, int eventNo)
eventType
- イベント識別(無指定:0)mouseButton
- マウスボタン(無指定:0)mouseModifiers
- マウス修飾キー(無指定:0)clickCount
- クリック回数(無指定:0)eventNo
- 発生させるイベントNOpublic void removeEventFilter(int eventNo)
eventNo
- 発生させるイベントNOpublic void clearEventFilter()
public void addMouseModifiers(int eventNo, int mouseModifiers)
eventNo
- 追加対象のイベントNOmouseModifiers
- 追加修飾キーpublic void removeMouseModifiers(int eventNo, int mouseModifiers)
eventNo
- 削除対象のイベントNOmouseModifiers
- 削除修飾キーpublic void clearMouseButtonModifiers(int eventNo)
eventNo
- クリア対象のイベントNOpublic static int getMousePressEventType()
public static int getMouseReleaseEventType()
public static int getMouseClickEventType()
public static int getMouseLeftButton()
public static int getMouseMiddleButton()
public static int getMouseRightButton()
public void readXML(PFXMLLoader in)
PFXMLSerializable
内の readXML
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
PFXMLSerializable
内の writeXML
out
- XML出力ユーティリティ
java.io.IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |