You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2020/12/16 13:33:19 UTC
[royale-asjs] branch develop updated: Update
DataGridItemRenderer.as added document
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 c2c5cbf Update DataGridItemRenderer.as added document
c2c5cbf is described below
commit c2c5cbfda1dc8cc951463e723e6399356a169661
Author: pashminakazi <42...@users.noreply.github.com>
AuthorDate: Wed Dec 16 18:33:10 2020 +0500
Update DataGridItemRenderer.as added document
---
.../dataGridClasses/DataGridItemRenderer.as | 52 ++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridItemRenderer.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridItemRenderer.as
index 1d0ed98..56e5630 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridItemRenderer.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/dataGridClasses/DataGridItemRenderer.as
@@ -1436,6 +1436,58 @@ public class DataGridItemRenderer 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;
+ }
+
}