Packagecom.addicted2flash.layout.core
Interfacepublic interface ILayoutObservable
SubinterfacesIUIComponent
ImplementorsUIComponent

Interface for all components that inform added observers about events.



Public Properties
 PropertyDefined by
  layoutObserverCount : int
[read-only] Returns the total amount of ILayoutObserver of this ILayoutObservable.
ILayoutObservable
Public Methods
 MethodDefined by
  
Adds an ILayoutObserver to the set of observers for this object, provided that it is not the same as some observer already in the set.
ILayoutObservable
  
notifyLayoutObservers(type:int):void
Registered ILayoutObserver will be notified.
ILayoutObservable
  
Deletes an ILayoutObserver from the set of observers of this object.
ILayoutObservable
Property detail
layoutObserverCountproperty
layoutObserverCount:int  [read-only]

Returns the total amount of ILayoutObserver of this ILayoutObservable.

Implementation
    public function get layoutObserverCount():int
Method detail
addLayoutObserver()method
public function addLayoutObserver(o:ILayoutObserver):void

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

Parameters
o:ILayoutObserver — an ILayoutObserver to be added.
notifyLayoutObservers()method 
public function notifyLayoutObservers(type:int):void

Registered ILayoutObserver will be notified.

Parameters
type:int — type of event

See also

LayoutEventType
removeLayoutObserver()method 
public function removeLayoutObserver(o:ILayoutObserver):void

Deletes an ILayoutObserver from the set of observers of this object.

Parameters
o:ILayoutObserver — the ILayoutObserver to be deleted.