| Package | org.springextensions.actionscript.stage.selectors |
| SVN browsing | ComposedObjectSelector.as |
| Fisheye | ComposedObjectSelector.as |
| Class | public class ComposedObjectSelector |
| Implements | IObjectSelector |
IObjectSelector approving objects if all composing objects are
approving the passed object. It will deny it if there is at least one denying it.
Use approveIfUnanimous property to decide whether to "OR" or "AND"
composing object selectors (default is "AND" that is the object will be approved
just if all object selectors approve it).
Author: Martino Piccinato
Version: $Revision:$, $Date:$, $Author:$
Since: 0.8
Documentation reference: how to determine which stage components are eligeble for configuration
Sample project: stagewiring (source)
| Property | Defined by | ||
|---|---|---|---|
| approveIfUnanimous : Boolean [write-only]
| ComposedObjectSelector | ||
| objectSelectors : Array [write-only]
| ComposedObjectSelector | ||
| Method | Defined by | ||
|---|---|---|---|
|
ComposedObjectSelector(objectSelectors:Array = null, approveIfUnanimous:Boolean = true)
Creates a new ComposedObjectSelector.
| ComposedObjectSelector | ||
|
approve(object:Object):Boolean
| ComposedObjectSelector | ||
| approveIfUnanimous | property |
approveIfUnanimous:Boolean [write-only]
The default value is <code>true</code>.
public function set approveIfUnanimous(value:Boolean):void
| objectSelectors | property |
objectSelectors:Array [write-only]Implementation
public function set objectSelectors(value:Array):void
| ComposedObjectSelector | () | constructor |
public function ComposedObjectSelector(objectSelectors:Array = null, approveIfUnanimous:Boolean = true)Creates a new ComposedObjectSelector.
ParametersobjectSelectors:Array (default = null) — Array containing all
IObjectSelector that will be iterated to
approve or deny the passed object.
|
|
approveIfUnanimous:Boolean (default = true) — if true it will approve the object on first
approval.
|
| approve | () | method |
public function approve(object:Object):BooleanParameters
object:Object — The object to be approved (or not) for selection.
|
Boolean — true if the object is selected, false
otherwise.
|