Packageorg.spicefactory.parsley.flex.tag.builder
Classpublic class ViewSettingsTag
InheritanceViewSettingsTag Inheritance DefaultViewSettings Inheritance Object
Implements BootstrapConfigProcessor

MXML tag for providing the settings to apply for dynamic view wiring.

The tag can be used as a child tag of the ContextBuilder tag:

                  <parsley:ContextBuilder>
     <parsley:ViewSettings autoremoveComponents="false" autowireComponents="true"/>
     <parsley:FlexConfig type="{BookStoreConfig}"/>
     <parsley:XmlConfig file="logging.xml"/>
 </parsley:ContextBuilder>
               



Public Properties
 PropertyDefined By
 InheritedautodestroyContext : Boolean
Indicates whether the Context should be automatically destroyed when the last view root is removed from the ViewManager.
DefaultViewSettings
 InheritedautoremoveComponents : Boolean
Indicates whether components should be automatically removed from the ViewManager when they are removed from the stage.
DefaultViewSettings
 InheritedautoremoveViewRoots : Boolean
Indicates whether view roots should be automatically removed from the ViewManager when they are removed from the stage.
DefaultViewSettings
 InheritedautowireComponents : Boolean
Indicates wether components should be automatically wired.
DefaultViewSettings
 InheritedautowireFilter : ViewAutowireFilter
The filter responsible for selecting views that should be autowired to the Context.
DefaultViewSettings
 InheritedreuseComponents : Boolean
Indicates whether managed components will be reused after they have been removed from the stage.
DefaultViewSettings
 InheritedviewProcessor : Service
[read-only] The view processor service registration for these settings.
DefaultViewSettings
  viewRootHandler : Class
The type of a view root handler to add to this Context.
ViewSettingsTag
Public Methods
 MethodDefined By
 Inherited
addParent(parent:ViewSettings):void
Adds a parent for looking up values not set in this instance.
DefaultViewSettings
 Inherited
addViewLifecycle(viewType:Class, lifecycle:Class, ... params):void
Adds a lifecycle handler class for a particular type of view component.
DefaultViewSettings
 Inherited
addViewRootHandler(handler:Class, ... params):void
Adds a view root handler that will be added to all ViewManagers created with these settings.
DefaultViewSettings
 Inherited
getViewRootHandlers(status:LookupStatus = null):Array
Returns all view root handlers that were registered for these settings.
DefaultViewSettings
 Inherited
newViewLifecycle(target:Object, status:LookupStatus = null):ViewLifecycle
Create a new lifecycle instance for the specified target object.
DefaultViewSettings
Property Detail
viewRootHandlerproperty
public var viewRootHandler:Class

The type of a view root handler to add to this Context. The class must implement the ViewRootHandler interface. For specifying more than one view handler multiple ViewSettings tags can be used.