| Package | jp.progression.events |
| Class | public class CastMouseEvent |
| Inheritance | CastMouseEvent flash.events.MouseEvent |
| Method | Defined By | ||
|---|---|---|---|
CastMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number = 0, localY:Number = 0, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0)
新しい CastMouseEvent インスタンスを作成します。
Creates a new CastMouseEvent object.
| CastMouseEvent | ||
clone():Event [override]
CastMouseEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。
Duplicates an instance of an CastMouseEvent subclass.
| CastMouseEvent | ||
toString():String [override]
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| CastMouseEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| CAST_MOUSE_DOWN : String = castMouseDown [static]
castMouseDown イベントオブジェクトの type プロパティ値を定義します。
The CastMouseEvent.CAST_MOUSE_DOWN constant defines the value of the type property of an castMouseDown event object.
| CastMouseEvent | ||
| CAST_MOUSE_UP : String = castMouseUp [static]
castMouseUp イベントオブジェクトの type プロパティ値を定義します。
The CastMouseEvent.CAST_MOUSE_UP constant defines the value of the type property of an castMouseUp event object.
| CastMouseEvent | ||
| CAST_ROLL_OUT : String = castRollOut [static]
castRollOut イベントオブジェクトの type プロパティ値を定義します。
The CastMouseEvent.CAST_ROLL_OUT constant defines the value of the type property of an castRollOut event object.
| CastMouseEvent | ||
| CAST_ROLL_OVER : String = castRollOver [static]
castRollOver イベントオブジェクトの type プロパティ値を定義します。
The CastMouseEvent.CAST_ROLL_OVER constant defines the value of the type property of an castRollOver event object.
| CastMouseEvent | ||
| CastMouseEvent | () | Constructor |
public function CastMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number = 0, localY:Number = 0, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0)新しい CastMouseEvent インスタンスを作成します。 Creates a new CastMouseEvent object.
Parameterstype:String — CastMouseEvent.type としてアクセス可能なイベントタイプです。
The type of the event, accessible as CastMouseEvent.type.
| |
bubbles:Boolean (default = false) — CastMouseEvent インスタンスがイベントフローのバブリング段階で処理されるかどうかを判断します。デフォルト値は false です。
Determines whether the CastMouseEvent object participates in the bubbling stage of the event flow. The default value is false.
| |
cancelable:Boolean (default = false) — CastMouseEvent インスタンスがキャンセル可能かどうかを判断します。デフォルト値は false です。
Determines whether the CastMouseEvent object can be canceled. The default values is false.
| |
localX:Number (default = 0) — スプライトを基準とするイベント発生位置の水平座標です。
The horizontal coordinate at which the event occurred relative to the containing sprite.
| |
localY:Number (default = 0) — スプライトを基準とするイベント発生位置の垂直座標です。
The vertical coordinate at which the event occurred relative to the containing sprite.
| |
relatedObject:InteractiveObject (default = null) — イベントの影響を受ける補完的な InteractiveObject インスタンスです。たとえば、mouseOut イベントが発生した場合、relatedObject はポインティングデバイスが現在指している表示リストオブジェクトを表します。
The complementary InteractiveObject instance that is affected by the event. For example, when a mouseOut event occurs, relatedObject represents the display list object to which the pointing device now points.
| |
ctrlKey:Boolean (default = false) — Ctrl キーがアクティブになっているかどうかを示します。
On Windows, indicates whether the Ctrl key is activated. On Mac, indicates whether either the Ctrl key or the Command key is activated.
| |
altKey:Boolean (default = false) — 将来の使用のために予約されています。
Indicates whether the Alt key is activated (Windows only).
| |
shiftKey:Boolean (default = false) — Shift キーがアクティブになっているかどうかを示します。
Indicates whether the Shift key is activated.
| |
buttonDown:Boolean (default = false) — マウスの主ボタンが押されているか押されていないかを示します。
Indicates whether the primary mouse button is pressed.
| |
delta:int (default = 0) — ユーザーがマウスホイールを 1 目盛り回すごとにスクロールする行数を示します。正の delta 値は上方向へのスクロールを表します。負の値は下方向へのスクロールを表します。一般的な値は 1 ~ 3 の範囲ですが、ホイールの回転が速くなると、delta の値は大きくなります。このパラメータは、CastMouseEvent.mouseWheel イベントのみで使用されます。
Indicates how many lines should be scrolled for each unit the user rotates the mouse wheel. A positive delta value indicates an upward scroll; a negative value indicates a downward scroll. Typical values are 1 to 3, but faster rotation may produce larger values. This parameter is used only for the MouseEvent.mouseWheel event.
|
| clone | () | method |
override public function clone():EventCastMouseEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an CastMouseEvent subclass.
ReturnsEvent —
元のオブジェクトと同じプロパティ値を含む新しい CastMouseEvent インスタンスです。
A new CastMouseEvent object that is identical to the original.
|
| toString | () | method |
override public function toString():String指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ReturnsString —
オブジェクトのストリング表現です。
A string representation of the object.
|
| CAST_MOUSE_DOWN | Constant |
public static const CAST_MOUSE_DOWN:String = castMouseDowncastMouseDown イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_MOUSE_DOWN constant defines the value of the type property of an castMouseDown event object.
| CAST_MOUSE_UP | Constant |
public static const CAST_MOUSE_UP:String = castMouseUpcastMouseUp イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_MOUSE_UP constant defines the value of the type property of an castMouseUp event object.
| CAST_ROLL_OUT | Constant |
public static const CAST_ROLL_OUT:String = castRollOutcastRollOut イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_ROLL_OUT constant defines the value of the type property of an castRollOut event object.
| CAST_ROLL_OVER | Constant |
public static const CAST_ROLL_OVER:String = castRollOvercastRollOver イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_ROLL_OVER constant defines the value of the type property of an castRollOver event object.