flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yish...@apache.org
Subject [1/2] git commit: [flex-asjs] [refs/heads/develop] - Added mouseWheel and doubleClick
Date Sun, 23 Jul 2017 11:17:03 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop dc00fcb45 -> 9e15e5ba9


Added mouseWheel and doubleClick


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

Branch: refs/heads/develop
Commit: 2908e0ffa5132377ce28c623205ce0d365fdb3ea
Parents: e25a086
Author: DESKTOP-RH4S838\Yishay <yishayjobs@hotmail.com>
Authored: Sun Jul 23 14:15:27 2017 +0300
Committer: DESKTOP-RH4S838\Yishay <yishayjobs@hotmail.com>
Committed: Sun Jul 23 14:15:27 2017 +0300

----------------------------------------------------------------------
 .../main/flex/org/apache/flex/core/UIBase.as    | 47 +++++++++++++++-----
 .../org/apache/flex/events/ElementEvents.as     |  6 ++-
 2 files changed, 39 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2908e0ff/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
index b9ba8c4..33764be 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
@@ -121,18 +121,41 @@ package org.apache.flex.core
      */
     [Event(name="mouseOut", type="org.apache.flex.events.MouseEvent")]
     
-    /**
-     *  Set a different class for mouseOver events so that
-     *  there aren't dependencies on the flash classes
-     *  on the JS side.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-    [Event(name="mouseOver", type="org.apache.flex.events.MouseEvent")]
-    
+	/**
+	 *  Set a different class for mouseOver events so that
+	 *  there aren't dependencies on the flash classes
+	 *  on the JS side.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	[Event(name="mouseOver", type="org.apache.flex.events.MouseEvent")]
+	/**
+	 *  Set a different class for mouseWheel events so that
+	 *  there aren't dependencies on the flash classes
+	 *  on the JS side.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	[Event(name="mouseWheel", type="org.apache.flex.events.MouseEvent")]
+	
+	/**
+	 *  Set a different class for doubleClick events so that
+	 *  there aren't dependencies on the flash classes
+	 *  on the JS side.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	[Event(name="doubleClick", type="org.apache.flex.events.MouseEvent")]
+	
     /**
      *  The UIBase class is the base class for most composite user interface
      *  components.  For the Flash Player, Buttons and Text controls may

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2908e0ff/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ElementEvents.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ElementEvents.as
b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ElementEvents.as
index fc1353b..4682d2e 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ElementEvents.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/ElementEvents.as
@@ -40,7 +40,8 @@ package org.apache.flex.events
             'mouseDown': 1,
             'mouseMove': 1,
             'rollOver': 1,
-            'rollOut': 1
+			'rollOut': 1,
+			'mouseWheel': 1
         };
 	}
 
@@ -65,7 +66,8 @@ package org.apache.flex.events
 				'mousedown': 1,
 				'mousemove': 1,
 				'rollover': 1,
-				'rollout': 1
+				'rollout': 1,
+				'wheel': 1
 			};
 	}
 }


Mime
View raw message