0 Replies Latest reply on Oct 9, 2009 12:34 PM by Jason Szeto

    [svn:fx-trunk] 10955: ComboBox initial checkin

    Jason Szeto Level 3

      Revision: 10955

      Author:   jszeto@adobe.com

      Date:     2009-10-09 12:34:12 -0700 (Fri, 09 Oct 2009)

       

      Log Message:

      ***********

      ComboBox initial checkin

       

      The ComboBox component is similar to a DropDownList but has a TextInput instead of a Label. A user can type into the TextInput and the dropDown will scroll to and highlight the closest match.

       

      Users are allowed to type in an item not found in the dataProvider. With this behavior, a ComboBox acts as a list of suggested values, while a DropDownList acts as a list of possible values.

       

      The full spec is located here:

      http://opensource.adobe.com/wiki/display/flexsdk/Spark+ComboBox

       

      This checkin includes the following:

      - All public APIs implemented

      - All styles implemented (except for cornerRadius)

      - Basic keyboard and mouse interaction working

      - Spark and Wireframe skins implemented

      - Added custom selectedItem support to ListBase

       

      What is missing:

      - The keyboard and mouse interactions are partially implemented.

      - The TextInput caret and selection behaviors are not implemented

      - The changing event is not cancellable if setting a custom selected item

      - Need to refactor DropDownList into DropDownList and DropDownListBase

       

      QE notes: None

      Doc notes: None

      Bugs: None

      Reviewer: Glenn

      Tests run: List, DropDownList

      Is noteworthy for integration: No

       

      Modified Paths:

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

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

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

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

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

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

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

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

          flex/sdk/trunk/frameworks/projects/wireframe/src/WireframeClasses.as

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

       

      Added Paths:

      ***********

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

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

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

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

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ComboBoxButtonSkin .mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ComboBoxSkin.mxml