| Package | jp.progression.scenes |
| Class | public class EasyCastingScene |
| Inheritance | EasyCastingScene SceneObject flash.events.EventDispatcher |
// EasyCastingScene インスタンスを作成する var scene:EasyCastingScene = new EasyCastingScene();
| Property | Defined by | ||
|---|---|---|---|
| casts : Array [read-only]
自身に移動した際に表示させる表示オブジェクトを保持した配列を取得します。
| EasyCastingScene | ||
![]() | className : String
インスタンスのクラス名を取得します。
Indicates the instance className of the SceneObject.
| SceneObject | |
![]() | container : Sprite
関連付けられている Sprite インスタンスを取得します。
| SceneObject | |
![]() | dataHolder : DataHolder
関連付けられている DataHolder インスタンスを取得します。
| SceneObject | |
![]() | executor : ExecutorObject
関連付けられている ExecutorObject インスタンスを取得します。
| SceneObject | |
![]() | group : String
インスタンスのグループ名を取得または設定します。
Indicates the instance group of the SceneObject.
| SceneObject | |
![]() | id : String
インスタンスを表すユニークな識別子を取得または設定します。
| SceneObject | |
![]() | manager : Progression
関連付けられている Progression インスタンスを取得します。
| SceneObject | |
![]() | name : String
インスタンスの名前を取得または設定します。
Indicates the instance name of the SceneObject.
| SceneObject | |
![]() | next : SceneObject
このシーンが関連付けられている親の SceneObject インスタンス内で、次に位置する SceneObject インスタンスを取得します。
| SceneObject | |
![]() | numScenes : int
子として登録されているシーン数を取得します。
Returns the number of children of this SceneObject.
| SceneObject | |
![]() | onSceneAscend : Function
シーンオブジェクトが SceneEvent.SCENE_ASCEND イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| SceneObject | |
![]() | onSceneDescend : Function
シーンオブジェクトが SceneEvent.SCENE_DESCEND イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| SceneObject | |
![]() | onSceneGoto : Function
シーンオブジェクトが SceneEvent.SCENE_GOTO イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| SceneObject | |
![]() | onSceneInit : Function
シーンオブジェクトが SceneEvent.SCENE_INIT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| SceneObject | |
![]() | onSceneLoad : Function
シーンオブジェクトが SceneEvent.SCENE_LOAD イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| SceneObject | |
![]() | onSceneUnload : Function
シーンオブジェクトが SceneEvent.SCENE_UNLOAD イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| SceneObject | |
![]() | parent : SceneObject
この SceneObject オブジェクトを含む SceneObject オブジェクトを示します。
Indicates the SceneObject object that contains this SceneObject object.
| SceneObject | |
![]() | previous : SceneObject
このシーンが関連付けられている親の SceneObject インスタンス内で、一つ前に位置する SceneObject インスタンスを取得します。
| SceneObject | |
![]() | root : SceneObject
シーンツリー構造の一番上に位置する SceneObject インスタンスを取得します。
| SceneObject | |
![]() | sceneId : SceneId
シーン識別子を取得します。
| SceneObject | |
![]() | sceneInfo : SceneInfo
関連付けられている SceneInfo インスタンスを取得します。
| SceneObject | |
![]() | scenes : Array
子シーンインスタンスが保存されている配列です。
この配列を操作することで元の配列を変更することはできません。
| SceneObject | |
![]() | self : SceneObject
自身の参照を取得します。
| SceneObject | |
![]() | stage : Stage
関連付けられている Stage インスタンスを取得します。
| SceneObject | |
![]() | title : String
シーンのタイトルを取得または設定します。
| SceneObject | |
![]() | visited : Boolean
一度でもシーンに移動してきた時があるかどうかを取得します。
| SceneObject | |
| Method | Defined by | ||
|---|---|---|---|
|
EasyCastingScene(name:String = null, initObject:Object = null)
新しい EasyCastingScene インスタンスを作成します。
Creates a new EasyCastingScene object.
| EasyCastingScene | ||
![]() |
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。
追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| SceneObject | |
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventDispatcher インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。
このメソッドを使用して登録されたリスナーを removeEventListener() メソッドで削除した場合には、restoreRemovedListeners() メソッドで再登録させることができます。
Register the event listener object into the EventDispatcher instance to get the event notification.
| SceneObject | |
![]() |
この SceneObject インスタンスに子 SceneObject インスタンスを追加します。
Adds a child SceneObject instance to this SceneObject instance.
| SceneObject | |
![]() |
この SceneObject インスタンスの指定されたインデックス位置に子 SceneObject インスタンスを追加します。
Adds a child SceneObject instance to this SceneObject instance.
| SceneObject | |
![]() |
この SceneObject インスタンスの指定されたインデックス位置に子 SceneObject インスタンスを追加します。
Adds a child SceneObject instance to this SceneObject instance.
| SceneObject | |
|
addSceneFromXML(prml:XML):void
この SceneObject インスタンスの子を PRML 形式の XML データから追加します。
| EasyCastingScene | ||
![]() |
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを削除します。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| SceneObject | |
![]() |
contains(scene:SceneObject):Boolean
指定されたシーンオブジェクトが SceneObject インスタンスの子であるか、オブジェクト自体であるかを指定します。
Determines whether the specified SceneObject is a scene of the SceneObject instance or the instance itself.
| SceneObject | |
![]() |
dispatchEvent(event:Event):Boolean
イベントをイベントフローに送出します。
Dispatches an event into the event flow.
| SceneObject | |
|
dispose():void
保持しているデータを解放します。
| EasyCastingScene | ||
![]() |
getSceneAt(index:int):SceneObject
指定のインデックス位置にある子シーンオブジェクトオブジェクトを返します。
Returns the child SceneObject instance that exists at the specified index.
| SceneObject | |
![]() |
getSceneByName(name:String):SceneObject
指定された名前に一致する子シーンオブジェクトを返します。
Returns the child SceneObject that exists with the specified name.
| SceneObject | |
![]() |
getSceneIndex(scene:SceneObject):int
子 SceneObject インスタンスのインデックス位置を返します。
Returns the index position of a child SceneObject instance.
| SceneObject | |
![]() |
シーン識別子をルートシーン(グローバル)パスからローダーシーンの(ローカル)パスに変換します。
| SceneObject | |
![]() |
hasEventListener(type:String):Boolean
EventDispatcher インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| SceneObject | |
![]() |
insertCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。
追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| SceneObject | |
![]() |
シーン識別子をローダーシーンの(ローカル)パスからルートシーン(グローバル)パスに変換します。
| SceneObject | |
![]() |
removeAllScenes():void
SceneObject に追加されている全ての子 SceneObject インスタンスを削除します。
| SceneObject | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher インスタンスからリスナーを削除します。
このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。
Remove the listener from EventDispatcher instance.
| SceneObject | |
![]() |
SceneObject インスタンスの子リストから指定の SceneObject インスタンスを削除します。
Removes the specified child SceneObject instance from the scene list of the SceneObject instance.
| SceneObject | |
![]() |
removeSceneAt(index:int):SceneObject
SceneObject の子リストの指定されたインデックス位置から子 SceneObject インスタンスを削除します。
Removes a child SceneObject from the specified index position in the child list of the SceneObject.
| SceneObject | |
![]() |
setProperties(parameters:Object):SceneObject
インスタンスに対して、複数のプロパティを一括設定します。
| SceneObject | |
![]() |
setSceneIndex(scene:SceneObject, index:int):void
シーンオブジェクトコンテナの既存の子の位置を変更します。
Changes the position of an existing scene in the SceneObject container.
| SceneObject | |
![]() |
setSceneIndexAbove(scene:SceneObject, index:int):void
シーンオブジェクトコンテナの既存の子の位置を変更します。
Changes the position of an existing scene in the SceneObject container.
| SceneObject | |
![]() |
指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。
Swaps the z-order (front-to-back order) of the two specified scene objects.
| SceneObject | |
![]() |
swapScenesAt(index1:int, index2:int):void
子リスト内の指定されたインデックス位置に該当する 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。
Swaps the z-order (front-to-back order) of the scene objects at the two specified index positions in the scene list.
| SceneObject | |
![]() |
toString():String
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| SceneObject | |
![]() |
toXMLString():String
指定されたオブジェクトの XML ストリング表現を返します。
Returns a XML string representation of the XML object.
| SceneObject | |
![]() |
updateManager():Boolean
マネージャーオブジェクトとの関連付けを更新します。
| SceneObject | |
|
validate(prml:XML):Boolean
[static]
XML データが EasyCasting 拡張 PRML フォーマットに準拠しているかどうかを返します。
| EasyCastingScene | ||
![]() |
willTrigger(type:String):Boolean
指定されたイベントタイプについて、この EventDispatcher インスタンスまたはその祖先にイベントリスナーが登録されているかどうかを確認します。
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| SceneObject | |
| casts | property |
casts:Array [read-only]自身に移動した際に表示させる表示オブジェクトを保持した配列を取得します。
Implementation public function get casts():Array
| EasyCastingScene | () | constructor |
public function EasyCastingScene(name:String = null, initObject:Object = null)新しい EasyCastingScene インスタンスを作成します。 Creates a new EasyCastingScene object.
Parametersname:String (default = null) — シーンの名前です。
|
|
initObject:Object (default = null) — 設定したいプロパティを含んだオブジェクトです。
|
| addSceneFromXML | () | method |
public override function addSceneFromXML(prml:XML):voidこの SceneObject インスタンスの子を PRML 形式の XML データから追加します。
Parametersprml:XML — PRML 形式の XML データです。
|
| dispose | () | method |
public override function dispose():void保持しているデータを解放します。
| validate | () | method |
public static function validate(prml:XML):BooleanXML データが EasyCasting 拡張 PRML フォーマットに準拠しているかどうかを返します。
Parametersprml:XML — フォーマットを検査したい XML データです。
|
Boolean — フォーマットが合致すれば true を、合致しなければ false となります。
|