Packageartcustomer.framework.engines.component
Classpublic class FlashComponent
InheritanceFlashComponent Inheritance ViewMediator Inheritance CommandBroadcaster Inheritance AbstractInteractiveComponent Inheritance flash.events.EventDispatcher

FlashComponent



Public Methods
 MethodDefined By
  
Constructor : Create a FlashComponent (called by FlashContext)
FlashComponent
 Inherited
activate():void
Activate Component, useful for adding event listeners here.
AbstractInteractiveComponent
  
add():void
Add Viewport on ContextView.
FlashComponent
 Inherited
addRegisteredView(id:String):void
Add registered View.
ViewMediator
  
build():void
[override] Entry point of the Component.
FlashComponent
 Inherited
Called when Context is resized .
ViewMediator
 Inherited
deactivate():void
Deactivate Component, useful for removed event listeners here.
AbstractInteractiveComponent
  
destroy():void
[override] Destroy Component.
FlashComponent
 Inherited
dispatchCommand(event:Event, macroCommandID:String):void
Dispatch Event for Command.
CommandBroadcaster
 Inherited
getViewByID(id:String):IView
Get View by ID.
ViewMediator
 Inherited
Get View by index.
ViewMediator
 Inherited
hasViewByID(id:String):Boolean
Test if View exists by ID.
ViewMediator
 Inherited
hasViewByIndex(index:int):Boolean
Test if View exists by index.
ViewMediator
 Inherited
registerView(view:Class, id:String, setup:Boolean = false, add:Boolean = false):void
Register View
ViewMediator
  
remove():void
Remove Viewport from ContextView.
FlashComponent
 Inherited
resetRegisteredView(id:String):void
Reset registered View.
ViewMediator
 Inherited
setupRegisteredView(id:String):void
Setup registered View.
ViewMediator
  
swapViews(view1:IView, view2:IView):void
[override] Swap Views (z-order in stack).
FlashComponent
 Inherited
Unregister all Views.
ViewMediator
 Inherited
unregisterView(id:String):void
Unregister View.
ViewMediator
Protected Methods
 MethodDefined By
  
[override] Called by Mediator when a view is registered.
FlashComponent
 Inherited
updateAllViews(isViewSetup:Boolean, updateType:String, data:IViewData):void
Update all Views.
ViewMediator
 Inherited
updateView(viewID:String, isViewSetup:Boolean, updateType:String, data:IViewData):void
Update View in Component.
ViewMediator
Constructor Detail
FlashComponent()Constructor
public function FlashComponent()

Constructor : Create a FlashComponent (called by FlashContext)

Method Detail
add()method
public function add():void

Add Viewport on ContextView.

build()method 
override public function build():void

Entry point of the Component. Must be overrided and called at first in child.

destroy()method 
override public function destroy():void

Destroy Component. Must be overrided and called at last in child.

onViewRegistered()method 
override protected function onViewRegistered(view:IView):void

Called by Mediator when a view is registered.

Parameters

view:IView

remove()method 
public function remove():void

Remove Viewport from ContextView.

swapViews()method 
override public function swapViews(view1:IView, view2:IView):void

Swap Views (z-order in stack).

Parameters

view1:IView — The index position of the first IView.
 
view2:IView — The index position of the second IView.