Parsley - ViewSettingTag

Property Detail
autodestroyContextproperty
autodestroyContext:Boolean

 

 

Indicates whether the Context should be automatically destroyed when the last view root is removed from the ViewManager. The default is true.


Implementation 
    public function get autodestroyContext():Boolean
    public function set autodestroyContext(value:Boolean):void
autoremoveComponentsproperty 
autoremoveComponents:Boolean

 

 

Indicates whether components should be automatically removed from the ViewManager when they are removed from the stage. The default is true. When set to false components must dispatch a custom "removeView" event to signal that they wish to be removed from the ViewManager.


Implementation 
    public function get autoremoveComponents():Boolean
    public function set autoremoveComponents(value:Boolean):void
autoremoveViewRootsproperty 
autoremoveViewRoots:Boolean

 

 

Indicates whether view roots should be automatically removed from the ViewManager when they are removed from the stage. The default is true. When set to false view roots must dispatch a custom "removeView" event to signal that they wish to be removed from the ViewManager. Finally they can be removed explicitly with ViewManager.removeViewRoot independent of the value for this property.


Implementation 
    public function get autoremoveViewRoots():Boolean
    public function set autoremoveViewRoots(value:Boolean):void
autowireComponentsproperty 
autowireComponents:Boolean

 

 

Indicates wether components should be automatically wired. The default is false. When set to false, components can only be wired explicitly through the use of either the <Configure> or the <FastInject> tags. When set to true, they will be automatically filtered using the the filter specified with the autowireFilter property.


Implementation 
    public function get autowireComponents():Boolean
    public function set autowireComponents(value:Boolean):void
autowireFilterproperty 
autowireFilter:ViewAutowireFilter

 

 

The filter responsible for selecting views that should be autowired to the Context. Only has an effect if the autowireComponents flag is set to true. The default filter installed with Parsley is one that only wires views that have a matching <View> tag in the MXML or XML configuration.


Implementation 
    public function get autowireFilter():ViewAutowireFilter
    public function set autowireFilter(value:ViewAutowireFilter):void
reuseComponentsproperty 
reuseComponents:Boolean

 

 

Indicates whether managed components will be reused after they have been removed from the stage. When set to false their configuration will only be processed once. This value should be true if the application keeps instances of the view in memory and adds them back to the stage later. It should be false (the default) if the view should get garbage collected once it has been removed from the stage.


Implementation 
    public function get reuseComponents():Boolean
    public function set reuseComponents(value:Boolean):void
viewProcessorproperty 
viewProcessor:Service  [read-only]

 

 

The view processor service registration for these settings. This hook allows to install alternative implementations to be used for processing all views in the associated Context and its children unless overwritten in a child.

When specifying an implementation or decorator for this service, it must implement the ViewProcessor interface.

 


Implementation 
    public function get viewProcessor():Service
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值