0 Replies Latest reply on Aug 3, 2009 5:16 PM by Jason Szeto

    [svn:fx-trunk] 9033: MouseWheel behavior in TrackBase and Spinner

    Jason Szeto Level 3

      Revision: 9033

      Author:   jszeto@adobe.com

      Date:     2009-08-03 17:16:21 -0700 (Mon, 03 Aug 2009)

       

      Log Message:

      ***********

      MouseWheel behavior in TrackBase and Spinner

       

      http://bugs.adobe.com/jira/browse/SDK-20154 - awkward mouse wheel behavior on Gumbo Sliders

       

      When Slider is in focus, it listens for the mouseWheel event on the systemManager in the capture phase. Added the same support to Spinner (and thus NumericStepper). I decided against moving the functionality into Range because range is an abstract class that has no user interaction code in it. Thus it didn?\226?\128?\153t seem correct to put mouse handling code into it.

       

      I updated some of the Halo classes to use the preventDefault/isDefaultPrevented functions instead of using stopPropagation in their mouseWheel handlers.

       

      QE notes: Add test cases for Spinner and NumericStepper

      Doc notes: Mention mouse wheel support in Spinner and NumericStepper

      Bugs: SDK-20157

      Reviewer: Hans

      Tests run: Spinner, NumericStepper, Slider

      Is noteworthy for integration: No

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-20154

          http://bugs.adobe.com/jira/browse/SDK-20157

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as