0 Replies Latest reply on Mar 12, 2010 3:23 PM by kevinklin

    [svn:fx-4.x] 14741: Adding ILayoutDirectionElement to address issues with non-styled components such as embedded bitmaps .

    kevinklin Adobe Employee

      Revision: 14741

      Revision: 14741

      Author:   klin@adobe.com

      Date:     2010-03-12 15:23:40 -0800 (Fri, 12 Mar 2010)

      Log Message:

      ***********

      Adding ILayoutDirectionElement to address issues with non-styled components such as embedded bitmaps. Also, addressed issues with changing layoutDirection at runtime.

       

      -Added ILayoutDirectionElement.as with the layoutDirection property and invalidateLayoutDirection(). I took them out of IVisualElement.

      -Moved the mirroring code from FlexBitmap to BitmapAsset as well as SpriteAsset. Also, implemented ILayoutDirectionElement in both.

      -Addressed issues with layoutDirection changing at runtime by adding logic in UIComponent and Container to call invalidateLayoutDirection() on all of their ILayoutDirectionElement children.

      -Updated various other components to use the new interface.

      -Updated the dependency checker.

       

      QE notes: No

      Doc notes: No

      Bugs: SDK-25656, SDK-25685, SDK-25726, SDK-25758 , SDK-25776 , SDK-25784 , SDK-25791, SDK-25806

      Reviewer: Jason, Carol

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

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

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

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

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

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

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

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

       

      Modified Paths:

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

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/BitmapAsset.as

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/Container.as

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/FlexBitmap.as

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/IVisualElement.as

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/LayoutDirection.as

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/SpriteAsset.as

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as

          flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as

          flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/primitives/supportClasses/Graph icElement.as

          flex/sdk/branches/4.x/tools/dependencychecker/frameworkSwcExceptionsList.txt

       

      Added Paths:

      ***********

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/ILayoutDirectionElement.a s