flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [26/30] git commit: [flex-asjs] [refs/heads/develop] - fix reading from write-only properties
Date Sat, 18 Oct 2014 05:43:43 GMT
fix reading from write-only properties


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b39b1d74
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b39b1d74
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b39b1d74

Branch: refs/heads/develop
Commit: b39b1d74488cfe2f0338775b2f6dfb351404bdab
Parents: 4790223
Author: Alex Harui <aharui@apache.org>
Authored: Thu Oct 16 22:49:17 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Oct 17 22:38:48 2014 -0700

----------------------------------------------------------------------
 .../src/org/apache/flex/html/beads/FormatableLabelView.as    | 2 +-
 .../org/apache/flex/html/beads/FormatableTextInputView.as    | 2 +-
 .../src/org/apache/flex/html/beads/TextFieldViewBase.as      | 2 +-
 .../flex/html/beads/controllers/DragMouseController.as       | 6 +++---
 .../flex/html/beads/controllers/DropMouseController.as       | 8 ++++----
 5 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b39b1d74/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableLabelView.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableLabelView.as
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableLabelView.as
index 51e2ec9..03b6ccd 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableLabelView.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableLabelView.as
@@ -70,7 +70,7 @@ package org.apache.flex.html.beads
 		 */
 		private function handleBeadsAdded(event:Event):void
 		{
-			_formatter = strand.getBeadByType(IFormatBead) as IFormatBead;
+			_formatter = _strand.getBeadByType(IFormatBead) as IFormatBead;
 			_formatter.addEventListener("formatChanged",formatReadyHandler);
 			
 			// process any text set in the label at this moment

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b39b1d74/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableTextInputView.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableTextInputView.as
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableTextInputView.as
index d6d803d..926253c 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableTextInputView.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/FormatableTextInputView.as
@@ -70,7 +70,7 @@ package org.apache.flex.html.beads
 		 */
 		private function handleBeadsAdded(event:Event):void
 		{
-			_formatter = strand.getBeadByType(IFormatBead) as IFormatBead;
+			_formatter = _strand.getBeadByType(IFormatBead) as IFormatBead;
 			if (_formatter) {
 				_formatter.addEventListener("formatChanged",formatChangedHandler);
 			}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b39b1d74/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextFieldViewBase.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextFieldViewBase.as
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextFieldViewBase.as
index 2fb07c9..877716b 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextFieldViewBase.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextFieldViewBase.as
@@ -74,7 +74,7 @@ package org.apache.flex.html.beads
 		
 		private var _textModel:ITextModel;
 		
-		private var _strand:IStrand;
+		protected var _strand:IStrand;
 		
         /**
          *  @copy org.apache.flex.core.IBead#strand

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b39b1d74/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DragMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DragMouseController.as
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DragMouseController.as
index f9e4b7e..9d14b1c 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DragMouseController.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DragMouseController.as
@@ -187,7 +187,7 @@ package org.apache.flex.html.beads.controllers
                 {
                     dragEvent = new DragEvent("dragStart", true, true);
                     dragEvent.copyMouseEventProperties(event);
-                    IEventDispatcher(strand).dispatchEvent(dragEvent);
+                    IEventDispatcher(_strand).dispatchEvent(dragEvent);
                     if (dragSource != null)
                     {
                         dragging = true;
@@ -201,7 +201,7 @@ package org.apache.flex.html.beads.controllers
                 dragEvent.copyMouseEventProperties(event);
                 dragEvent.dragSource = dragSource;
                 dragEvent.dragInitiator = dragInitiator;
-                IEventDispatcher(strand).dispatchEvent(dragEvent);
+                IEventDispatcher(_strand).dispatchEvent(dragEvent);
             }
         }
         
@@ -216,7 +216,7 @@ package org.apache.flex.html.beads.controllers
                 event.stopImmediatePropagation();
                 dragEvent.dragSource = dragSource;
                 dragEvent.dragInitiator = dragInitiator;
-                IEventDispatcher(strand).dispatchEvent(dragEvent);
+                IEventDispatcher(_strand).dispatchEvent(dragEvent);
             }
             dragging = false;
             dragSource = null;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b39b1d74/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DropMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DropMouseController.as
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DropMouseController.as
index 9793e83..c70c9a8 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DropMouseController.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/controllers/DropMouseController.as
@@ -123,7 +123,7 @@ package org.apache.flex.html.beads.controllers
                 dragEvent.copyMouseEventProperties(event);
                 dragSource = dragEvent.dragSource = event.dragSource;
                 dragInitiator = dragEvent.dragInitiator = event.dragInitiator;
-                IEventDispatcher(strand).dispatchEvent(dragEvent);
+                IEventDispatcher(_strand).dispatchEvent(dragEvent);
                 inside = true;
                 DisplayObject(_strand).stage.addEventListener(DragEvent.DRAG_END, dragEndHandler);
                 DisplayObject(_strand).addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
@@ -134,7 +134,7 @@ package org.apache.flex.html.beads.controllers
                 dragEvent.copyMouseEventProperties(event);
                 dragEvent.dragSource = event.dragSource;
                 dragEvent.dragInitiator = event.dragInitiator;
-                IEventDispatcher(strand).dispatchEvent(dragEvent);
+                IEventDispatcher(_strand).dispatchEvent(dragEvent);
             }
         }
         
@@ -151,7 +151,7 @@ package org.apache.flex.html.beads.controllers
                 dragSource = null;
                 dragInitiator = null;
                 event.stopImmediatePropagation();
-                IEventDispatcher(strand).dispatchEvent(dragEvent);
+                IEventDispatcher(_strand).dispatchEvent(dragEvent);
                 inside = false;
             }
             DisplayObject(_strand).stage.removeEventListener(DragEvent.DRAG_END, dragEndHandler);
@@ -169,7 +169,7 @@ package org.apache.flex.html.beads.controllers
             dragSource = null;
             dragInitiator = null;
             event.stopImmediatePropagation();
-            IEventDispatcher(strand).dispatchEvent(dragEvent);
+            IEventDispatcher(_strand).dispatchEvent(dragEvent);
             
             DisplayObject(_strand).stage.removeEventListener(DragEvent.DRAG_END, dragEndHandler);
             DisplayObject(_strand).removeEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
		


Mime
View raw message