|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.aist.dmrc.platform.beans.gui.PFCursor
public class PFCursor
マウスカーソルを扱うコンポーネント。
マウスカーソルの表示を変更するためのオブジェクト取得やマウスカーソル位置の取得、 およびマウス操作を実行できる。 このコンポーネントからイベントは発生しない。
コンストラクタの概要 | |
---|---|
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出力. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public PFCursor()
メソッドの詳細 |
---|
public java.lang.String getComponentName()
PFComponent
内の getComponentName
public java.lang.String getComponentKey()
PFComponent
内の getComponentKey
public void setComponentKey(java.lang.String key)
PFComponent
内の setComponentKey
key
- コンポーネントキーpublic PFMultiLocaleString getComponentKeys()
public void setComponentKeys(PFMultiLocaleString keys)
keys
- 全ロケール分のコンポーネントキーpublic int getComponentID()
PFComponent
内の getComponentID
public void setComponentID(int id)
PFComponent
内の setComponentID
id
- 設定するコンポーネントIDpublic java.lang.String getComponentString()
PFComponent
内の getComponentString
public java.lang.String getComponentPublicName()
PFComponent
内の getComponentPublicName
public void setComponentPublicName(java.lang.String publicName) throws PFComponentException
PFComponent
内の setComponentPublicName
publicName
- 設定するコンポーネント公開名
PFComponentException
- 規約に反する名前が設定されようとした場合public boolean isAllowRemoteInvocation()
PFComponent
内の isAllowRemoteInvocation
public void setAllowRemoteInvocation(boolean flag)
PFComponent
内の setAllowRemoteInvocation
flag
- コンポーネント連携要求に対する可否public boolean isAllowPullTransfer()
PFComponent
内の isAllowPullTransfer
public void setAllowPullTransfer(boolean flag)
PFComponent
内の setAllowPullTransfer
flag
- Pull型コンポーネント転送要求に対する可否public boolean isAllowPushTransfer()
PFComponent
内の isAllowPushTransfer
public void setAllowPushTransfer(boolean flag)
PFComponent
内の setAllowPushTransfer
flag
- Push型コンポーネント転送要求に対する可否public void localeUpdated()
PFComponent
内の localeUpdated
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)
PFXMLSerializable
内の readXML
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
PFXMLSerializable
内の writeXML
out
- XML出力ユーティリティ
java.io.IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |