From 218f01da63d06b71d84c53e47a9d8db39b88f2ab Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Thu, 21 Nov 2013 14:09:48 -0800 Subject: [PATCH] IFeathersControl: added creationComplete event and isCreated getter --- source/feathers/core/IFeathersControl.as | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/feathers/core/IFeathersControl.as b/source/feathers/core/IFeathersControl.as index 84869e5452..6ba5b05879 100644 --- a/source/feathers/core/IFeathersControl.as +++ b/source/feathers/core/IFeathersControl.as @@ -18,6 +18,15 @@ package feathers.core */ [Event(name="initialize",type="starling.events.Event")] + /** + * Dispatched after the component has validated for the first time. Both + * initialize() and draw() will have been called, + * and all children will have been created. + * + * @eventType feathers.events.FeathersEventType.CREATION_COMPLETE + */ + [Event(name="creationComplete",type="starling.events.Event")] + /** * Dispatched when the width or height of the control changes. * @@ -96,6 +105,11 @@ package feathers.core */ function get isInitialized():Boolean; + /** + * @copy feathers.core.FeathersControl#isCreated + */ + function get isCreated():Boolean; + /** * @copy feathers.core.FeathersControl#nameList */