0 Replies Latest reply on Aug 5, 2009 11:01 AM by deepa subramaniam (adobe)

    [svn:fx-trunk] 9106: A couple of changes to ItemRenderer and List.

    deepa subramaniam (adobe) Level 2

      Revision: 9106

      Author:   dsubrama@adobe.com

      Date:     2009-08-05 11:01:12 -0700 (Wed, 05 Aug 2009)

       

      Log Message:

      ***********

      A couple of changes to ItemRenderer and List.

       

      -'normal' state for ItemRenderers is now optional

      -List's keyDown() handler is adequately commented to aid users in figuring out what to opt in for/opt out for when writing custom keyDown functionality

      -Shoving the label text into the labelDisplay's text in an ItemRenderer happens in ItemRenderer itself (vs DefaultItemRenderer)

       

       

      QE notes: I ran DataGroup, SkinnableDataContainer, List and DropDownList tests and all passed - there were some Mac-specific visual differences that should not be related to my changes.

      Doc notes: Yes - please make sure documentation reflect that the normal state is optional. Now, ItemRenderers have no required states.

      Bugs: SDK-22268, SDK-21960

      Reviewer: Corey

      Tests run: DataGroup, SkinnableDataContainer, List, DDL

      Is noteworthy for integration: Noe

       

      Ticket Links:

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

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

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

       

      Modified Paths:

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

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

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.mxml