You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2018/08/07 07:15:25 UTC

[royale-asjs] branch feature/MXRoyale updated (bef6bc4 -> 0b524fb)

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

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


    from bef6bc4  fix RichTextEditor
     new 6faacc7  Implement UIComponent.enabled
     new 59e9e26  Merge branch 'disabled_uicomp' into feature/MXRoyale
     new 0b524fb  Merge branch 'feature/MXRoyale' of https://github.com/apache/royale-asjs into feature/MXRoyale

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../MXRoyale/src/main/royale/mx/core/UIComponent.as       | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)


[royale-asjs] 01/03: Implement UIComponent.enabled

Posted by yi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 6faacc781c0a68350e201640cd3d2e4c9a64476f
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Sun Aug 5 14:52:18 2018 +0300

    Implement UIComponent.enabled
---
 .../MXRoyale/src/main/royale/mx/core/UIComponent.as       | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 2fd6210..e042339 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -51,6 +51,8 @@ import mx.managers.IFocusManager;
 import mx.managers.IFocusManagerContainer;
 import mx.managers.ISystemManager;
 
+import org.apache.royale.html.beads.DisableBead;
+import org.apache.royale.html.beads.DisabledAlphaBead;
 import org.apache.royale.core.CallLaterBead;
 import org.apache.royale.core.IStatesImpl;
 import org.apache.royale.core.IStatesObject;
@@ -946,9 +948,6 @@ public class UIComponent extends UIBase
      */
     public function get enabled():Boolean
     {
-        // TODO
-        if (GOOG::DEBUG)
-            trace("enabled not implemented");
         return _enabled;
     }
 
@@ -957,10 +956,13 @@ public class UIComponent extends UIBase
      */
     public function set enabled(value:Boolean):void
     {
-        // TODO
-        if (GOOG::DEBUG)
-            trace("enabled not implemented");
         _enabled = value;
+        if (_disableBead == null) {
+		_disableBead = new DisableBead();
+		addBead(_disableBead);
+		addBead(new DisabledAlphaBead());
+	}
+	_disableBead.disabled = !_enabled;
     }
 
     //----------------------------------
@@ -2854,6 +2856,7 @@ public class UIComponent extends UIBase
     private var _toolTip:String;
 	
 	private var _toolTipBead: ToolTipBead;
+	private var _disableBead: DisableBead;
 
     [Bindable("toolTipChanged")]
     [Inspectable(category="General", defaultValue="null")]


[royale-asjs] 02/03: Merge branch 'disabled_uicomp' into feature/MXRoyale

Posted by yi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 59e9e26c86cfaaa808a10a7f1254bc08a05c2681
Merge: a37065d 6faacc7
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Mon Aug 6 14:02:40 2018 +0300

    Merge branch 'disabled_uicomp' into feature/MXRoyale

 .../MXRoyale/src/main/royale/mx/core/UIComponent.as       | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)


[royale-asjs] 03/03: Merge branch 'feature/MXRoyale' of https://github.com/apache/royale-asjs into feature/MXRoyale

Posted by yi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 0b524fbe4d521e4551e21d0287946c8824453b7a
Merge: 59e9e26 bef6bc4
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Tue Aug 7 10:15:00 2018 +0300

    Merge branch 'feature/MXRoyale' of https://github.com/apache/royale-asjs into feature/MXRoyale

 frameworks/air-config-template.xml                 |    4 -
 frameworks/flex-config-template.xml                |    4 -
 .../src/main/resources/mx-royale-manifest.xml      |    1 +
 .../MXRoyale/src/main/royale/MXRoyaleClasses.as    |    2 +
 .../royale/mx/collections/ListCollectionView.as    |    2 +-
 .../src/main/royale/mx/collections/Sort.as         |    2 +-
 .../src/main/royale/mx/controls/ColorPicker.as     |    2 +-
 .../src/main/royale/mx/controls/ComboBox.as        |   98 +-
 .../main/royale/mx/controls/RichTextEditor.mxml    | 1090 ++++++++++++++++++++
 .../src/main/royale/mx/controls/TextArea.as        |    2 +
 .../src/main/royale/mx/core/UITextField.as         |    2 +-
 .../src/main/royale/mx/formatters/DateFormatter.as |    2 +-
 .../main/royale/mx/formatters/NumberFormatter.as   |    4 +-
 .../royale/mx/graphics/LinearGradientStroke.as     |   61 +-
 .../src/main/royale/mx/messaging/ChannelSet.as     |    4 +-
 .../royale/mx/messaging/channels/AMFChannel.as     |    2 +-
 .../src/main/royale/mx/skins/RectangularBorder.as  |    2 +-
 .../src/main/royale/mx/utils/Base64Decoder.as      |    4 +-
 .../src/main/royale/mx/utils/Base64Encoder.as      |    2 +-
 .../MXRoyale/src/main/royale/mx/utils/ByteArray.as |   62 ++
 .../src/main/royale/mx/validators/DateValidator.as |    4 +-
 .../main/royale/mx/validators/NumberValidator.as   |    2 +-
 .../royale/mx/validators/PhoneNumberValidator.as   |    2 +-
 .../main/royale/mx/validators/RegExpValidator.as   |    2 +-
 .../main/royale/mx/validators/StringValidator.as   |    2 +-
 .../src/main/resources/spark-royale-manifest.xml   |    5 +-
 .../main/royale/spark/components/Application.as    |    2 +-
 frameworks/royale-config-template.xml              |    4 -
 28 files changed, 1296 insertions(+), 79 deletions(-)