ViewHelper is linked to a view.
ViewHelper gathering data required by the view and storing this intermediate model,
ViewHelper may adapt data model for use by the view, or accesing data i nthe view ( like user input )
ViewHelpers handle notification from remote service too
autoRegisterBasedOnQualifiedClassName:Boolean [read-write]Implementation
public function get autoRegisterBasedOnQualifiedClassName():Boolean
public function set autoRegisterBasedOnQualifiedClassName(value:Boolean):void
autoRegisterBasedOnViewId:Boolean [read-write]Implementation
public function get autoRegisterBasedOnViewId():Boolean
public function set autoRegisterBasedOnViewId(value:Boolean):void
autoRegisterToViewLocator:Boolean [read-write]
Indicates whether the ViewHelper instance should register itself to the ViewHelper. If not, the developer
should register the instance himself. Default is true.
Implementation
public function get autoRegisterToViewLocator():Boolean
public function set autoRegisterToViewLocator(value:Boolean):void
public function getId():String
Returns the id of the ViewHelper instance.
Returns
public function getView():IView
Returns a reference to the ancestor view.
Returns
public function initialized(document:Object, id:String):void
IMXMLObject API override. The Flex runtime client will call this method
during the first steps of the instance life-cycle (as soon as the implementing object
has been created and all the component properties have been set onto the MXML tag).
Parameters
| document:Object |
| |
| id:String |
protected function initializeHelper(view:IView, id:String):voidParameters
public function registerToModels():void
Registers the ViewHelper instance to the models.
This is a do-nothing method. TODO, override.
public function update(o:IObservable, n:Notification):void
Tries to find a method called notificationType_Fired( o:IObservable, notificationData : Object ):void,
where notificationType is the type of the notification instance.
Override if you want to define your own notification management.
Parameters
ActionScript Foundry Bundle Project API Documentation - Generated using Adobe ASDoc / Maven Flex Plugin