You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/10/04 06:36:28 UTC

[GitHub] alinakazi closed pull request #311: Update RadioButtonGroup

alinakazi closed pull request #311: Update RadioButtonGroup
URL: https://github.com/apache/royale-asjs/pull/311
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RadioButtonGroup.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RadioButtonGroup.as
index 2fe8f0298..4c9359a2b 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RadioButtonGroup.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RadioButtonGroup.as
@@ -207,7 +207,7 @@ public class RadioButtonGroup extends EventDispatcher
      *  @private
      *  An Array of the RadioButtons that belong to this group.
      */
-    //private var radioButtons:Array /* of RadioButton */ = [];
+    private var radioButtons:Array /* of RadioButton */ = [];
 
     /**
      *  @private
@@ -278,10 +278,10 @@ public class RadioButtonGroup extends EventDispatcher
      *  @playerversion AIR 1.5
      *  @productversion Royale 0.9.4
      */
-    /* public function get numRadioButtons():int
+     public function get numRadioButtons():int
     {
         return radioButtons.length;
-    } */
+    } 
 
 
     //----------------------------------
@@ -510,13 +510,13 @@ public class RadioButtonGroup extends EventDispatcher
      *  @playerversion AIR 1.5
      *  @productversion Royale 0.9.4
      */
-    /* public function getRadioButtonAt(index:int):RadioButton
+     public function getRadioButtonAt(index:int):RadioButton
     {
         if (index >= 0 && index < numRadioButtons)
             return radioButtons[index];
             
         return null;
-    } */
+    } 
 
     /**
      *  @private


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services