0 Replies Latest reply on Nov 18, 2009 9:33 AM by Darrell Loverin

    [svn:fx-trunk] 11942: StyleManager fixes.

    Darrell Loverin Level 4

      Revision: 11942

      Revision: 11942

      Author:   dloverin@adobe.com

      Date:     2009-11-18 09:33:13 -0800 (Wed, 18 Nov 2009)

      Log Message:

      ***********

      StyleManager fixes.

       

      Stop using the styleManager property in a constructor.

      framework/src/mx/containers/DividedBox.as

      framework/src/mx/containers/Form.as

      framework/src/mx/controls/ButtonBar.as

       

      Cache inheriting styles. Also made static arrays in StyleManagerImpl per-instance.

      framework/src/mx/events/FlexChangeEvent.as

      framework/src/mx/styles/StyleManagerImpl.as

       

      Remove static StyleManager methods that were new to Flex 4 (qualifiedTypeSelectors property, getStyleDeclarations(), hasAdvancedSelectors(), hasPseudoCondition()).

      framework/src/mx/styles/StyleManager.as

       

      Update copyright.

      framework/src/mx/styles/CSSMergedStyleDeclaration.as

       

       

      QE notes: None.

      Doc notes: None.

      Bugs: SDK-24215

      Reviewer: Alex

      Tests run: checkintests, containers/DividedBox, containers/form, components/ButtonBar, Managers/StyleManager, PerModuleStyleManager

      Is noteworthy for integration: yes - StyleManager performance improvement

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

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

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

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexChangeEvent.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as