0 Replies Latest reply on Oct 26, 2009 4:15 PM by rfrishbe

    [svn:fx-trunk] 11170: ItemRenderer changes.

    rfrishbe Level 3

      Revision: 11170

      Author:   rfrishbe@adobe.com

      Date:     2009-10-26 16:15:30 -0700 (Mon, 26 Oct 2009)

       

      Log Message:

      ***********

      ItemRenderer changes.  Fixing some bugs with the autoDrawBackground flag.  Also making some PARB changes:

       

      1.  IItemRenderer.index -> itemIndex (affects DefaultItemRenderer, ItemRenderer, and ButtonBarButton).

      2.  GroupBase.renderBackgroundFill() (protected method) -> drawBackground() (mx_internal method)

      3.  ItemRenderer.handleBackgroundFill -> autoDrawBackground

      4.  Removed contentBackgroundColor from ItemRenderer

       

      Also, DefaultItemRenderer is now no longer an MXML file, but it is an AS-only class that extends UIComponent.

       

      QE notes: -

      Doc notes: Yes - Can you please look at the ASDocs for DefaultItemRenderer.as and the autoDrawBackground flag on ItemRenderer

      Bugs: -

      Reviewer: Deepa

      Tests run: checkintests, Mustella List, DataGroup, DropDownList

      Is noteworthy for integration: Yes

       

      Modified Paths:

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

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

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

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

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

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

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

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

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

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

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

       

      Added Paths:

      ***********

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

       

      Removed Paths:

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

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