You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/02/13 01:14:11 UTC
[04/37] git commit: [flex-asjs] [refs/heads/spark] - add some event
constants
add some event constants
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bd3bcce2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bd3bcce2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bd3bcce2
Branch: refs/heads/spark
Commit: bd3bcce273029261077dd49912748c8c774f3f8b
Parents: 9b3809c
Author: Alex Harui <ah...@apache.org>
Authored: Fri Feb 12 15:00:58 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Feb 12 15:00:58 2016 -0800
----------------------------------------------------------------------
.../main/flex/org/apache/flex/core/UIBase.as | 30 ++++++++++++++++++++
1 file changed, 30 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bd3bcce2/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as
index 0cd6a7c..2465a40 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as
@@ -140,6 +140,36 @@ package org.apache.flex.core
*/
public class UIBase extends HTMLElementWrapper implements IStrandWithModel, IEventDispatcher, IParentIUIBase, IStyleableObject, ILayoutChild, IFlexJSElement
{
+ /**
+ * Constant for the childAdded event
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public static const CHILD_ADDED:String = "childAdded";
+
+ /**
+ * Constant for the childRemoved event
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public static const CHILD_REMOVED:String = "childRemoved";
+
+ /**
+ * Constant for the sizeChanged event
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public static const SIZE_CHANGED = "sizeChanged";
+
/**
* Constructor.
*