|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object java.util.EventObject jp.go.aist.dmrc.platform.util.event.PFEvent jp.go.aist.dmrc.platform.util.event.PFAbstractMouseEvent
public abstract class PFAbstractMouseEvent
コンポーネントから発生するマウスイベントの抽象クラス。
フィールドの概要 | |
---|---|
protected int |
type
イベント種別 |
protected int |
x
クリックX座標 |
protected int |
y
クリックY座標 |
クラス jp.go.aist.dmrc.platform.util.event.PFEvent から継承されたフィールド |
---|
eventNo |
クラス java.util.EventObject から継承されたフィールド |
---|
source |
コンストラクタの概要 | |
---|---|
PFAbstractMouseEvent(PFComponent source,
int type,
int x,
int y)
引数で指定されたオブジェクトを発生元とする マウスイベントを作成する。 |
|
PFAbstractMouseEvent(PFComponent source,
int type,
int x,
int y,
int eventNo)
引数で指定されたオブジェクトを発生元とする マウスイベントを作成する。 |
メソッドの概要 | |
---|---|
int[] |
getPoint()
マウス座標を取得する。 |
int |
getType()
イベント種別を取得する。 |
int |
getX()
マウスX座標を取得する。 |
int |
getY()
マウスY座標を取得する。 |
クラス jp.go.aist.dmrc.platform.util.event.PFEvent から継承されたメソッド |
---|
clone, getEventNo, setEventNo |
クラス java.util.EventObject から継承されたメソッド |
---|
getSource, toString |
クラス java.lang.Object から継承されたメソッド |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
protected int x
protected int y
protected int type
コンストラクタの詳細 |
---|
public PFAbstractMouseEvent(PFComponent source, int type, int x, int y)
source
- イベントソースtype
- イベント種別x
- X座標y
- Y座標public PFAbstractMouseEvent(PFComponent source, int type, int x, int y, int eventNo)
source
- イベントソースtype
- イベント種別x
- X座標y
- Y座標eventNo
- イベント番号メソッドの詳細 |
---|
public int getType()
public int[] getPoint()
public int getX()
public int getY()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |