Packagecom.addicted2flash.event
Classpublic final class LayoutEvent

This class is an enumeration of layout event types.



Public Methods
 MethodDefined by
  
typeToString(type:int):String
[static] Returns the string representation of the given type.
LayoutEvent
Public Constants
 ConstantDefined by
  ADDED : int = 0x10
[static] When a component was added to a container.
LayoutEvent
  HORIZONTAL_OVERFLOW : int = 0x04
[static] If horizontal scrolling must be enabled.
LayoutEvent
  POSITION_CHANGED : int = 0x01
[static] If x and/or y of component has changed.
LayoutEvent
  REMOVED : int = 0x20
[static] When a component was removed from a container.
LayoutEvent
  SCROLLBAR_POSITION_CHANGED : int = 0x40
[static] When the scrollbar has changed its position.
LayoutEvent
  SCROLLBAR_STEP_CHANGED : int = 0x80
[static] When the scrollbar has changed its step.
LayoutEvent
  SIZE_CHANGED : int = 0x02
[static] If width and/or height of component has changed.
LayoutEvent
  VERTICAL_OVERFLOW : int = 0x08
[static] If vertical scrolling must be enabled.
LayoutEvent
Method detail
typeToString()method
public static function typeToString(type:int):String

Returns the string representation of the given type.

Parameters
type:int — type of event

Returns
String — the string representation of the given type

Throws
— if type is not supported
Constant detail
ADDEDconstant
public static const ADDED:int = 0x10

When a component was added to a container.

HORIZONTAL_OVERFLOWconstant 
public static const HORIZONTAL_OVERFLOW:int = 0x04

If horizontal scrolling must be enabled.

POSITION_CHANGEDconstant 
public static const POSITION_CHANGED:int = 0x01

If x and/or y of component has changed.

REMOVEDconstant 
public static const REMOVED:int = 0x20

When a component was removed from a container.

SCROLLBAR_POSITION_CHANGEDconstant 
public static const SCROLLBAR_POSITION_CHANGED:int = 0x40

When the scrollbar has changed its position.

SCROLLBAR_STEP_CHANGEDconstant 
public static const SCROLLBAR_STEP_CHANGED:int = 0x80

When the scrollbar has changed its step.

SIZE_CHANGEDconstant 
public static const SIZE_CHANGED:int = 0x02

If width and/or height of component has changed.

VERTICAL_OVERFLOWconstant 
public static const VERTICAL_OVERFLOW:int = 0x08

If vertical scrolling must be enabled.