| Package | artcustomer.framework.engines.component |
| Interface | public interface IComponent |
| Implementors | ViewMediator |
| Property | Defined By | ||
|---|---|---|---|
| command : ICommand [read-only] | IComponent | ||
| context : IContext [read-only] | IComponent | ||
| id : String [read-only] | IComponent | ||
| index : int [read-only] | IComponent | ||
| model : IModel [read-only] | IComponent | ||
| numViews : int [read-only] | IComponent | ||
| Method | Defined By | ||
|---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void | IComponent | ||
dispatchCommand(event:Event, macroCommandID:String):void | IComponent | ||
dispatchEvent(e:Event):Boolean | IComponent | ||
getViewByID(id:String):IView | IComponent | ||
getViewByIndex(index:int):IView | IComponent | ||
hasEventListener(type:String):Boolean | IComponent | ||
hasViewByID(id:String):Boolean | IComponent | ||
hasViewByIndex(index:int):Boolean | IComponent | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | IComponent | ||
| command | property |
| context | property |
| id | property |
id:String [read-only] public function get id():String| index | property |
index:int [read-only] public function get index():int| model | property |
| numViews | property |
numViews:int [read-only] public function get numViews():int| addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false) | |
priority:int (default = 0) | |
useWeakReference:Boolean (default = false) |
| dispatchCommand | () | method |
public function dispatchCommand(event:Event, macroCommandID:String):voidParameters
event:Event | |
macroCommandID:String |
| dispatchEvent | () | method |
public function dispatchEvent(e:Event):BooleanParameters
e:Event |
Boolean |
| getViewByID | () | method |
| getViewByIndex | () | method |
| hasEventListener | () | method |
public function hasEventListener(type:String):BooleanParameters
type:String |
Boolean |
| hasViewByID | () | method |
public function hasViewByID(id:String):BooleanParameters
id:String |
Boolean |
| hasViewByIndex | () | method |
public function hasViewByIndex(index:int):BooleanParameters
index:int |
Boolean |
| removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false) |