| Package | com.addicted2flash.util |
| Class | public class MicroObservable |
| Implements | IMicroObservable |
| Subclasses | PerformanceObservable |
| Property | Defined by | ||
|---|---|---|---|
| isAvailable : Boolean [read-only]
Returns true if the value is available.
| MicroObservable | ||
| microObserverAmount : int [read-only]
Returns the number of observers of this
IMicroObservable. | MicroObservable | ||
| value : *
Returns the value of this
IMicroObserver. | MicroObservable | ||
| Property | Defined by | ||
|---|---|---|---|
| _hasChanged : Boolean | MicroObservable | ||
| _observers : ISet | MicroObservable | ||
| _ref : IMicroObservable | MicroObservable | ||
| _value : * | MicroObservable | ||
| Method | Defined by | ||
|---|---|---|---|
|
MicroObservable(reference:IMicroObservable = null)
Create a new
MicroObservable. | MicroObservable | ||
|
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
| MicroObservable | ||
|
dispose():void
free memory for garbage collection.
| MicroObservable | ||
|
removeMicroObserver(o:IMicroObserver):void
Deletes an
IMicroObserver from the set of observers of this object. | MicroObservable | ||
|
removeMicroObservers():void
Clears the observer list so that this object no longer has any observers.
| MicroObservable | ||
|
toString():String
String representation of
MicroObservable. | MicroObservable | ||
| Method | Defined by | ||
|---|---|---|---|
|
notifyDataServiceObservers():void
Each registered
IMicroObserver will be notified. | MicroObservable | ||
| _hasChanged | property |
protected var _hasChanged:Boolean
| isAvailable | property |
isAvailable:Boolean [read-only]Returns true if the value is available.
Implementation public function get isAvailable():Boolean
| microObserverAmount | property |
microObserverAmount:int [read-only]
Returns the number of observers of this IMicroObservable.
public function get microObserverAmount():int
| _observers | property |
protected var _observers:ISet
| _ref | property |
protected var _ref:IMicroObservable
| _value | property |
protected var _value:*
| value | property |
value:* [read-write]
Returns the value of this IMicroObserver.
public function get value():*
public function set value(value:*):void
| MicroObservable | () | constructor |
public function MicroObservable(reference:IMicroObservable = null)
Create a new MicroObservable.
reference:IMicroObservable (default = null) — (optional) the referenced target of notifications (useful for aggregation)
|
| 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
o:IMicroObserver — an IMicroObserver to be added.
|
| dispose | () | method |
public function dispose():voidfree memory for garbage collection.
| notifyDataServiceObservers | () | method |
protected function notifyDataServiceObservers():void
Each registered IMicroObserver will be notified.
| 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.
o:IMicroObserver — the IMicroObserver to be deleted.
|
| removeMicroObservers | () | method |
public function removeMicroObservers():voidClears the observer list so that this object no longer has any observers.
| toString | () | method |
public function toString():String
String representation of MicroObservable.
String — String representation of MicroObservable
|