Packageorg.vostokframework.application.monitoring.monitors
Classpublic class LoadingMonitor
InheritanceLoadingMonitor Inheritance Object
Implements ILoadingMonitor
Subclasses CompositeLoadingMonitor



Public Properties
 PropertyDefined By
  loader : ILoader
[read-only]
LoadingMonitor
  monitoring : LoadingMonitoring
[read-only]
LoadingMonitor
Protected Properties
 PropertyDefined By
  dispatcher : LoadingMonitorDispatcher
[read-only]
LoadingMonitor
Public Methods
 MethodDefined By
  
LoadingMonitor
  
LoadingMonitor
  
addChildren(children:IList):void
LoadingMonitor
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
LoadingMonitor
  
containsChild(identification:VostokIdentification):Boolean
LoadingMonitor
  
dispatchEvent(event:Event):Boolean
LoadingMonitor
  
dispose():void
LoadingMonitor
  
LoadingMonitor
  
hasEventListener(type:String):Boolean
LoadingMonitor
  
removeChild(identification:VostokIdentification):void
LoadingMonitor
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
LoadingMonitor
  
willTrigger(type:String):Boolean
LoadingMonitor
Protected Methods
 MethodDefined By
  
createLoadingMonitoring(latency:int):void
LoadingMonitor
  
doDispose():void
LoadingMonitor
  
LoadingMonitor
  
LoadingMonitor
  
updateMonitoring(bytesTotal:int, bytesLoaded:int):void
LoadingMonitor
Property Detail
dispatcherproperty
dispatcher:LoadingMonitorDispatcher  [read-only]


Implementation
    protected function get dispatcher():LoadingMonitorDispatcher
loaderproperty 
loader:ILoader  [read-only]


Implementation
    public function get loader():ILoader
monitoringproperty 
monitoring:LoadingMonitoring  [read-only]


Implementation
    public function get monitoring():LoadingMonitoring
Constructor Detail
LoadingMonitor()Constructor
public function LoadingMonitor(loader:ILoader, dispatcher:LoadingMonitorDispatcher)

Parameters
loader:ILoader
 
dispatcher:LoadingMonitorDispatcher
Method Detail
addChild()method
public function addChild(child:ILoadingMonitor):void

Parameters

child:ILoadingMonitor

addChildren()method 
public function addChildren(children:IList):void

Parameters

children:IList

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)

containsChild()method 
public function containsChild(identification:VostokIdentification):Boolean

Parameters

identification:VostokIdentification

Returns
Boolean
createLoadingMonitoring()method 
protected function createLoadingMonitoring(latency:int):void

Parameters

latency:int

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
dispose()method 
public function dispose():void

doDispose()method 
protected function doDispose():void

getChild()method 
public function getChild(identification:VostokIdentification):ILoadingMonitor

Parameters

identification:VostokIdentification

Returns
ILoadingMonitor
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
loadingComplete()method 
protected function loadingComplete():void

loadingStarted()method 
protected function loadingStarted():void

removeChild()method 
public function removeChild(identification:VostokIdentification):void

Parameters

identification:VostokIdentification

removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

updateMonitoring()method 
protected function updateMonitoring(bytesTotal:int, bytesLoaded:int):void

Parameters

bytesTotal:int
 
bytesLoaded:int

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean