You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2019/04/20 14:15:23 UTC

[royale-asjs] branch develop updated: Make Jewel CheckBox and RadioButton ISelectable

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

piotrz 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 3cd4a51  Make Jewel CheckBox and RadioButton ISelectable
3cd4a51 is described below

commit 3cd4a514037cf1849ff14b01f5a5805230b7d02c
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Sat Apr 20 16:15:04 2019 +0200

    Make Jewel CheckBox and RadioButton ISelectable
---
 .../Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as        | 4 ++--
 .../Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as     | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as
index cbd7d4d..be3eaa4 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as
@@ -20,7 +20,6 @@ package org.apache.royale.jewel
 {
     COMPILE::SWF
     {
-    import org.apache.royale.core.ISelectable;
     import org.apache.royale.core.IStrand;
     import org.apache.royale.core.UIButtonBase;
     import org.apache.royale.events.MouseEvent;
@@ -34,6 +33,7 @@ package org.apache.royale.jewel
     import org.apache.royale.core.IToggleButtonModel;
     import org.apache.royale.events.Event;
     import org.apache.royale.utils.ClassSelectorList;
+    import org.apache.royale.core.ISelectable;
 
     //--------------------------------------
     //  Events
@@ -175,7 +175,7 @@ package org.apache.royale.jewel
      *  @productversion Royale 0.9.4
      */
     COMPILE::JS
-    public class CheckBox extends StyledUIBase
+    public class CheckBox extends StyledUIBase implements ISelectable
     {
         /**
          *  Constructor.
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as
index 74d2d88..15a6237 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as
@@ -21,6 +21,7 @@ package org.apache.royale.jewel
     import org.apache.royale.events.Event;
     import org.apache.royale.events.MouseEvent;
     import org.apache.royale.utils.ClassSelectorList;
+	import org.apache.royale.core.ISelectable;
 
     COMPILE::SWF
     {
@@ -78,7 +79,7 @@ package org.apache.royale.jewel
      *  @productversion Royale 0.9.4
      */
     COMPILE::SWF
-	public class RadioButton extends UIButtonBase implements IStrand
+	public class RadioButton extends UIButtonBase implements IStrand, ISelectable
 	{
         /**
 		 *  constructor.
@@ -286,7 +287,7 @@ package org.apache.royale.jewel
      *  @productversion Royale 0.9.4
      */
     COMPILE::JS
-    public class RadioButton extends StyledUIBase
+    public class RadioButton extends StyledUIBase implements ISelectable
     {
         /**
          *  Constructor.