0 Replies Latest reply on May 19, 2009 11:39 PM by Jason Szeto

    [svn:fx-trunk] 7115: Changed how components are disabled

    Jason Szeto Level 3

      Revision: 7115

      Author:   jszeto@adobe.com

      Date:     2009-05-19 22:39:23 -0700 (Tue, 19 May 2009)

       

      Log Message:

      ***********

      Changed how components are disabled

       

      SDK-20196 Re-work disabled logic in Spark components

      SDK-20197 Remove enableSkinParts() from TrackBase and Spinner

       

      Changed the way that components, in particular, composite components, are disabled. Moved the enabled/disabled logic from SkinnableContainerBase down to SkinnableComponent. Disabled components now prevent mouse interaction with the component and its children. The skin handles the appearance of the component in the disabled state. The Spark skins currently set their alpha to .5.

       

      Composite components like Spinner, and TrackBase no longer disabled their component skin parts.

       

      QE Notes: None

      Doc Notes: None

      Bugs: SDK-20196, 20197

      Reviewer: Ryan

       

      Ticket Links:

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

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as

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

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBar.as

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

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

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableCom ponent.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableCon tainerBase.as

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

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