0 Replies Latest reply on Feb 10, 2010 9:33 AM by Carol L. Frampton

    [svn:fx-trunk] 14095: Merge 14076 from 4.x branch to trunk.

    Carol L. Frampton Level 2

      Revision: 14095

      Revision: 14095

      Author:   cframpto@adobe.com

      Date:     2010-02-10 09:33:30 -0800 (Wed, 10 Feb 2010)

      Log Message:

      ***********

      Merge 14076 from 4.x branch to trunk.

       

      Revision: 14076

      Author:   cframpto@adobe.com

      Date:     2010-02-09 15:23:15 -0800 (Tue, 09 Feb 2010)

      Log Message:

      ***********

      Add UIComponent.mapKeycodeForLayoutDirection().  This should be called by any keyDownHandlers() which handles Keyboard.LEFT and Keyboard.RIGHT, and optionally for Keyboard.UP and Keyboard.DOWN, if they behave like Keyboard.LEFT and Keyboard.RIGHT.  If the layoutDirection="rtl", it maps LEFT to RIGHT, RIGHT to LEFT, UP to RIGHT and DOWN to LEFT.  This allows the keyDownHandler() to perform the correct action without adding lots of special case code to the key handling code.

       

      QE notes: For layoutDirection="rtl" need to test LEFT, RIGHT, UP and DOWN keys.

      Doc notes: None

      Bugs: SDK-25330

      Reviewed By: Hans

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

       

      Ticket Links:

      ***********

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as

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

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

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

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

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

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

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

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as

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

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as

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

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

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

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

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

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.a s

       

      Property Changed:

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

          flex/sdk/trunk/frameworks/