Package | org.swizframework.core |
Class | public class BeanProvider |
Inheritance | BeanProvider ![]() |
Implements | IBeanProvider |
Subclasses | BeanLoader |
Default MXML Propertybeans
Property | Defined By | ||
---|---|---|---|
beans : Array
Beans
([ArrayElementType( "Object" )] metadata is to avoid http://j.mp/FB-12316)
| BeanProvider |
Property | Defined By | ||
---|---|---|---|
_beans : Array
Backing variable for beans getter. | BeanProvider | ||
_rawBeans : Array | BeanProvider |
Method | Defined By | ||
---|---|---|---|
BeanProvider(beans:Array = null)
Constructor
| BeanProvider | ||
BeanProvider | |||
initialize(domain:ApplicationDomain):void | BeanProvider | ||
removeBean(bean:Bean):void | BeanProvider |
Method | Defined 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 |
_beans | property |
protected var _beans:Array
Backing variable for beans
getter.
_rawBeans | property |
protected var _rawBeans:Array
beans | property |
beans:Array
Beans ([ArrayElementType( "Object" )] metadata is to avoid http://j.mp/FB-12316)
public function get beans():Array
public function set beans(value:Array):void
BeanProvider | () | Constructor |
public function BeanProvider(beans:Array = null)
Constructor
Parametersbeans:Array (default = null )
|
addBean | () | method |
initialize | () | method |
public function initialize(domain:ApplicationDomain):void
Parameters
domain:ApplicationDomain |
initializeBeans | () | method |
protected function initializeBeans(domain:ApplicationDomain):void
Parameters
domain:ApplicationDomain |
removeBean | () | method |
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 |