0 Replies Latest reply on Dec 15, 2008 5:06 PM by (Ryan_Frishberg)

    [svn] 4318: A bunch of small changes:

      Revision: 4318
      Author: rfrishbe@adobe.com
      Date: 2008-12-15 17:06:12 -0800 (Mon, 15 Dec 2008)

      Log Message:
      -----------
      A bunch of small changes:

      - Rename from "content" to "mxmlContent"--I missed some places before

      - Remove references from Group to GraphicElement. Change them to use IGraphicElement.

      - Update the IGraphicElement interface for above. Evtim will go in and clean it up more later

      - Group optimization so we don't loop through all visual element children in validateProperties(), validateSize(), and validateDisplayList() if we have no graphic elements. Some further optimizations are possible, but we're not sure if it's worth it. For instance, we could just loop over the graphic elements directly, rather than all elements. Also, we always call assignDisplayObjects() even if we don't need to (all elements are display objects and have layer == 0).

      - Cleanup around setting alpha and blendMode in Group

      - Cleanup around bindable properties in Group

      - Commented a lot of code I didn't understand in Group

      - Cleaned up some code in display object sharing for Group (no need for lastDisplayObject...just need insertIndex)

      - All layouts now call super.measure() and super.updateDisplayList() even though the LayoutBase version of these methods does nothing.

      QE Notes: None
      Doc Notes: None
      Bugs: SDK-18065
      Reviewer: Jason
      tests: checkintests, Mustella Group, FxContainer, GraphicTags, and layout

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-18065

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as