You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2018/05/23 10:45:12 UTC

[royale-asjs] branch feature/MXRoyale updated: Update RadioButtonGroup.as

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

alinakazi pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
     new b128d3c  Update RadioButtonGroup.as
b128d3c is described below

commit b128d3cbf3f48bca9fe2d0e86926d0a2b90ba680
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Wed May 23 03:45:08 2018 -0700

    Update RadioButtonGroup.as
---
 .../main/royale/spark/components/RadioButtonGroup.as    | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

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 a9fa38d..56302a9 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RadioButtonGroup.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RadioButtonGroup.as
@@ -100,7 +100,7 @@ use namespace mx_internal;
  *  @playerversion AIR 1.5
  *  @productversion Royale 0.9.4
  */
-//[Event(name="valueCommit", type="mx.events.FlexEvent")]
+ [Event(name="valueCommit", type="mx.events.FlexEvent")]
 
 //--------------------------------------
 //  Other metadata
@@ -423,11 +423,11 @@ public class RadioButtonGroup extends EventDispatcher
      *  @private
      *  Reference to the selected radio button.
      */
-    /* private var _selection:RadioButton;
+     private var _selection:Object;//RadioButton;
 
     [Bindable("change")]
     [Bindable("valueCommit")]
-    [Inspectable(category="General")] */
+    [Inspectable(category="General")] 
 
     /**
      *  Contains a reference to the currently selected
@@ -444,22 +444,23 @@ public class RadioButtonGroup extends EventDispatcher
      *  @playerversion AIR 1.5
      *  @productversion Royale 0.9.4
      */
-    /* public function get selection():RadioButton
+    public function get selection():Object//RadioButton
     {
         return _selection;
-    } */
+    } 
 
     /**
      *  @private
      */
-    /* public function set selection(value:RadioButton):void
+	//public function set selection(value:RadioButton):void
+    public function set selection(value:Object):void
     {
         if ( _selection == value)
             return;
         
         // Going through the selection setter should never fire a change event.
-        setSelection(value, false);
-    } */
+       // setSelection(value, false);
+    } 
 
     //--------------------------------------------------------------------------
     //

-- 
To stop receiving notification emails like this one, please contact
alinakazi@apache.org.