Packagecom.addicted2flash.layout.core
Interfacepublic interface ILayoutObserver
ImplementorsLayoutDebugger, UIPanel

Interface for all objects that are interested in layout events.



Public Properties
 PropertyDefined by
  acceptedLayoutEvents : int
[read-only] Return a bit pattern of events the observer is interested in.
ILayoutObserver
Public Methods
 MethodDefined by
  
processLayoutEvent(type:int, c:IUIComponent):void
Updates observer with a specific event type.
ILayoutObserver
Property detail
acceptedLayoutEventsproperty
acceptedLayoutEvents:int  [read-only]

Return a bit pattern of events the observer is interested in.

Implementation
    public function get acceptedLayoutEvents():int

See also

LayoutEvent

Example
event types can be added by a bit-or
   public function get acceptedLayoutEvents(): int
   {
     return LayoutEvent.POSITION_CHANGED | LayoutEvent.SIZE_CHANGED;
   }
   

Method detail
processLayoutEvent()method
public function processLayoutEvent(type:int, c:IUIComponent):void

Updates observer with a specific event type.

Parameters
type:int — type of event
 
c:IUIComponentILayoutComponent

See also

LayoutEventType