This is an automated email from the ASF dual-hosted git repository.
pushminakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 72d20ed Update UIComponent.as
72d20ed is described below
commit 72d20ed9336efe7772ef57c419b4b3c3d4632438
Author: pashminakazi <[email protected]>
AuthorDate: Tue Sep 29 15:23:52 2020 +0500
Update UIComponent.as
---
.../src/main/royale/mx/core/UIComponent.as | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index ff9eaf0..dfe6cf1 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -645,6 +645,28 @@ public class UIComponent extends UIBase
}
}
+ //----------------------------------
+ // className
+ //----------------------------------
+
+ /**
+ * The name of this instance's class, such as <code>"Button"</code>.
+ *
+ * <p>This string does not include the package name.
+ * If you need the package name as well, call the
+ * <code>getQualifiedClassName()</code> method in the flash.utils package.
+ * It returns a string such as <code>"mx.controls::Button"</code>.</p>
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ override public function get className():String
+ {
+ return NameUtil.getUnqualifiedClassName(this);
+ }
+
public function executeBindings(recurse:Boolean = false):void
{
recurse = false;