Packagecom.addicted2flash.util
Interfacepublic interface IMicroObservable extends IDisposable
SubinterfacesIPerformanceObservable
ImplementorsMicroObservable

Interface for observables with only one value.



Public Properties
 PropertyDefined by
  isAvailable : Boolean
[read-only] Returns true if the value is available.
IMicroObservable
  microObserverAmount : int
[read-only] Returns the number of observers of this IMicroObservable.
IMicroObservable
  value : *
Returns the value of this IMicroObserver.
IMicroObservable
Public Methods
 MethodDefined by
  
Adds an IMicroObserver to the set of observers for this object, provided that it is not the same as some observer already in the set
IMicroObservable
 Inherited
dispose():void
free memory for garbage collection.
IDisposable
  
Deletes an IMicroObserver from the set of observers of this object.
IMicroObservable
  
Clears the observer list so that this object no longer has any observers.
IMicroObservable
Property detail
isAvailableproperty
isAvailable:Boolean  [read-only]

Returns true if the value is available.

Implementation
    public function get isAvailable():Boolean
microObserverAmountproperty 
microObserverAmount:int  [read-only]

Returns the number of observers of this IMicroObservable.

Implementation
    public function get microObserverAmount():int
valueproperty 
value:*  [read-write]

Returns the value of this IMicroObserver.

Implementation
    public function get value():*
    public function set value(value:*):void
Method detail
addMicroObserver()method
public function addMicroObserver(o:IMicroObserver):void

Adds an IMicroObserver to the set of observers for this object, provided that it is not the same as some observer already in the set

Parameters
o:IMicroObserver — an IMicroObserver to be added.
removeMicroObserver()method 
public function removeMicroObserver(o:IMicroObserver):void

Deletes an IMicroObserver from the set of observers of this object. Passing null to this method will have no effect.

Parameters
o:IMicroObserver — the IMicroObserver to be deleted.
removeMicroObservers()method 
public function removeMicroObservers():void

Clears the observer list so that this object no longer has any observers.