Package | org.spicefactory.parsley.core.view |
Interface | public interface ViewProcessor |
Implementors | DefaultViewProcessor, FastInjectProcessor |
The associated ViewLifecycle
instance controls when the init
and
destroy
methods of this processor get invoked.
Method | Defined By | ||
---|---|---|---|
destroy():void
Disposes all configuration steps this processor has done in the init method. | ViewProcessor | ||
Processes the target instance of the specified view configuration. | ViewProcessor |
destroy | () | method |
public function destroy():void
Disposes all configuration steps this processor has done in the init method.
init | () | method |
public function init(config:ViewConfiguration, context:Context):void
Processes the target instance of the specified view configuration.
Depending on the reuse
property of the view configuration
this method may get invoked multiple time for the same view target.
Parameters
config:ViewConfiguration — the view configuration that holds the target this instance should process
| |
context:Context — the Context associated with the target
|