0 Replies Latest reply on Aug 27, 2009 3:59 PM by Jason Szeto

    [svn:fx-trunk] 9724: Border checkin

    Jason Szeto Level 3

      Revision: 9724

      Author:   jszeto@adobe.com

      Date:     2009-08-27 15:59:23 -0700 (Thu, 27 Aug 2009)

       

      Log Message:

      ***********

      Border checkin

       

      The Border class provides a container class that can be styled with a border and a background fill or image. It has many of the same styles as HaloBorder and is used in a similar way to the Halo container classes such as Box and Canvas. Examples of styles that are supported are borderWeight, borderColor, backgroundColor, backgroundImage, cornerRadius and dropShadowVisible. The class also supports directly setting a fill or stroke instance.

       

      Border consists of a component class and a skin class called BorderSkin. Border declares the available styles and the backgroundFill and borderStroke properties. It serves as a proxy for the styles and properties in BorderSkin. BorderSkin draws the border and background using these styles and properties. The Border class is not meant to be skinned by a different skin class. All of the style drawing logic is held in the BorderSkin class.

       

      QE notes: None

      Doc notes: ASDoc comments need review

      Bugs: N/A

      Reviewer: Glenn

      Tests run: Added Border to checkintests

      Is noteworthy for integration: Yes. Border is a new container.

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/spark/defaults.css

          flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as

          flex/sdk/trunk/frameworks/spark-manifest.xml

          flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml

          flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml

       

      Added Paths:

      ***********

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

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

          flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml

          flex/sdk/trunk/frameworks/tests/basicTests/spark/views/BorderTests.mxml