Package | artcustomer.framework.core |
Class | public class AbstractFlashView |
Inheritance | AbstractFlashView Object |
Implements | IView |
Method | Defined By | ||
---|---|---|---|
Constructor
| AbstractFlashView | ||
add():void
Add View to parent. | AbstractFlashView | ||
addComponentEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Listen an event from Component. | AbstractFlashView | ||
addContextEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Listen an event from Context. | AbstractFlashView | ||
destroy():void
Reset View. | AbstractFlashView | ||
init():void
Init View. | AbstractFlashView | ||
move(pX:int = 0, pY:int = 0):void
Move View. | AbstractFlashView | ||
remove():void
Remove View from parent. | AbstractFlashView | ||
removeComponentEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unlisten an event from Component. | AbstractFlashView | ||
removeContextEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unlisten an event from Context. | AbstractFlashView | ||
reset():void
Reset View. | AbstractFlashView | ||
resize():void
Resize View. | AbstractFlashView | ||
setup():void
Setup View. | AbstractFlashView | ||
Update View. | AbstractFlashView |
Event | Summary | Defined By | ||
---|---|---|---|---|
AbstractFlashView | ||||
AbstractFlashView | ||||
AbstractFlashView | ||||
AbstractFlashView | ||||
AbstractFlashView |
AbstractFlashView | () | Constructor |
public function AbstractFlashView()
Constructor
add | () | method |
public function add():void
Add View to parent.
addComponentEventListener | () | method |
public function addComponentEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Listen an event from Component.
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
| |
priority:int (default = 0 )
| |
useWeakReference:Boolean (default = false )
|
addContextEventListener | () | method |
public function addContextEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Listen an event from Context.
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
| |
priority:int (default = 0 )
| |
useWeakReference:Boolean (default = false )
|
destroy | () | method |
public function destroy():void
Reset View. Must be overrided and called at last in child !
init | () | method |
public function init():void
Init View. Can be overrided.
move | () | method |
public function move(pX:int = 0, pY:int = 0):void
Move View.
Parameters
pX:int (default = 0 )
| |
pY:int (default = 0 )
|
remove | () | method |
public function remove():void
Remove View from parent.
removeComponentEventListener | () | method |
public function removeComponentEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unlisten an event from Component.
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
|
removeContextEventListener | () | method |
public function removeContextEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unlisten an event from Context.
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
|
reset | () | method |
public function reset():void
Reset View. Can be overrided.
resize | () | method |
public function resize():void
Resize View. Can be overrided.
setup | () | method |
public function setup():void
Setup View. Must be overrided and called at first in child !
update | () | method |
public function update(updateType:String, data:IViewData):void
Update View. Must be overrided.
Parameters
updateType:String | |
data:IViewData |
viewAdd | Event |
artcustomer.framework.events.FrameworkViewEvent
viewDestroy | Event |
artcustomer.framework.events.FrameworkViewEvent
viewRemove | Event |
artcustomer.framework.events.FrameworkViewEvent
viewReset | Event |
artcustomer.framework.events.FrameworkViewEvent
viewSetup | Event |
artcustomer.framework.events.FrameworkViewEvent