0 Replies Latest reply on Aug 27, 2009 1:23 PM by Carol L. Frampton

    [svn:fx-trunk] 9708: Add TLFTextInput which allows Halo controls to use the spark FTE/ TLF-based TextInput component wherever a Halo TextInput can be used.

    Carol L. Frampton Level 2

      Revision: 9708

      Author:   cframpto@adobe.com

      Date:     2009-08-27 13:22:38 -0700 (Thu, 27 Aug 2009)

       

      Log Message:

      ***********

      Add TLFTextInput which allows Halo controls to use the spark FTE/TLF-based TextInput component wherever a Halo TextInput can be used.

       

      This is done by introducing a new style for Halo called textInputClass.  In the global selector, in defaults.css, it defaults to mx.controls.TextInput.  This style only applies for Flex version 4 and up.

       

      To use TLFText apply the new TLFText.css style sheet as a theme to your application.  Alternatively you may apply this style sheet in your application but you will see compiler warnings for any unused selectors.

       

      Note that mx.controls.TLFTextInput lives in spark.swc since it is build on spark.components.TextInput.

       

      Modified ColorPicker, DateField, ComboBox, NumericStepper and TextInput to look at the textInputClass field to determine whether to use a Halo TextInput or a Spark TextInput.

       

      QE notes:

      Doc notes:

      Bugs:

      Reviewer: Gordon

      Tests run: mx ColorPicker,DateField,ComboBox,NumericStepper and TextInput as well as checkintests

      one ColorPicker_events_toolTipHide failed - the timer does fire eventually but it seems to take much longer than the hideDelay=10000.

      Is noteworthy for integration: yes

       

      Modified Paths:

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

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as

       

      Added Paths:

      ***********

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextInput.as

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

          flex/sdk/trunk/frameworks/projects/spark/src/mx/

          flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/

          flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/TLFTextInput.as