| autodestroyContext | property |
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
| autoremoveComponents | property |
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
| autoremoveViewRoots | property |
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
| autowireComponents | property |
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
| autowireFilter | property |
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
| reuseComponents | property |
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
| viewProcessor | property |
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
本文详细介绍了FlexViewManager中关键属性的功能与实现方式,包括自动销毁上下文、自动移除组件、自动移除视图根等特性,以及如何通过这些设置优化Flex应用程序的表现。
9189

被折叠的 条评论
为什么被折叠?



