Packagejp.progression.scenes
Classpublic class EasyCastingScene
InheritanceEasyCastingScene Inheritance SceneObject Inheritance EventIntegrator Inheritance flash.events.EventDispatcher

EasyCastingScene クラスは、拡張された PRML 形式の XML データを使用して ActionScript を使用しないコンポーネントベースの開発スタイルを提供するクラスです。

View the examples



Public Properties
 PropertyDefined By
 InheritedclassName : String
[read-only] インスタンスのクラス名を取得します。 Indicates the instance className of the SceneObject.
SceneObject
 InheritedeventHandlerEnabled : Boolean
オブジェクトのイベントハンドラメソッドを有効化するかどうかを指定します。
SceneObject
 Inheritedexecutor : CommandExecutor
[read-only] コマンドを実行する CommandExecutor インスタンスを取得します。
SceneObject
 Inheritedgroup : String
インスタンスのグループ名を取得または設定します。 Indicates the instance group of the SceneObject.
SceneObject
 Inheritedid : String
インスタンスの識別子を取得または設定します。 Indicates the instance id of the SceneObject.
SceneObject
 InheritedisChild : Boolean
[read-only] カレントシーンの子シーンであるかどうかを取得します。
SceneObject
 InheritedisCurrent : Boolean
[read-only] カレントシーンであるかどうかを取得します。
SceneObject
 InheritedisParent : Boolean
[read-only] カレントシーンの親シーンであるかどうかを取得します。
SceneObject
 InheritedisVisited : Boolean
[read-only] 既読であるかどうかを取得します。
SceneObject
 Inheritedname : String
インスタンスの名前を取得または設定します。 Indicates the instance name of the SceneObject.
SceneObject
 Inheritednext : SceneObject
[read-only] このシーンオブジェクトの次に位置するシーンオブジェクトを取得します。
SceneObject
 InheritednumScenes : int
[read-only] 子シーンオブジェクトの数を取得します。
SceneObject
 InheritedonAscend : Function
シーンオブジェクトが SceneEvent.ASCEND イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
SceneObject
 InheritedonDescend : Function
シーンオブジェクトが SceneEvent.DESCEND イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
SceneObject
 InheritedonGoto : Function
シーンオブジェクトが SceneEvent.GOTO イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
SceneObject
 InheritedonInit : Function
シーンオブジェクトが SceneEvent.INIT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
SceneObject
 InheritedonLoad : Function
シーンオブジェクトが SceneEvent.LOAD イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
SceneObject
 InheritedonSceneAdded : Function
シーンオブジェクトが SceneEvent.SCENE_ADDED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
SceneObject
 InheritedonSceneAddedToRoot : Function
シーンオブジェクトが SceneEvent.SCENE_ADDED_TO_ROOT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
SceneObject
 InheritedonSceneRemoved : Function
シーンオブジェクトが SceneEvent.SCENE_REMOVED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
SceneObject
 InheritedonSceneRemovedFromRoot : Function
シーンオブジェクトが SceneEvent.SCENE_REMOVED_FROM_ROOT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
SceneObject
 InheritedonSceneStateChange : Function
シーンオブジェクトが SceneEvent.SCENE_STATUS_CHANGE イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
SceneObject
 InheritedonSceneTitle : Function
シーンオブジェクトが SceneEvent.SCENE_TITLE イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
SceneObject
 InheritedonUnload : Function
シーンオブジェクトが SceneEvent.UNLOAD イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
SceneObject
 InheritedparallelMode : Boolean
CommandExecutor の実行方法を並列処理にするかどうかを取得または設定します。
SceneObject
 Inheritedparent : SceneObject
[read-only] このシーンオブジェクトを子に含んでいる親シーンオブジェクトを取得します。
SceneObject
 Inheritedprevious : SceneObject
[read-only] このシーンオブジェクトの前に位置するシーンオブジェクトを取得します。
SceneObject
 Inheritedprogression : Progression
[read-only] 関連付けられている Progression インスタンスを取得します。
SceneObject
 Inheritedroot : SceneObject
[read-only] シーンオブジェクトのツリー構造部分の一番上にある SceneObject インスタンスを取得します。
SceneObject
 InheritedsceneId : SceneId
[read-only] シーン識別子を取得します。
SceneObject
 InheritedsceneInfo : SceneInfo
[read-only] このオブジェクトが属するシーン情報を含む SceneInfo オブジェクトを取得します。
SceneObject
 Inheritedscenes : Array
[read-only] 子シーンオブジェクトが保存されている配列です。 この配列を操作することで元の配列を変更することはできません。
SceneObject
 Inheritedtitle : String
自身がカレントシーンの場合に、ブラウザのタイトルとして使用される文字列を取得または設定します。 ただし、設定を有効化するためには、ブラウザ同期機能が有効化されている必要があります。
SceneObject
Public Methods
 MethodDefined By
  
EasyCastingScene(name:String = null, initObject:Object = null)
新しい EasyCastingScene インスタンスを作成します。 Creates a new EasyCastingScene object.
EasyCastingScene
 Inherited
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。
SceneObject
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override] イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーを removeEventListener() メソッドで削除した場合には、restoreRemovedListeners() メソッドで再登録させることができます。 Register the event listener object into the EventIntegrator instance to get the event notification.
EventIntegrator
 Inherited
addExclusivelyEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーは、IEventIntegrator インスタンスの管理外となるため、removeEventListener() メソッドで削除した場合にも、restoreRemovedListeners() メソッドで再登録させることができません。 Register the event listener object into the EventIntegrator instance to get the event notification.
EventIntegrator
  
[override] この SceneObject インスタンスに子 SceneObject インスタンスを追加します。 Adds a scene SceneObject instance to this SceneObject instance.
EasyCastingScene
  
[override] この SceneObject インスタンスの指定されたインデックス位置に子 SceneObject インスタンスを追加します。 Adds a scene SceneObject instance to this SceneObject instance.
EasyCastingScene
  
[override] この SceneObject インスタンスの指定されたインデックス位置に子 SceneObject インスタンスを追加します。 Adds a scene SceneObject instance to this SceneObject instance.
EasyCastingScene
 Inherited
addSceneFromXML(xml:XML):void
この SceneObject インスタンスの子を PRML 形式の XML データから追加します。
SceneObject
 Inherited
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを消去します。
SceneObject
 Inherited
completelyRemoveEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventIntegrator インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができません。 Remove the listener from EventIntegrator instance.
EventIntegrator
 Inherited
contains(scene:SceneObject):Boolean
指定されたシーンオブジェクトが SceneObject インスタンスの子であるか、オブジェクト自体であるかを指定します。 Determines whether the specified SceneObject is a scene of the SceneObject instance or the instance itself.
SceneObject
 Inherited
dispatchEvent(event:Event):Boolean
[override] イベントをイベントフローに送出します。 Dispatches an event into the event flow.
EventIntegrator
 Inherited
指定のインデックス位置にある子シーンオブジェクトオブジェクトを返します。 Returns the scene SceneObject instance that exists at the specified index.
SceneObject
 Inherited
指定された id と同じ値が設定されている SceneObject インスタンスを返します。
SceneObject
 Inherited
指定された名前に一致する子シーンオブジェクトを返します。 Returns the scene SceneObject that exists with the specified name.
SceneObject
 Inherited
指定された sceneId と同じ値が設定されている SceneObject インスタンスを返します。
SceneObject
 Inherited
子 SceneObject インスタンスのインデックス位置を返します。 Returns the index position of a scene SceneObject instance.
SceneObject
 Inherited
getScenesByGroup(group:String, sort:Boolean = false):Array
指定された group と同じ値を持つ SceneObject インスタンスを含む配列を返します。
SceneObject
 Inherited
getScenesByRegExp(fieldName:String, pattern:RegExp, sort:Boolean = false):Array
指定された fieldName が条件と一致する SceneObject インスタンスを含む配列を返します。
SceneObject
 Inherited
hasEventListener(type:String):Boolean
[override] EventIntegrator インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。 Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventIntegrator
 Inherited
insertCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。
SceneObject
 Inherited
removeAllListeners(completely:Boolean = false):void
addEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。 完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。 Remove the whole event listener registered via addEventListener() method.
EventIntegrator
 Inherited
SceneObject に追加されている全ての子 SceneObject インスタンスを削除します。
SceneObject
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[override] EventIntegrator インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。 Remove the listener from EventIntegrator instance.
EventIntegrator
 Inherited
SceneObject インスタンスの子リストから指定の SceneObject インスタンスを削除します。 Removes the specified scene SceneObject instance from the scene list of the SceneObject instance.
SceneObject
 Inherited
SceneObject の子リストの指定されたインデックス位置から子 SceneObject インスタンスを削除します。 Removes a child SceneObject from the specified index position in the child list of the SceneObject.
SceneObject
 Inherited
removeEventListener() メソッド、または removeAllListeners() メソッド経由で削除された全てイベントリスナーを再登録します。 Re-register the whole event listener removed via removeEventListener() or removeAllListeners() method.
EventIntegrator
 Inherited
インスタンスに対して、複数のプロパティを一括設定します。
SceneObject
 Inherited
setSceneIndex(scene:SceneObject, index:int):void
シーンオブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing scene in the SceneObject container.
SceneObject
 Inherited
setSceneIndexAbove(scene:SceneObject, index:int):void
シーンオブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing scene in the SceneObject container.
SceneObject
 Inherited
swapScenes(scene1:SceneObject, scene2:SceneObject):void
指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the two specified scene objects.
SceneObject
 Inherited
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
 Inherited
toString():String
[override] 指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
SceneObject
 Inherited
toXMLString():String
指定されたオブジェクトの XML ストリング表現を返します。
SceneObject
 Inherited
willTrigger(type:String):Boolean
[override] 指定されたイベントタイプについて、この EventIntegrator インスタンスまたはその祖先にイベントリスナーが登録されているかどうかを確認します。 Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventIntegrator
Protected Methods
 MethodDefined By
 Inherited
_onAscend():void
サブクラスで onAscend イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onAscend プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
_onDescend():void
サブクラスで onDescend イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onDescend プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
_onGoto():void
サブクラスで onGoto イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onGoto プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
_onInit():void
サブクラスで onInit イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onInit プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
_onLoad():void
サブクラスで onLoad イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onLoad プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
サブクラスで onSceneAdded イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onSceneAdded プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
サブクラスで onSceneAddedToRoot イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onSceneAddedToRoot プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
サブクラスで onSceneRemoved イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onSceneRemoved プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
サブクラスで onSceneRemovedFromRoot イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onSceneRemovedFromRoot プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
サブクラスで onSceneStateChange イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onSceneStateChange プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
サブクラスで onSceneTitle イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onSceneTitle プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
 Inherited
_onUnload():void
サブクラスで onUnload イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onUnload プロパティに、別のメソッドを設定された場合は無効化されます。
SceneObject
Events
 Event Summary Defined By
 Inheritedシーン移動時に目的地がシーンオブジェクトの親階層であり、かつ出発地ではない場合に、移動を中継した瞬間に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。SceneObject
 Inheritedシーン移動時に目的地がシーンオブジェクトの子階層であり、かつ出発地ではない場合に、移動を中継した瞬間に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。SceneObject
 Inheritedシーンオブジェクトが出発地だった場合に、移動を開始した瞬間に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。SceneObject
 Inheritedシーンオブジェクトが目的地だった場合に、到達した瞬間に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。SceneObject
 Inheritedシーン移動時に目的地がシーンオブジェクト自身もしくは子階層だった場合に、階層が変更された瞬間に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。SceneObject
 Inheritedシーンオブジェクトがシーンリストに追加された場合に送出されます。SceneObject
 Inheritedシーンオブジェクトが直接、またはシーンオブジェクトを含むサブツリーの追加により、ルートシーン上のシーンリストに追加されたときに送出されます。SceneObject
 Inheritedシーンオブジェクトがシーンリストから削除された場合に送出されます。SceneObject
 Inheritedシーンオブジェクトが直接、またはシーンオブジェクトを含むサブツリーの削除により、ルートシーン上のシーンリストから削除されようとしているときに送出されます。SceneObject
 Inheritedシーンオブジェクトの状態が変更された場合に送出されます。SceneObject
 Inheritedシーンオブジェクトのタイトルが変更された場合に送出されます。SceneObject
 Inheritedシーン移動時に目的地がシーンオブジェクト自身もしくは親階層だった場合に、階層が変更された瞬間に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。SceneObject
Constructor Detail
EasyCastingScene()Constructor
public function EasyCastingScene(name:String = null, initObject:Object = null)

新しい EasyCastingScene インスタンスを作成します。 Creates a new EasyCastingScene object.

Parameters
name:String (default = null)シーンの名前です。
 
initObject:Object (default = null)設定したいプロパティを含んだオブジェクトです。
Method Detail
addScene()method
override public function addScene(scene:SceneObject):SceneObject

この SceneObject インスタンスに子 SceneObject インスタンスを追加します。 Adds a scene SceneObject instance to this SceneObject instance.

Parameters

scene:SceneObject対象の SceneObject インスタンスの子として追加する SceneObject インスタンスです。 The SceneObject instance to add as a scene of this SceneObject instance.

Returns
SceneObjectscene パラメータで渡す SceneObject インスタンスです。 The SceneObject instance that you pass in the scene parameter.
addSceneAt()method 
override public function addSceneAt(scene:SceneObject, index:int):SceneObject

この SceneObject インスタンスの指定されたインデックス位置に子 SceneObject インスタンスを追加します。 Adds a scene SceneObject instance to this SceneObject instance.

Parameters

scene:SceneObject対象の SceneObject インスタンスの子として追加する SceneObject インスタンスです。 The SceneObject instance to add as a scene of this SceneObject instance.
 
index:int子を追加するインデックス位置です。 The index position to which the scene is added. If you specify a currently occupied index position, the scene object that exists at that position and all higher positions are moved up one position in the scene list.

Returns
SceneObjectscene パラメータで渡す SceneObject インスタンスです。 The SceneObject instance that you pass in the scene parameter.
addSceneAtAbove()method 
override public function addSceneAtAbove(scene:SceneObject, index:int):SceneObject

この SceneObject インスタンスの指定されたインデックス位置に子 SceneObject インスタンスを追加します。 Adds a scene SceneObject instance to this SceneObject instance.

Parameters

scene:SceneObject対象の SceneObject インスタンスの子として追加する SceneObject インスタンスです。 The SceneObject instance to add as a scene of this SceneObject instance.
 
index:int子を追加するインデックス位置です。 The index position to which the scene is added. If you specify a currently occupied index position, the scene object that exists at that position and all higher positions are moved up one position in the scene list.

Returns
SceneObjectscene パラメータで渡す SceneObject インスタンスです。 The SceneObject instance that you pass in the scene parameter.
Examples