flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [10/50] git commit: [flex-asjs] [refs/heads/master] - Fixed issues with StyleExample and updated DataChooserMouseController to accept MouseEvent.
Date Wed, 07 Sep 2016 22:33:45 GMT
Fixed issues with StyleExample and updated DataChooserMouseController to accept MouseEvent.


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

Branch: refs/heads/master
Commit: b3ab3eb3e21181530025fcc48cd2872394c4f1f3
Parents: e9dbfab
Author: Peter Ent <pent@apache.org>
Authored: Thu Jul 28 14:58:43 2016 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Thu Jul 28 14:58:43 2016 -0400

----------------------------------------------------------------------
 examples/flexjs/StyleExample/src/MyInitialView.mxml          | 8 ++++----
 .../html/beads/controllers/DateChooserMouseController.as     | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b3ab3eb3/examples/flexjs/StyleExample/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StyleExample/src/MyInitialView.mxml b/examples/flexjs/StyleExample/src/MyInitialView.mxml
index c67fe52..944d9ea 100644
--- a/examples/flexjs/StyleExample/src/MyInitialView.mxml
+++ b/examples/flexjs/StyleExample/src/MyInitialView.mxml
@@ -396,10 +396,10 @@ limitations under the License.
 		
 		<js:CheckBox text="Check Me, please!" />
 		<js:Spacer height="20" />
-		<js:RadioButton text="Apples" groupName="fruits" />
-		<js:RadioButton text="Oranges" groupName="fruits" />
-		<js:RadioButton text="Grapes" groupName="fruits" />
-		<js:RadioButton text="Bananas" groupName="fruits" />
+		<js:RadioButton text="Apples" groupName="fruits" value="1" selected="true" />
+		<js:RadioButton text="Oranges" groupName="fruits" value="2" />
+		<js:RadioButton text="Grapes" groupName="fruits" value="3" />
+		<js:RadioButton text="Bananas" groupName="fruits" value="4" />
 	
 		<js:Spacer height="10" />
 		<js:Label id="output" text="An Example of a Label" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b3ab3eb3/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
index 0aaa052..c0bed5b 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
@@ -27,6 +27,7 @@ package org.apache.flex.html.beads.controllers
 	import org.apache.flex.core.IBeadView;
 	import org.apache.flex.core.IStrand;
 	import org.apache.flex.events.Event;
+	import org.apache.flex.events.MouseEvent;
 	import org.apache.flex.events.IEventDispatcher;
 	
 	/**
@@ -112,7 +113,7 @@ package org.apache.flex.html.beads.controllers
 		/**
 		 * @private
 		 */
-		private function dayButtonClickHandler(event:Event):void
+		private function dayButtonClickHandler(event:MouseEvent):void
 		{
 			var dateButton:DateChooserButton = event.target as DateChooserButton;
 			if (dateButton.dayOfMonth > 0) {


Mime
View raw message