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 49bff6a Update AdvancedDataGridItemRenderer.as added document
49bff6a is described below
commit 49bff6a241c8fc9b0d53fe9d7ce02170c43d8c78
Author: pashminakazi <[email protected]>
AuthorDate: Wed Dec 16 18:33:33 2020 +0500
Update AdvancedDataGridItemRenderer.as added document
---
.../AdvancedDataGridItemRenderer.as | 51 ++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridItemRenderer.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridItemRenderer.as
index fe66dee..1786795 100644
---
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridItemRenderer.as
+++
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridItemRenderer.as
@@ -1249,6 +1249,57 @@ public class AdvancedDataGridItemRenderer extends
StringItemRenderer
trace("mouseX not implemented");
return 0;
}
+
+ //----------------------------------
+ // document
+ //----------------------------------
+
+ /**
+ * @private
+ * Storage for the document property.
+ * This variable is initialized in the init() method.
+ * A document object (i.e., an Object at the top of the hierarchy
+ * of a Flex application, MXML component, or AS component) has an
+ * autogenerated override of initalize() which sets its _document to
+ * 'this', so that its 'document' property is a reference to itself.
+ * Other UIComponents set their _document to their parent's _document,
+ * so that their 'document' property refers to the document object
+ * that they are inside.
+ */
+ mx_internal var _document:Object;
+
+ [Inspectable(environment="none")]
+
+ /**
+ * A reference to the document object associated with this UIComponent.
+ * A document object is an Object at the top of the hierarchy of a
+ * Flex application, MXML component, or AS component.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function get document():Object
+ {
+ return _document;
+ }
+
+ /**
+ * A reference to the document object associated with this UIComponent.
+ * A document object is an Object at the top of the hierarchy of a
+ * Flex application, MXML component, or AS component.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function set document(value:Object):void
+ {
+
+ _document = value;
+ }
}