This is an automated email from the ASF dual-hosted git repository.

yishayw 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 c9471fe  More emulation stubs
     new 67ea35c  Merge branch 'develop' of 
https://github.com/apache/royale-asjs into develop
c9471fe is described below

commit c9471fece1afc9b359b8731433c791b903bebc67
Author: Yishay Weiss <[email protected]>
AuthorDate: Sun Oct 25 18:49:14 2020 +0000

    More emulation stubs
---
 .../MXRoyale/src/main/royale/mx/controls/DataGrid.as      |  7 +++++++
 .../mx/controls/dataGridClasses/DataGridItemRenderer.as   |  4 ++++
 .../src/main/royale/spark/components/CheckBox.as          |  2 ++
 .../SparkRoyale/src/main/royale/spark/components/List.as  |  5 +++++
 .../src/main/royale/spark/components/VGroup.as            | 15 ++++++++-------
 .../royale/spark/components/supportClasses/GroupBase.as   |  1 +
 .../royale/spark/components/supportClasses/ListBase.as    | 14 ++++++++++++++
 7 files changed, 41 insertions(+), 7 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as
index 637e11b..15a70cd 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DataGrid.as
@@ -952,6 +952,13 @@ public class DataGrid extends DataGridListBase/*ListBase*/ 
implements IDataGrid/
     {
        // not implemented
     }
+    
+    public function set horizontalGridLines(value:Boolean):void {} // not 
implemented
+    public function set horizontalGridLineColor(value:uint):void {} // not 
implemented
+    public function set selectionColor(value:uint):void {} // not implemented
+    public function set headerSeparatorSkin(value:Class):void {} // not 
implemented
+    
+    public function set editable(value:Boolean):void {} // not implemented
     /**
      *  @private
      *  Storage for the headerHeight property.
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 654d8bb..fd1dd2b 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
@@ -239,6 +239,10 @@ public class DataGridItemRenderer extends 
StringItemRenderer
     {
         callLater(dispatchUpdateComplete); 
     }
+
+    public function set useHandCursor(value:Boolean):void {} // not implemented
+    public function set buttonMode(value:Boolean):void {} // not implemented
+    public function set focusEnabled(value:Boolean):void {} // not implemented
     
     protected function dispatchUpdateComplete():void
     {
diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as
index aa2dc74..f78e41d 100644
--- 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as
+++ 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as
@@ -252,6 +252,8 @@ public class CheckBox extends ToggleButtonBase
     {
         setStyle("gap", value);
     } */
+    
+    public function set symbolColor(value:uint):void {} // not implemented
 
 
     //----------------------------------
diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/List.as 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/List.as
index 54f38b2..e708e3f 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/List.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/List.as
@@ -573,6 +573,11 @@ public class List extends ListBase implements 
IFocusManagerComponent
                // not implemented
        }
 
+       public function set contentBackgroundAlpha(value:Number):void
+       {
+               // not implemented
+       }
+
        public function set alternatingItemColors(value:Array):void
        {
                // not implemented
diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/VGroup.as 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/VGroup.as
index 6912456..9bc465d 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/VGroup.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/VGroup.as
@@ -480,7 +480,7 @@ public class VGroup extends Group
     //  variableRowHeight
     //----------------------------------
 
-    //[Inspectable(category="General", defaultValue="true")]
+    [Inspectable(category="General", defaultValue="true")]
 
     /**
      *  @copy spark.layouts.VerticalLayout#variableRowHeight
@@ -492,18 +492,19 @@ public class VGroup extends Group
      *  @playerversion AIR 1.5
      *  @productversion Royale 0.9.4
      */
-    /* public function get variableRowHeight():Boolean
+     public function get variableRowHeight():Boolean // not implemented
     {
-        return verticalLayout.variableRowHeight;
-    } */
+        //return verticalLayout.variableRowHeight;
+            return false;
+    } 
 
     /**
      *  @private
      */
-   /*  public function set variableRowHeight(value:Boolean):void
+    public function set variableRowHeight(value:Boolean):void // not 
implemented
     {
-        verticalLayout.variableRowHeight = value;
-    } */
+        //verticalLayout.variableRowHeight = value;
+    }
     
     //----------------------------------
     //  firstIndexInView
diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/GroupBase.as
 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/GroupBase.as
index 6367276..4b7a890 100644
--- 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/GroupBase.as
+++ 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/GroupBase.as
@@ -508,6 +508,7 @@ public class GroupBase extends UIComponent implements 
ILayoutParent, IContainer,
    // private var _layoutProperties:Object = null;
    // private var layoutInvalidateSizeFlag:Boolean = false;
    // private var layoutInvalidateDisplayListFlag:Boolean = false;
+    public function set contentBackgroundColor(value:uint):void {} // not 
implemented
     
     [Inspectable(category="General")]
     
diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ListBase.as
 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ListBase.as
index ec70142..8a0f3db 100644
--- 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ListBase.as
+++ 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ListBase.as
@@ -136,6 +136,20 @@ use namespace mx_internal;   //ListBase and List share 
selection properties that
  */
 //[Event(name="caretChange", type="spark.events.IndexChangeEvent")]
 
+
+/**
+ *  Dispatched when a renderer is added to the container.
+ *  The <code>event.renderer</code> property contains 
+ *  the renderer that was added.
+ *
+ *  @eventType spark.events.RendererExistenceEvent.RENDERER_ADD
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Event(name="rendererAdd", type="spark.events.RendererExistenceEvent")] // not 
implemeneted
 //--------------------------------------
 //  Other metadata
 //--------------------------------------

Reply via email to