Package | artcustomer.framework.engines.component |
Class | public class FlashComponent |
Inheritance | FlashComponent ViewMediator CommandBroadcaster AbstractInteractiveComponent flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
Constructor : Create a FlashComponent (called by FlashContext)
| FlashComponent | ||
activate():void
Activate Component, useful for adding event listeners here. | AbstractInteractiveComponent | ||
add():void
Add Viewport on ContextView. | FlashComponent | ||
addRegisteredView(id:String):void
Add registered View. | ViewMediator | ||
build():void [override]
Entry point of the Component. | FlashComponent | ||
contextResize():void
Called when Context is resized . | ViewMediator | ||
deactivate():void
Deactivate Component, useful for removed event listeners here. | AbstractInteractiveComponent | ||
destroy():void [override]
Destroy Component. | FlashComponent | ||
dispatchCommand(event:Event, macroCommandID:String):void
Dispatch Event for Command. | CommandBroadcaster | ||
getViewByID(id:String):IView
Get View by ID. | ViewMediator | ||
getViewByIndex(index:int):IView
Get View by index. | ViewMediator | ||
hasViewByID(id:String):Boolean
Test if View exists by ID. | ViewMediator | ||
hasViewByIndex(index:int):Boolean
Test if View exists by index. | ViewMediator | ||
registerView(view:Class, id:String, setup:Boolean = false, add:Boolean = false):void
Register View
| ViewMediator | ||
remove():void
Remove Viewport from ContextView. | FlashComponent | ||
resetRegisteredView(id:String):void
Reset registered View. | ViewMediator | ||
setupRegisteredView(id:String):void
Setup registered View. | ViewMediator | ||
[override]
Swap Views (z-order in stack). | FlashComponent | ||
unregisterAllViews():void
Unregister all Views. | ViewMediator | ||
unregisterView(id:String):void
Unregister View. | ViewMediator |
Method | Defined By | ||
---|---|---|---|
onViewRegistered(view:IView):void [override]
Called by Mediator when a view is registered. | FlashComponent | ||
updateAllViews(isViewSetup:Boolean, updateType:String, data:IViewData):void
Update all Views. | ViewMediator | ||
updateView(viewID:String, isViewSetup:Boolean, updateType:String, data:IViewData):void
Update View in Component. | ViewMediator |
FlashComponent | () | Constructor |
public function FlashComponent()
Constructor : Create a FlashComponent (called by FlashContext)
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.
|