public class PFMouseWheelEvent extends PFAbstractMouseEvent
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
MOUSE_WHEEL
イベント種別:マウスホイールイベント
|
type, x, y
コンストラクタと説明 |
---|
PFMouseWheelEvent(PFComponent source,
int type,
int x,
int y,
int rotation)
引数で指定されたオブジェクトを発生元とする
マウスホイールイベントを作成する。
|
PFMouseWheelEvent(PFComponent source,
int type,
int x,
int y,
int rotation,
int eventNo)
引数で指定されたオブジェクトを発生元とする
マウスホイールイベントを作成する。
|
修飾子とタイプ | メソッドと説明 |
---|---|
static int |
getMouseWheelEventType()
マウスホイールイベントの種別を取得する。
|
int |
getWheelRotation()
マウスホイールの回転数を取得する。
|
boolean |
isMouseWheelEventType()
マウスホイールイベントかどうかをチェックする。
|
getPoint, getType, getX, getY
clone, getEventNo, setEventNo
public static final int MOUSE_WHEEL
public PFMouseWheelEvent(PFComponent source, int type, int x, int y, int rotation)
source
- イベントソースtype
- イベント種別x
- X座標y
- Y座標rotation
- 回転数public PFMouseWheelEvent(PFComponent source, int type, int x, int y, int rotation, int eventNo)
source
- イベントソースtype
- イベント種別x
- クリックX座標y
- クリックY座標rotation
- 回転数eventNo
- イベント番号public static int getMouseWheelEventType()
public boolean isMouseWheelEventType()
public int getWheelRotation()