October 15, 2010 at 12:29 PM
Ans: There are three methods are called when a UIComponent is initialized.
1. preInitialize: is dispatched when the component has been attached to its parent container and the component has been created in rough state and no children have been created.
2. initialize: is dispatched when a component has finished its construction and its initialization properties have been set. At this point, all of the component?s immediate children have been created but they have not been laid out.
3. creationComplete: Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing. At this point, depending on its visible property, the component is not visible even though it has been drawn.