public class PFCursor extends java.lang.Object implements PFComponent, PFXMLSerializable
マウスカーソルの表示を変更するためのオブジェクト取得やマウスカーソル位置の取得、 およびマウス操作を実行できる。 このコンポーネントからイベントは発生しない。
コンストラクタと説明 |
---|
PFCursor()
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getComponentID()
コンポーネントIDを取得する。
|
java.lang.String |
getComponentKey()
コンポーネントキーを取得する。
|
PFMultiLocaleString |
getComponentKeys()
全ロケール分のコンポーネントキーを返す。
|
java.lang.String |
getComponentName()
コンポーネント名称を取得する。
|
java.lang.String |
getComponentPublicName()
コンポーネント公開名を取得する.
|
java.lang.String |
getComponentString()
コンポーネントの文字列表現を取得する。
|
java.awt.Cursor |
getCrosshairCursor()
十字のカーソルを取得する。
|
java.awt.Cursor |
getDefaultCursor()
標準カーソルを取得する。
|
java.awt.Cursor |
getEastResizeCursor()
東方向サイズ変更のカーソルを取得する。
|
java.awt.Cursor |
getHandCursor()
手の形状のカーソルを取得する。
|
java.awt.Point |
getLocation()
マウスカーソルの位置を取得する。
|
int |
getLocationX()
マウスカーソルのX座標を取得する。
|
int |
getLocationY()
マウスカーソルのY座標を取得する。
|
java.awt.Cursor |
getMoveCursor()
移動カーソルを取得する。
|
java.awt.Cursor |
getNorthEastResizeCursor()
北東方向サイズ変更のカーソルを取得する。
|
java.awt.Cursor |
getNorthResizeCursor()
北方向サイズ変更のカーソルを取得する。
|
java.awt.Cursor |
getNorthWestResizeCursor()
北西方向サイズ変更のカーソルを取得する。
|
java.awt.Cursor |
getSouthEastResizeCursor()
南東方向サイズ変更のカーソルを取得する。
|
java.awt.Cursor |
getSouthResizeCursor()
南方向サイズ変更のカーソルを取得する。
|
java.awt.Cursor |
getSouthWestResizeCursor()
南西方向サイズ変更のカーソルを取得する。
|
java.awt.Cursor |
getSystemCustomCursor(java.lang.String cursorName)
システム独自のカーソルを返す。
|
java.awt.Cursor |
getTextCursor()
テキストのカーソルを取得する。
|
java.awt.Cursor |
getWaitCursor()
待ち状態のカーソルを取得する。
|
java.awt.Cursor |
getWestCursor()
西方向サイズ変更のカーソルを取得する。
|
boolean |
isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する.
|
void |
localeUpdated()
ロケール対応。
|
void |
mouseClick1()
マウスボタン1をクリックする。
|
void |
mouseClick2()
マウスボタン2をクリックする。
|
void |
mouseClick3()
マウスボタン3をクリックする。
|
void |
mouseInit()
操作用にマウスを初期化する。
|
void |
mouseMove(int x,
int y)
マウスを移動する。
|
void |
mouseMove(java.awt.Point point)
マウスを移動する。
|
void |
mouseMoveAnimated(int x,
int y,
int step)
アニメーション付きでマウスを移動する。
|
void |
mouseMoveAnimated(int x,
int y,
long msec)
アニメーション付きでマウスを移動する。
|
void |
mouseMoveAnimated(java.awt.Point point,
int step)
アニメーション付きでマウスを移動する。
|
void |
mouseMoveAnimated(java.awt.Point point,
long msec)
アニメーション付きでマウスを移動する。
|
void |
mousePress1()
マウスボタン1を押す。
|
void |
mousePress2()
マウスボタン2を押す。
|
void |
mousePress3()
マウスボタン3を押す。
|
void |
mouseRelease1()
マウスボタン1を離す。
|
void |
mouseRelease2()
マウスボタン2を離す。
|
void |
mouseRelease3()
マウスボタン3を離す。
|
void |
mouseWheel(int wheel)
マウスホイールを動かす。
|
void |
readXML(PFXMLLoader in)
コンポーネントのXML入力.
|
void |
setAllowPullTransfer(boolean flag)
他PFからのPull型コンポーネント転送要求に対する可否属性を設定する.
|
void |
setAllowPushTransfer(boolean flag)
他PFへのPush型コンポーネント転送要求に対する可否属性を設定する.
|
void |
setAllowRemoteInvocation(boolean flag)
他PFからのコンポーネント連携要求に対する可否属性を設定する.
|
void |
setComponentID(int id)
コンポーネントIDを設定する。
|
void |
setComponentKey(java.lang.String key)
コンポーネントキーを設定する。
|
void |
setComponentKeys(PFMultiLocaleString keys)
全ロケール分のコンポーネントキーを設定する。
|
void |
setComponentPublicName(java.lang.String publicName)
コンポーネント公開名を設定する.
|
void |
writeXML(PFXMLGenerator out)
コンポーネントのXML出力.
|
public java.lang.String getComponentName()
getComponentName
インタフェース内 PFComponent
public java.lang.String getComponentKey()
getComponentKey
インタフェース内 PFComponent
public void setComponentKey(java.lang.String key)
setComponentKey
インタフェース内 PFComponent
key
- コンポーネントキーpublic PFMultiLocaleString getComponentKeys()
public void setComponentKeys(PFMultiLocaleString keys)
keys
- 全ロケール分のコンポーネントキーpublic int getComponentID()
getComponentID
インタフェース内 PFComponent
public void setComponentID(int id)
setComponentID
インタフェース内 PFComponent
id
- 設定するコンポーネントIDpublic java.lang.String getComponentString()
getComponentString
インタフェース内 PFComponent
public java.lang.String getComponentPublicName()
getComponentPublicName
インタフェース内 PFComponent
public void setComponentPublicName(java.lang.String publicName) throws PFComponentException
setComponentPublicName
インタフェース内 PFComponent
publicName
- 設定するコンポーネント公開名PFComponentException
- 規約に反する名前が設定されようとした場合public boolean isAllowRemoteInvocation()
isAllowRemoteInvocation
インタフェース内 PFComponent
public void setAllowRemoteInvocation(boolean flag)
setAllowRemoteInvocation
インタフェース内 PFComponent
flag
- コンポーネント連携要求に対する可否public boolean isAllowPullTransfer()
isAllowPullTransfer
インタフェース内 PFComponent
public void setAllowPullTransfer(boolean flag)
setAllowPullTransfer
インタフェース内 PFComponent
flag
- Pull型コンポーネント転送要求に対する可否public boolean isAllowPushTransfer()
isAllowPushTransfer
インタフェース内 PFComponent
public void setAllowPushTransfer(boolean flag)
setAllowPushTransfer
インタフェース内 PFComponent
flag
- Push型コンポーネント転送要求に対する可否public void localeUpdated()
localeUpdated
インタフェース内 PFComponent
public java.awt.Cursor getDefaultCursor()
public java.awt.Cursor getCrosshairCursor()
public java.awt.Cursor getEastResizeCursor()
public java.awt.Cursor getHandCursor()
public java.awt.Cursor getMoveCursor()
public java.awt.Cursor getNorthResizeCursor()
public java.awt.Cursor getNorthEastResizeCursor()
public java.awt.Cursor getNorthWestResizeCursor()
public java.awt.Cursor getSouthResizeCursor()
public java.awt.Cursor getSouthEastResizeCursor()
public java.awt.Cursor getSouthWestResizeCursor()
public java.awt.Cursor getTextCursor()
public java.awt.Cursor getWestCursor()
public java.awt.Cursor getWaitCursor()
public java.awt.Cursor getSystemCustomCursor(java.lang.String cursorName)
cursorName
- カーソル名public java.awt.Point getLocation() throws PFComponentException
PFComponentException
- 取得失敗public int getLocationX() throws PFComponentException
PFComponentException
- 取得失敗public int getLocationY() throws PFComponentException
PFComponentException
- 取得失敗public void mouseInit() throws PFComponentException
PFComponentException
- 初期化失敗public void mouseMove(int x, int y) throws PFComponentException
x
- X座標y
- Y座標PFComponentException
- 初期化失敗public void mouseMove(java.awt.Point point) throws PFComponentException
point
- 位置(Point)PFComponentException
- 初期化失敗public void mouseMoveAnimated(int x, int y, int step) throws PFComponentException
x
- X座標y
- Y座標step
- 移動ステップ数PFComponentException
- 初期化失敗public void mouseMoveAnimated(java.awt.Point point, int step) throws PFComponentException
point
- 位置(Point)step
- 移動ステップ数PFComponentException
- 初期化失敗public void mouseMoveAnimated(int x, int y, long msec) throws PFComponentException
x
- X座標y
- Y座標msec
- 移動時間(msec)PFComponentException
- 初期化失敗public void mouseMoveAnimated(java.awt.Point point, long msec) throws PFComponentException
point
- 位置(Point)msec
- 移動時間(msec)PFComponentException
- 初期化失敗public void mouseWheel(int wheel) throws PFComponentException
wheel
- ホイール回転量PFComponentException
- 初期化失敗public void mousePress1() throws PFComponentException
PFComponentException
- 初期化失敗public void mouseRelease1() throws PFComponentException
PFComponentException
- 初期化失敗public void mouseClick1() throws PFComponentException
PFComponentException
- 初期化失敗public void mousePress2() throws PFComponentException
PFComponentException
- 初期化失敗public void mouseRelease2() throws PFComponentException
PFComponentException
- 初期化失敗public void mouseClick2() throws PFComponentException
PFComponentException
- 初期化失敗public void mousePress3() throws PFComponentException
PFComponentException
- 初期化失敗public void mouseRelease3() throws PFComponentException
PFComponentException
- 初期化失敗public void mouseClick3() throws PFComponentException
PFComponentException
- 初期化失敗public void readXML(PFXMLLoader in)
readXML
インタフェース内 PFXMLSerializable
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
writeXML
インタフェース内 PFXMLSerializable
out
- XML出力ユーティリティjava.io.IOException