Skip navigation
Currently Being Moderated

[svn:fx-trunk] 9948: Spark Primitive Text Changes.

Sep 2, 2009 7:45 PM

Revision: 9948

Author:   rfrishbe@adobe.com

Date:     2009-09-02 19:44:59 -0700 (Wed, 02 Sep 2009)

 

Log Message:

***********

Spark Primitive Text Changes.  See http://opensource.adobe.com/wiki/display/flexsdk/SparkTextPrimitives+Decision for the full information and reasoning for the decision.  The main changes are:

 

  • Replace SimpleText with Label, a UIComponent version of the same component

  • Instead of extending GraphicElement, RichText will extend UIComponent (like Label will)

  • All of the spark text components will move to spark.components.*, so there will be spark.components.Label, spark.components.RichText, and spark.components.RichEditableText

  • The base class for SimpleText and RichText, spark.primitives.supportClasses.TextGraphicElement, will now extend UIComponent (instead of GraphicElement) and be moved and renamed to spark.components.supportClasses.TextBase. All of our text skin parts will now be typed as TextBase instead of TextGraphicElement

  • For now, RichEditableText and RichText will co-exist. Performance numbers showed that it may be possible to collapse them, but we don't have the time right now to do this. We will revisit this later on, time permitting.

 

 

QE notes: Jody and Brian have been helping out coordinate this change

Doc notes: I updated some ASDoc examples, but more work needs to be done here

Bugs: -

Reviewer: Gordon

Tests run: checkintests, Jody and Brian have been running tests

Is noteworthy for integration: Yes

 

Modified Paths:

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

    flex/sdk/trunk/development/eclipse/flex/sparkTest/src/SkinTest.mxml

    flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/ Window.as

    flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/ WindowedApplication.as

    flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/ windowClasses/TitleBar.as

    flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark /SparkChromeWindowedApplicationSkin.mxml

    flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark /WindowedApplicationSkin.mxml

    flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark /windowChrome/MacTitleBarSkin.mxml

    flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark /windowChrome/TitleBarSkin.mxml

    flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIM ovieClip.as

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

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

    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProto Chain.as

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/ButtonBarExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/CheckBoxExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/DataGroupVirtualizationExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/DropDownListExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/GroupExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/HSliderExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/ListExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/NumericStepperExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/PanelExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/ToggleButtonExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/VSliderExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/ex amples/AnimateColorEffectExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/ex amples/AnimateTransitionShaderExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/ex amples/CrossFadeExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/ex amples/WipeExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/styles/exa mples/DescendantSelectorExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/styles/exa mples/IDSelectorExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/styles/exa mples/PseudoSelectorExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/styles/exa mples/TypeClassSelectorExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDow nList.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.a s

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.a s

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextAre a.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInp ut.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPl ayer.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaCl asses/VolumeBar.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/support Classes/ButtonBase.as

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

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/support Classes/SkinnableTextBase.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/core/CSSTextLayout Format.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/Button BarFirstButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/Button BarLastButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/Button BarMiddleButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/Button Skin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/CheckB oxSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/Defaul tButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/Defaul tItemRenderer.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDo wnListSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/HSlide rSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelS kin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/RadioB uttonSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/Toggle ButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VSlide rSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoP layerSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/mediaC lasses/fullScreen/ScrubBarSkin.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/mediaC lasses/normal/ScrubBarSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/ButtonBarFirstButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/ButtonBarLastButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/ButtonBarMiddleButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/ButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/CheckBoxSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/DefaultButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/DropDownListSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/PanelSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/RadioButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/ToggleButtonSkin.mxml

    flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wirefram e/VideoPlayerSkin.mxml

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

    flex/sdk/trunk/frameworks/tests/basicTests/halo/views/AccordionTests. mxml

    flex/sdk/trunk/frameworks/tests/basicTests/halo/views/TabNavigatorTes ts.mxml

    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompil er.java

    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2S WFTranscoder.java

    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/Sta ndardDefs.java

    flex/sdk/trunk/mustella/mustella.swc

 

Added Paths:

***********

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/LabelExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/RichEditableTextExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components /examples/RichTextExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.a s

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.p ng

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEdi tableText.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEdi tableText.png

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichTex t.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichTex t.png

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/support Classes/RichEditableTextContainerManager.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/support Classes/RichEditableTextEditManager.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/support Classes/TextBase.as

 

Removed Paths:

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

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives /examples/RichEditableTextExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives /examples/RichTextExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives /examples/SimpleTextExample.mxml

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEdi tableText.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEdi tableText.png

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichTex t.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichTex t.png

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleT ext.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleT ext.png

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/support Classes/RichEditableTextContainerManager.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/support Classes/RichEditableTextEditManager.as

    flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/support Classes/TextGraphicElement.as

 

More Like This

  • Retrieving data ...

Bookmarked By (0)