Packagenet.user1.reactor.snapshot
Classpublic class SnapshotEvent
InheritanceSnapshotEvent Inheritance flash.events.Event

Since : Reactor 1.0.0

SnapshotEvent is a simple data class used to pass information from Snapshot objects to registered event-listeners when a snapshot event occurs. The SnapshotEvent class also defines constants representing the available snapshot events.

To register for a snapshot event, use the addEventListener() method of any Snapshot subclass.

See also

Snapshot.addEventListener()
Snapshot


Public Methods
 MethodDefined By
  
SnapshotEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, snapshot:Snapshot = null)
Constructor.
SnapshotEvent
  
clone():Event
[override]
SnapshotEvent
  
toString():String
[override]
SnapshotEvent
Public Constants
 ConstantDefined By
  LOAD : String = LOAD
[static] Dispatched when a snapshot object has been updated in response to an earlier call to Reactor's updateSnapshot() method.
SnapshotEvent
  STATUS : String = STATUS
[static] Dispatched when the result of an update request has been received by a snapshot object.
SnapshotEvent
Constructor Description
SnapshotEvent()Constructor
public function SnapshotEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, snapshot:Snapshot = null)

Constructor.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
snapshot:Snapshot (default = null)
Method Descriptions
clone()method
override public function clone():Event

Returns
Event
toString()method 
override public function toString():String

Returns
String
Constant Descriptions
LOADConstant
public static const LOAD:String = LOAD

Since : Reactor 1.0.0

Dispatched when a snapshot object has been updated in response to an earlier call to Reactor's updateSnapshot() method.

See also

STATUSConstant 
public static const STATUS:String = STATUS

Since : Reactor 1.0.0

Dispatched when the result of an update request has been received by a snapshot object.

See also