| Package | org.springextensions.actionscript.stage |
| SVN browsing | IStageProcessorRegistry.as |
| Fisheye | IStageProcessorRegistry.as |
| Interface | public interface IStageProcessorRegistry |
| Implementors | FlashStageProcessorRegistry, MXMLApplicationContext, XMLApplicationContext |
IStageProcessor instances.
| Property | Defined by | ||
|---|---|---|---|
| enabled : Boolean
Determines if the current
IStageProcessorRegistry is enabled. | IStageProcessorRegistry | ||
| initialized : Boolean [read-only]
True if the current
IStageProcessorRegistry has been initialized. | IStageProcessorRegistry | ||
| numRegistrations : uint [read-only]
The number of
IObjectSelector registrations. | IStageProcessorRegistry | ||
| stage : Stage [read-only]
| IStageProcessorRegistry | ||
| Method | Defined by | ||
|---|---|---|---|
|
clear():void
Clears the all processor and context registrations in the current
IStageProcessorRegistry
| IStageProcessorRegistry | ||
|
getAllObjectSelectors():Array
Retrieves a list of all the
IObjectSelectors that have been registered with the current IStageProcessorRegistry. | IStageProcessorRegistry | ||
|
getAllStageProcessors():Array
Retrieves a list of all the
IStageProcessors that have been registered with the current IStageProcessorRegistry. | IStageProcessorRegistry | ||
|
Retrieves the
IObjectSelector instance that is associated with the specified IStageProcessor instance. | IStageProcessorRegistry | ||
|
getStageProcessorByName(name:String):Array
Retrieves a list of all the
IStageProcessors with the specified name. | IStageProcessorRegistry | ||
|
getStageProcessorsByType(type:Class):Array
Retrieves a list of all the
IStageProcessors of the specified Class. | IStageProcessorRegistry | ||
|
initialize():void
Performs initialization of the
IStageProcessorRegistry. | IStageProcessorRegistry | ||
|
processStage(startComponent:DisplayObject = null):void
Recursively loops through the stage displaylist and processes every object therein.
| IStageProcessorRegistry | ||
|
registerContext(parentDocument:Object, applicationContext:IApplicationContext):void
Registers the specified
IApplicationContext with the current IStageProcessorRegistry by associating
it with the specified parentDocument. | IStageProcessorRegistry | ||
|
registerStageProcessor(name:String, stageProcessor:IStageProcessor, objectSelector:IObjectSelector):void
Adds the specified
IStageProcessor instance to the collection. | IStageProcessorRegistry | ||
|
unregisterContext(parentDocument:Object, applicationContext:IApplicationContext):void
Unregisters the specified
IApplicationContext with the current IStageProcessorRegistry by removing its association
it with the specified parentDocument. | IStageProcessorRegistry | ||
|
unregisterStageProcessor(name:String, document:Object):void
Removes the
IStageProcessor with the specified name. | IStageProcessorRegistry | ||
| enabled | property |
enabled:Boolean [read-write]
Determines if the current IStageProcessorRegistry is enabled.
public function get enabled():Boolean
public function set enabled(value:Boolean):void
| initialized | property |
initialized:Boolean [read-only]
True if the current IStageProcessorRegistry has been initialized.
public function get initialized():Boolean
| numRegistrations | property |
numRegistrations:uint [read-only]
The number of IObjectSelector registrations.
public function get numRegistrations():uint
| stage | property |
stage:Stage [read-only]Implementation
public function get stage():Stage
| clear | () | method |
public function clear():void
Clears the all processor and context registrations in the current IStageProcessorRegistry
| getAllObjectSelectors | () | method |
public function getAllObjectSelectors():Array
Retrieves a list of all the IObjectSelectors that have been registered with the current IStageProcessorRegistry.
Array — An Array of IObjectSelectors.
|
See also
| getAllStageProcessors | () | method |
public function getAllStageProcessors():Array
Retrieves a list of all the IStageProcessors that have been registered with the current IStageProcessorRegistry.
Array — An Array of IStageProcessors.
|
See also
| getObjectSelectorForStageProcessor | () | method |
public function getObjectSelectorForStageProcessor(stageProcessor:IStageProcessor):IObjectSelector
Retrieves the IObjectSelector instance that is associated with the specified IStageProcessor instance.
stageProcessor:IStageProcessor — The specified IStageProcessor.
|
IObjectSelector —
The IObjectSelector instance that is associated with the specified IStageProcessor, or null if none was found.
|
| getStageProcessorByName | () | method |
public function getStageProcessorByName(name:String):Array
Retrieves a list of all the IStageProcessors with the specified name.
name:String — The specified name
|
Array — An Array of IStageProcessors, or null if none was found.
|
| getStageProcessorsByType | () | method |
public function getStageProcessorsByType(type:Class):Array
Retrieves a list of all the IStageProcessors of the specified Class.
type:Class — the specified Class.
|
Array — An Array of IStageProcessors.
|
| initialize | () | method |
public function initialize():void
Performs initialization of the IStageProcessorRegistry.
| processStage | () | method |
public function processStage(startComponent:DisplayObject = null):voidRecursively loops through the stage displaylist and processes every object therein.
ParametersstartComponent:DisplayObject (default = null) — Optionally a start component can be specified that will be used as the root for recursion.
|
| registerContext | () | method |
public function registerContext(parentDocument:Object, applicationContext:IApplicationContext):void
Registers the specified IApplicationContext with the current IStageProcessorRegistry by associating
it with the specified parentDocument.
parentDocument:Object — The specified parentDocument, if this is not a Module the specified IApplicationContext will be associated with the current Application.
|
|
applicationContext:IApplicationContext — The specified IApplicationContext.
|
| registerStageProcessor | () | method |
public function registerStageProcessor(name:String, stageProcessor:IStageProcessor, objectSelector:IObjectSelector):void
Adds the specified IStageProcessor instance to the collection.
name:String — The name of the IStageProcessor, if an instance by that name and with the same document property already exists in the collection it will be replaced.
|
|
stageProcessor:IStageProcessor — The specified IStageProcessor instance.
|
|
objectSelector:IObjectSelector |
| unregisterContext | () | method |
public function unregisterContext(parentDocument:Object, applicationContext:IApplicationContext):void
Unregisters the specified IApplicationContext with the current IStageProcessorRegistry by removing its association
it with the specified parentDocument.
parentDocument:Object — The specified parentDocument.
|
|
applicationContext:IApplicationContext — The specified IApplicationContext.
|
| unregisterStageProcessor | () | method |
public function unregisterStageProcessor(name:String, document:Object):void
Removes the IStageProcessor with the specified name.
name:String — The name of the IStageProcessor that will be removed
|
|
document:Object |