| パッケージ | fl.events |
| クラス | public class ColorPickerEvent |
| 継承 | ColorPickerEvent Event Object |
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
ColorPickerEvent.CHANGE : ユーザーが ColorPicker コンポーネントの別の色をクリックすると送出されます。ColorPickerEvent.ENTER : ユーザーが ColorPicker コンポーネントのテキストフィールドに値を入力して Enter キーを押すと送出されます。ColorPickerEvent.ITEM_ROLL_OUT : デバイスのポインタが ColorPicker コンポーネントのカラーセル外に移動すると送出されます。ColorPickerEvent.ITEM_ROLL_OVER : デバイスのポインタが ColorPicker コンポーネント内のカラーセルの上に移動すると送出されます。関連項目
| プロパティ | 定義元 | ||
|---|---|---|---|
![]() | bubbles : Boolean
[read-only]
イベントがバブリングイベントかどうかを示します。
| Event | |
![]() | cancelable : Boolean
[read-only]
イベントに関連付けられた動作を回避できるかどうかを示します。
| Event | |
| color : uint
[read-only]
イベントと関連付けられたカラー値を取得します。
| ColorPickerEvent | ||
![]() | constructor : Object
特定のオブジェクトインスタンスのクラスオブジェクトまたはコンストラクタ関数への参照です。
| Object | |
![]() | currentTarget : Object
[read-only]
イベントリスナーで Event オブジェクトをアクティブに処理しているオブジェクトです。
| Event | |
![]() | eventPhase : uint
[read-only]
イベントフローの現在の段階です。
| Event | |
![]() | prototype : Object
[static]
クラスまたは関数オブジェクトのプロトタイプオブジェクトへの参照です。
| Object | |
![]() | target : Object
[read-only]
イベントターゲットです。
| Event | |
![]() | type : String
[read-only]
イベントのタイプです。
| Event | |
| メソッド | 定義元 | ||
|---|---|---|---|
|
新しい ColorPickerEvent オブジェクトを作成します。
| ColorPickerEvent | ||
|
ColorPickerEvent オブジェクトのコピーを作成して、各パラメータの値を元のパラメータの値と一致するように設定します。
| ColorPickerEvent | ||
![]() |
カスタム Event クラスに toString() メソッドを実装するためのユーティリティ関数です。
| Event | |
![]() |
オブジェクトに指定されたプロパティが定義されているかどうかを示します。
| Object | |
![]() |
イベントで preventDefault() が呼び出されたかどうかを確認します。
| Event | |
![]() |
Object クラスのインスタンスが、パラメータとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
| Object | |
![]() |
イベントのデフォルトの動作をキャンセルできる場合に、その動作をキャンセルします。
| Event | |
![]() |
指定されたプロパティが存在し列挙できるかどうかを示します。
| Object | |
![]() |
ループ処理に対するダイナミックプロパティの可用性を設定します。
| Object | |
![]() |
イベントフローの現在のノードおよび後続するノードで、イベントリスナーが処理されないようにします。
| Event | |
![]() |
イベントフローの現在のノードに後続するノードで、イベントリスナーが処理されないようにします。
| Event | |
|
ColorPickerEvent オブジェクトのすべてのプロパティを含んでいるストリングを返します。
| ColorPickerEvent | ||
![]() |
指定されたオブジェクトのプリミティブな値を返します。
| 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 プロパティ値を定義します。
| ColorPickerEvent | ||
![]() | 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 : String = "enter" [static]
enter イベントオブジェクトの type プロパティ値を定義します。
| ColorPickerEvent | ||
![]() | 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 | |
| ITEM_ROLL_OUT : String = "itemRollOut" [static]
itemRollOut イベントオブジェクトの type プロパティ値を定義します。
| ColorPickerEvent | ||
| ITEM_ROLL_OVER : String = "itemRollOver" [static]
itemRollOver イベントオブジェクトの type プロパティ値を定義します。
| ColorPickerEvent | ||
![]() | 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 | |
![]() | UNLOAD : String = "unload" [static]
unload イベントオブジェクトの type プロパティ値を定義します。
| Event | |
| color | プロパティ |
color:uint [read-only]
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
イベントと関連付けられたカラー値を取得します。
public function get color():uint
| ColorPickerEvent | () | コンストラクタ |
public function ColorPickerEvent(type:String, color:uint)
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
新しい ColorPickerEvent オブジェクトを作成します。
パラメータtype:String — 現在のイベントタイプを示します。
|
|
color:uint — 現在のイベントに関連付けられたカラーを示します。
|
| clone | () | メソッド |
public override function clone():Event
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
ColorPickerEvent オブジェクトのコピーを作成して、各パラメータの値を元のパラメータの値と一致するように設定します。
戻り値Event — ColorPickerEvent インスタンスのコピーです。
|
| toString | () | メソッド |
public override function toString():String
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
ColorPickerEvent オブジェクトのすべてのプロパティを含んでいるストリングを返します。
戻り値String — ColorPickerEvent オブジェクトのストリング表現です。
|
| CHANGE | 定数 |
public static const CHANGE:String = "change"
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
type プロパティ (change イベントオブジェクト) の値を定義します。
このイベントには、次のプロパティがあります。
| プロパティ | 値 |
|---|---|
bubbles | true |
cancelable | true |
color | ColorPicker コンポーネントの現在のカラー値。 |
currentTarget | イベントリスナーで event オブジェクトをアクティブに処理しているオブジェクトです。 |
target | イベントを送出したオブジェクトです。ターゲットは、必ずしもイベントを受け取るオブジェクトではありません。イベントを受け取るオブジェクトにアクセスするには、currentTarget プロパティを使用します。 |
import fl.controls.ColorPicker;
import fl.events.ColorPickerEvent;
var myColorPicker:ColorPicker = new ColorPicker();
myColorPicker.addEventListener(ColorPickerEvent.CHANGE, changeHandler);
myColorPicker.move(10, 10);
addChild(myColorPicker);
function changeHandler(event:ColorPickerEvent):void {
trace("color changed:", event.color, "(#" + event.target.hexValue + ")");
}
| ENTER | 定数 |
public static const ENTER:String = "enter"
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
type プロパティ (enter イベントオブジェクト) の値を定義します。
このイベントには、次のプロパティがあります。
| プロパティ | 値 |
|---|---|
bubbles | true |
cancelable | true |
color | ColorPicker コンポーネントの現在のカラー値。 |
currentTarget | イベントリスナーで event オブジェクトをアクティブに処理しているオブジェクトです。 |
target | イベントを送出したオブジェクトです。ターゲットは、必ずしもイベントを受け取るオブジェクトではありません。イベントを受け取るオブジェクトにアクセスするには、currentTarget プロパティを使用します。 |
| ITEM_ROLL_OUT | 定数 |
public static const ITEM_ROLL_OUT:String = "itemRollOut"
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
type プロパティ (itemRollOut イベントオブジェクト) の値を定義します。
このイベントには、次のプロパティがあります。
| プロパティ | 値 |
|---|---|
bubbles | true |
cancelable | true |
color | ColorPicker コンポーネントの現在のカラー値。 |
currentTarget | イベントリスナーで event オブジェクトをアクティブに処理しているオブジェクトです。 |
target | イベントを送出したオブジェクトです。ターゲットは、必ずしもイベントを受け取るオブジェクトではありません。イベントを受け取るオブジェクトにアクセスするには、currentTarget プロパティを使用します。 |
関連項目
| ITEM_ROLL_OVER | 定数 |
public static const ITEM_ROLL_OVER:String = "itemRollOver"
| 言語バージョン : | ActionScript 3.0 |
| Player のバージョン : | Flash Player 9.0.28.0 |
type プロパティ (itemRollOver イベントオブジェクト) の値を定義します。
このイベントには、次のプロパティがあります。
| プロパティ | 値 |
|---|---|
bubbles | true |
cancelable | true |
color | ColorPicker コンポーネントの現在のカラー値。 |
currentTarget | イベントリスナーで event オブジェクトをアクティブに処理しているオブジェクトです。 |
target | イベントを送出したオブジェクトです。ターゲットは、必ずしもイベントを受け取るオブジェクトではありません。イベントを受け取るオブジェクトにアクセスするには、currentTarget プロパティを使用します。 |
関連項目
このページに新しいコメントが追加された場合に、電子メールでの通知を希望する。 | コメントレポート
現在のページ: http://livedocs.adobe.com/flash/9.0_jp/ActionScriptLangRefV3/fl/events/ColorPickerEvent.html