| パッケージ | mx.automation.events |
| public class TextSelectionEvent | |
| 継承 | TextSelectionEvent Event Object |
| プロパティ | 定義 | ||
|---|---|---|---|
| beginIndex : int
選択の開始を示すインデックスです。
| TextSelectionEvent | ||
![]() | bubbles : Boolean
イベントがバブリングイベントかどうかを示します。
| Event | |
![]() | cancelable : Boolean
イベントに関連付けられた動作をキャンセルできるかどうかを示します。
| Event | |
![]() | constructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクタ関数への参照です。
| Object | |
![]() | currentTarget : Object
イベントリスナーで Event オブジェクトをアクティブに処理しているオブジェクトです。
| Event | |
| endIndex : int
選択の終了を示すインデックスです。
| TextSelectionEvent | ||
![]() | eventPhase : uint
イベントフローの現在の段階。
| Event | |
![]() | prototype : Object
[static]
クラスまたは関数オブジェクトのプロトタイプオブジェクトへの参照です。
| Object | |
![]() | target : Object
イベントターゲットです。
| Event | |
![]() | type : String
イベントのタイプです。
| Event | |
| メソッド | 定義 | ||
|---|---|---|---|
|
TextSelectionEvent(type:String = "textSelectionChange", bubbles:Boolean = false, cancelable:Boolean = false, beginIndex:int = -1, endIndex:int = -1)
コンストラクタです。
| TextSelectionEvent | ||
![]() |
Event サブクラスのインスタンスを複製します。
| Event | |
![]() |
カスタム Event クラスに
toString() メソッドを実装するためのユーティリティ関数です。 | Event | |
![]() |
指定されたプロパティがオブジェクトに定義されているかどうかを示します。
| Object | |
![]() |
イベントで
preventDefault() が呼び出されたかどうかを確認します。 | Event | |
![]() |
Object クラスのインスタンスが、パラメータとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
| Object | |
![]() |
イベントのデフォルト動作をキャンセルできる場合に、その動作をキャンセルします。
| Event | |
![]() |
指定されたプロパティが存在し、列挙できるかどうかを示します。
| Object | |
![]() |
ループ処理に対するダイナミックプロパティの可用性を設定します。
| Object | |
![]() |
イベントフローの現在のノードおよび後続するノードで、イベントリスナーが処理されないようにします。
| Event | |
![]() |
イベントフローの現在のノードに後続するノードで、イベントリスナーが処理されないようにします。
| Event | |
![]() |
Event オブジェクトのすべてのプロパティを含むストリングを返します。
| Event | |
![]() |
指定されたオブジェクトのプリミティブな値を返します。
| Object | |
| 定数 | 定義 | ||
|---|---|---|---|
![]() | ACTIVATE : String = "activate" [static]
activate イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | ADDED : String = "added" [static]
added イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | ADDED_TO_STAGE : String = "addedToStage" [static]
addedToStage イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | CANCEL : String = "cancel" [static]
cancel イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | CHANGE : String = "change" [static]
change イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | CLOSE : String = "close" [static]
close イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | COMPLETE : String = "complete" [static]
complete イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | CONNECT : String = "connect" [static]
connect イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | DEACTIVATE : String = "deactivate" [static]
deactivate イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | ENTER_FRAME : String = "enterFrame" [static]
enterFrame イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | FULLSCREEN : String = "fullScreen" [static]
fullScreen イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | ID3 : String = "id3" [static]
id3 イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | INIT : String = "init" [static]
init イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | MOUSE_LEAVE : String = "mouseLeave" [static]
mouseLeave イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | OPEN : String = "open" [static]
open イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | REMOVED : String = "removed" [static]
removed イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | REMOVED_FROM_STAGE : String = "removedFromStage" [static]
removedFromStage イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | RENDER : String = "render" [static]
render イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | RESIZE : String = "resize" [static]
resize イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | SCROLL : String = "scroll" [static]
scroll イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | SELECT : String = "select" [static]
select イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | SOUND_COMPLETE : String = "soundComplete" [static]
soundComplete イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | TAB_CHILDREN_CHANGE : String = "tabChildrenChange" [static]
tabChildrenChange イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | TAB_ENABLED_CHANGE : String = "tabEnabledChange" [static]
tabEnabledChange イベントオブジェクトの type プロパティの値を定義します。 | Event | |
![]() | TAB_INDEX_CHANGE : String = "tabIndexChange" [static]
tabIndexChange イベントオブジェクトの type プロパティの値を定義します。 | Event | |
| TEXT_SELECTION_CHANGE : String = "textSelectionChange" [static]
TextSelectionEvent.TEXT_SELECTION_CHANGE 定数により、textSelectionChange イベントのイベントオブジェクトの type プロパティ値が定義されます。 | TextSelectionEvent | ||
![]() | UNLOAD : String = "unload" [static]
unload イベントオブジェクトの type プロパティの値を定義します。 | Event | |
| beginIndex | プロパティ |
public var beginIndex:int選択の開始を示すインデックスです。
| endIndex | プロパティ |
public var endIndex:int選択の終了を示すインデックスです。
| TextSelectionEvent | () | コンストラクタ |
public 関数 TextSelectionEvent(type:String = "textSelectionChange", bubbles:Boolean = false, cancelable:Boolean = false, beginIndex:int = -1, endIndex:int = -1)コンストラクタです。
パラメータtype:String (default = "textSelectionChange") |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |
|
beginIndex:int (default = -1) |
|
endIndex:int (default = -1) |
| TEXT_SELECTION_CHANGE | 定数 |
public static const TEXT_SELECTION_CHANGE:String = "textSelectionChange"
TextSelectionEvent.TEXT_SELECTION_CHANGE 定数により、textSelectionChange イベントのイベントオブジェクトの type プロパティ値が定義されます。
イベントオブジェクトの各プロパティには次の値が設定されています。
| プロパティ | 値 |
|---|---|
beginIndex | 選択の開始を示すインデックスです。 |
bubbles | false |
cancelable | false |
currentTarget | イベント処理を行うイベントリスナーの定義用オブジェクトを表します。たとえば、イベントリスナーの登録に myButton.addEventListener() を使用すると、currentTarget の値は "myButton" となります。 |
endIndex | 選択の終了を示すインデックスです。 |
target | イベントを送出したオブジェクトを表します。このオブジェクトは必ずイベントを受け取るオブジェクトとは限りません。イベントを受け取るオブジェクトにアクセスするには、currentTarget プロパティを使用します。 |