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 16:42:48 UTC

[royale-asjs] branch develop updated: revert DataGridItemRenderer.as document property removed

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 97d25da  revert DataGridItemRenderer.as document property removed
97d25da is described below

commit 97d25dae2ed6817b308424e3fe31778ee2f51946
Author: pashminakazi <42...@users.noreply.github.com>
AuthorDate: Wed Dec 16 21:35:12 2020 +0500

    revert DataGridItemRenderer.as document property removed
---
 .../dataGridClasses/DataGridItemRenderer.as        | 52 ----------------------
 1 file changed, 52 deletions(-)

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 56e5630..1d0ed98 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,58 +1436,6 @@ 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;
-    }
-
 
 }