Packageorg.swizframework.core
Classpublic class BeanProvider
InheritanceBeanProvider Inheritance flash.events.EventDispatcher
Implements IBeanProvider
Subclasses BeanLoader

Default MXML Propertybeans



Public Properties
 PropertyDefined By
  beans : Array
Beans ([ArrayElementType( "Object" )] metadata is to avoid http://j.mp/FB-12316)
BeanProvider
Protected Properties
 PropertyDefined By
  _beans : Array
Backing variable for beans getter.
BeanProvider
  _rawBeans : Array
BeanProvider
Public Methods
 MethodDefined By
  
BeanProvider(beans:Array = null)
Constructor
BeanProvider
  
addBean(bean:Bean):void
BeanProvider
  
initialize(domain:ApplicationDomain):void
BeanProvider
  
removeBean(bean:Bean):void
BeanProvider
Protected Methods
 MethodDefined By
  
initializeBeans(domain:ApplicationDomain):void
BeanProvider
  
setBeanIds(domain:ApplicationDomain):void
Since the setter for beans should have already created Bean objects for all children, we are primarily trying to identify the id to set in the bean's name property.
BeanProvider
Property Detail
_beansproperty
protected var _beans:Array

Backing variable for beans getter.

_rawBeansproperty 
protected var _rawBeans:Array

beansproperty 
beans:Array

Beans ([ArrayElementType( "Object" )] metadata is to avoid http://j.mp/FB-12316)


Implementation
    public function get beans():Array
    public function set beans(value:Array):void
Constructor Detail
BeanProvider()Constructor
public function BeanProvider(beans:Array = null)

Constructor

Parameters
beans:Array (default = null)
Method Detail
addBean()method
public function addBean(bean:Bean):void

Parameters

bean:Bean

initialize()method 
public function initialize(domain:ApplicationDomain):void

Parameters

domain:ApplicationDomain

initializeBeans()method 
protected function initializeBeans(domain:ApplicationDomain):void

Parameters

domain:ApplicationDomain

removeBean()method 
public function removeBean(bean:Bean):void

Parameters

bean:Bean

setBeanIds()method 
protected function setBeanIds(domain:ApplicationDomain):void

Since the setter for beans should have already created Bean objects for all children, we are primarily trying to identify the id to set in the bean's name property. However, something is really wierd with using ids or not, and wether we will actually have an array of beans at this time, so if we don't find a Bean for an element we find in describeType, we created it.

Parameters

domain:ApplicationDomain