Package | artcustomer.framework.context |
Interface | public interface IContext |
Implementors | InteractiveContext |
Property | Defined By | ||
---|---|---|---|
contextHeight : int [read-only] | IContext | ||
contextView : DisplayObjectContainer [read-only] | IContext | ||
contextWidth : int [read-only] | IContext | ||
eventDispatcher : IEventDispatcher [read-only] | IContext | ||
instance : BaseContext [read-only] | IContext |
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void | IContext | ||
dispatchEvent(e:Event):Boolean | IContext | ||
hasEventListener(type:String):Boolean | IContext | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | IContext |
contextHeight | property |
contextHeight:int
[read-only] public function get contextHeight():int
contextView | property |
contextView:DisplayObjectContainer
[read-only] public function get contextView():DisplayObjectContainer
contextWidth | property |
contextWidth:int
[read-only] public function get contextWidth():int
eventDispatcher | property |
eventDispatcher:IEventDispatcher
[read-only] public function get eventDispatcher():IEventDispatcher
instance | property |
addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
| |
priority:int (default = 0 )
| |
useWeakReference:Boolean (default = false )
|
dispatchEvent | () | method |
public function dispatchEvent(e:Event):Boolean
Parameters
e:Event |
Boolean |
hasEventListener | () | method |
public function hasEventListener(type:String):Boolean
Parameters
type:String |
Boolean |
removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
|