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

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

commit ef1f88c839b979a562d46fffa4be2a15fd441f7a
Author: Alex Harui <[email protected]>
AuthorDate: Wed Mar 28 13:05:20 2018 -0700

    Checkbox has a label property
---
 .../projects/MXRoyale/src/main/royale/mx/controls/CheckBox.as     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/CheckBox.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/CheckBox.as
index 600ddbe..0d093f1 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/CheckBox.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/CheckBox.as
@@ -138,7 +138,7 @@ public class CheckBox extends Button implements IStrand, 
ISelectable
         *  @playerversion AIR 2.6
         *  @productversion Royale 0.0
         */
-       public function get text():String
+       override public function get label():String
        {
                return IToggleButtonModel(model).text;
        }
@@ -146,7 +146,7 @@ public class CheckBox extends Button implements IStrand, 
ISelectable
        /**
         *  @private
         */
-       public function set text(value:String):void
+       override public function set label(value:String):void
        {
                IToggleButtonModel(model).text = value;
        }
@@ -209,12 +209,12 @@ public class CheckBox extends Button implements IStrand, 
ISelectable
                return element;
        }
 
-       public function get text():String
+       override public function get label():String
        {
                return _label.childNodes.item(1).nodeValue;
        }
 
-       public function set text(value:String):void
+       override public function set label(value:String):void
        {
                _label.childNodes.item(1).nodeValue = value;
        }

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to