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:42 UTC
[royale-asjs] branch develop updated: Update
AdvancedDataGridItemRenderer.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 49bff6a Update AdvancedDataGridItemRenderer.as added document
49bff6a is described below
commit 49bff6a241c8fc9b0d53fe9d7ce02170c43d8c78
Author: pashminakazi <42...@users.noreply.github.com>
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;
+ }
}
Re: [royale-asjs] branch develop updated: Update
AdvancedDataGridItemRenderer.as added document
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Please revert. The "document" property has been replaced by "mxmlComponent" so it does not conflict with the global "document" property in the browser.
-Alex
On 12/16/20, 5:33 AM, "pushminakazi@apache.org" <pu...@apache.org> wrote:
This is an automated email from the ASF dual-hosted git repository.
pushminakazi pushed a commit to branch develop
in repository https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=04%7C01%7Caharui%40adobe.com%7C753c99f6ade743bdae3908d8a1c735bb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637437224259179415%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=exLp9whtbxcZy6TxsACwUkC0HRud6fjiTT4OKgefqEc%3D&reserved=0
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 <42...@users.noreply.github.com>
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;
+ }
}