Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1290678 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/printing/PrintOLAPDataGrid.as
+++ frameworks/projects/advancedgrids/src/mx/printing/PrintOLAPDataGrid.as
@@ -0,0 +1,821 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.printing
+{
+
+import flash.events.KeyboardEvent;
+
+import mx.collections.CursorBookmark;
+import mx.controls.OLAPDataGrid;
+import mx.core.EdgeMetrics;
+import mx.core.ScrollPolicy;
+import mx.core.mx_internal;
+import mx.olap.IOLAPResult;
+import mx.olap.IOLAPResultAxis;
+import mx.olap.OLAPQuery;
+
+use namespace mx_internal;
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+//--------------------------------------
+//  public properties
+//--------------------------------------
+
+[Exclude(name="allowDragSelection", kind="property")]
+[Exclude(name="allowMultipleSelection", kind="property")]
+[Exclude(name="columns", kind="property")]
+[Exclude(name="columnWidth", kind="property")]
+[Exclude(name="displayDisclosureIcon", kind="property")]
+[Exclude(name="displayItemsExpanded", kind="property")]
+[Exclude(name="dataTipField", kind="property")]
+[Exclude(name="dataTipFunction", kind="property")]
+[Exclude(name="doubleClickEnabled", kind="property")]
+[Exclude(name="dragEnabled", kind="property")]
+[Exclude(name="draggableColumns", kind="property")]
+[Exclude(name="dragMoveEnabled", kind="property")]
+[Exclude(name="dropEnabled", kind="property")]
+[Exclude(name="dropTarget", kind="property")]
+[Exclude(name="editable", kind="property")]
+[Exclude(name="editedItemPosition", kind="property")]
+[Exclude(name="editedItemRenderer", kind="property")]
+[Exclude(name="groupedColumns", kind="property")]
+[Exclude(name="groupIconFunction", kind="property")]
+[Exclude(name="groupLabelFunction", kind="property")]
+[Exclude(name="hierarchicalCollectionView", kind="property")]
+[Exclude(name="horizontalScrollBar", kind="property")]
+[Exclude(name="horizontalScrollPolicy", kind="property")]
+[Exclude(name="itemEditorInstance", kind="property")]
+[Exclude(name="itemIcons", kind="property")]
+[Exclude(name="labelFunction", kind="property")]
+[Exclude(name="lockedColumnCount", kind="property")]
+[Exclude(name="lookAheadDuration", kind="property")]
+[Exclude(name="maxHorizontalScrollPosition", kind="property")]
+[Exclude(name="maxVerticalScrollPosition", kind="property")]
+[Exclude(name="rendererProviders", kind="property")]
+[Exclude(name="showHeaders", kind="property")]
+[Exclude(name="scrollTipFunction", kind="property")]
+[Exclude(name="selectable", kind="property")]
+[Exclude(name="selectedIndex", kind="property")]
+[Exclude(name="selectedIndices", kind="property")]
+[Exclude(name="selectedItem", kind="property")]
+[Exclude(name="selectedItems", kind="property")]
+[Exclude(name="showScrollTips", kind="property")]
+[Exclude(name="sortableColumns", kind="property")]
+[Exclude(name="sortExpertMode", kind="property")]
+[Exclude(name="sortItemRenderer", kind="property")]
+[Exclude(name="toolTip", kind="property")]
+[Exclude(name="useHandCursor", kind="property")]
+[Exclude(name="verticalScrollBar", kind="property")]
+[Exclude(name="verticalScrollPolicy", kind="property")]
+
+//--------------------------------------
+//  protected properties
+//--------------------------------------
+
+[Exclude(name="anchorBookmark", kind="property")]
+[Exclude(name="anchorIndex", kind="property")]
+[Exclude(name="caretBookmark", kind="property")]
+[Exclude(name="caretIndex", kind="property")]
+[Exclude(name="caretIndicator", kind="property")]
+[Exclude(name="caretItemRenderer", kind="property")]
+[Exclude(name="caretUID", kind="property")]
+[Exclude(name="dragImage", kind="property")]
+[Exclude(name="dragImageOffsets", kind="property")]
+[Exclude(name="highlightIndicator", kind="property")]
+[Exclude(name="highlightUID", kind="property")]
+[Exclude(name="keySelectionPending", kind="property")]
+[Exclude(name="lastDropIndex", kind="property")]
+[Exclude(name="selectionLayer", kind="property")]
+[Exclude(name="selectionTweens", kind="property")]
+[Exclude(name="showCaret", kind="property")]
+
+//--------------------------------------
+//  public methods
+//--------------------------------------
+
+[Exclude(name="calculateDropIndex", kind="method")]
+[Exclude(name="createItemEditor", kind="method")]
+[Exclude(name="destroyItemEditor", kind="method")]
+[Exclude(name="effectFinished", kind="method")]
+[Exclude(name="effectStarted", kind="method")]
+[Exclude(name="endEffectStarted", kind="method")]
+[Exclude(name="hideDropFeedback", kind="method")]
+[Exclude(name="isItemHighlighted", kind="method")]
+[Exclude(name="isItemSelected", kind="method")]
+[Exclude(name="showDropFeedback", kind="method")]
+[Exclude(name="startDrag", kind="method")]
+
+//--------------------------------------
+//  protected methods
+//--------------------------------------
+
+[Exclude(name="dragCompleteHandler", kind="method")]
+[Exclude(name="dragDropHandler", kind="method")]
+[Exclude(name="dragEnterHandler", kind="method")]
+[Exclude(name="dragExitHandler", kind="method")]
+[Exclude(name="dragOverHandler", kind="method")]
+[Exclude(name="dragScroll", kind="method")]
+[Exclude(name="drawCaretIndicator", kind="method")]
+[Exclude(name="drawHighlightIndicator", kind="method")]
+[Exclude(name="drawSelectionIndicator", kind="method")]
+[Exclude(name="mouseClickHandler", kind="method")]
+[Exclude(name="mouseDoubleClickHandler", kind="method")]
+[Exclude(name="mouseDownHandler", kind="method")]
+[Exclude(name="mouseEventToItemRenderer", kind="method")]
+[Exclude(name="mouseMoveHandler", kind="method")]
+[Exclude(name="mouseOutHandler", kind="method")]
+[Exclude(name="mouseOverHandler", kind="method")]
+[Exclude(name="mouseUpHandler", kind="method")]
+[Exclude(name="mouseWheelHandler", kind="method")]
+[Exclude(name="moveSelectionHorizontally", kind="method")]
+[Exclude(name="moveSelectionVertically", kind="method")]
+[Exclude(name="placeSortArrow", kind="method")]
+[Exclude(name="removeIndicators", kind="method")]
+[Exclude(name="selectItem", kind="method")]
+[Exclude(name="setScrollBarProperties", kind="method")]
+[Exclude(name="expandItemHandler", kind="method")]
+
+//--------------------------------------
+//  events
+//--------------------------------------
+
+[Exclude(name="click", kind="event")]
+[Exclude(name="doubleClick", kind="event")]
+[Exclude(name="dragComplete", kind="event")]
+[Exclude(name="dragDrop", kind="event")]
+[Exclude(name="dragEnter", kind="event")]
+[Exclude(name="dragExit", kind="event")]
+[Exclude(name="dragOver", kind="event")]
+[Exclude(name="effectEnd", kind="event")]
+[Exclude(name="effectStart", kind="event")]
+[Exclude(name="headerRelease", kind="event")]
+[Exclude(name="itemClick", kind="event")]
+[Exclude(name="itemDoubleClick", kind="event")]
+[Exclude(name="itemEditBegin", kind="event")]
+[Exclude(name="itemEditBeginning", kind="event")]
+[Exclude(name="itemEditEnd", kind="event")]
+[Exclude(name="itemFocusIn", kind="event")]
+[Exclude(name="itemFocusOut", kind="event")]
+[Exclude(name="itemRollOut", kind="event")]
+[Exclude(name="itemRollOver", kind="event")]
+[Exclude(name="keyDown", kind="event")]
+[Exclude(name="keyUp", kind="event")]
+[Exclude(name="mouseDown", kind="event")]
+[Exclude(name="mouseDownOutside", kind="event")]
+[Exclude(name="mouseFocusChange", kind="event")]
+[Exclude(name="mouseMove", kind="event")]
+[Exclude(name="mouseOut", kind="event")]
+[Exclude(name="mouseOver", kind="event")]
+[Exclude(name="mouseUp", kind="event")]
+[Exclude(name="mouseWheel", kind="event")]
+[Exclude(name="mouseWheelOutside", kind="event")]
+[Exclude(name="rollOut", kind="event")]
+[Exclude(name="rollOver", kind="event")]
+[Exclude(name="toolTipCreate", kind="event")]
+[Exclude(name="toolTipEnd", kind="event")]
+[Exclude(name="toolTipHide", kind="event")]
+[Exclude(name="toolTipShow", kind="event")]
+[Exclude(name="toolTipShown", kind="event")]
+[Exclude(name="toolTipStart", kind="event")]
+
+//--------------------------------------
+//  styles
+//--------------------------------------
+
+[Exclude(name="columnDropIndicatorSkin", kind="style")]
+[Exclude(name="columnResizeSkin", kind="style")]
+[Exclude(name="dropIndicatorSkin", kind="style")]
+[Exclude(name="headerDragProxyStyleName", kind="style")]
+[Exclude(name="horizontalScrollBarStyleName", kind="style")]
+[Exclude(name="rollOverColor", kind="style")]
+[Exclude(name="selectionColor", kind="style")]
+[Exclude(name="selectionDisabledColor", kind="style")]
+[Exclude(name="selectionDuration", kind="style")]
+[Exclude(name="selectionEasingFunction", kind="style")]
+[Exclude(name="strechCursor", kind="style")]
+[Exclude(name="textRollOverColor", kind="style")]
+[Exclude(name="textSelectedColor", kind="style")]
+[Exclude(name="useRollOver", kind="style")]
+[Exclude(name="verticalScrollBarStyleName", kind="style")]
+
+//--------------------------------------
+//  effects
+//--------------------------------------
+
+[Exclude(name="addedEffect", kind="effect")]
+[Exclude(name="creationCompleteEffect", kind="effect")]
+[Exclude(name="focusInEffect", kind="effect")]
+[Exclude(name="focusOutEffect", kind="effect")]
+[Exclude(name="hideEffect", kind="effect")]
+[Exclude(name="mouseDownEffect", kind="effect")]
+[Exclude(name="mouseUpEffect", kind="effect")]
+
+[Exclude(name="moveEffect", kind="effect")]
+[Exclude(name="removedEffect", kind="effect")]
+[Exclude(name="resizeEffect", kind="effect")]
+[Exclude(name="rollOutEffect", kind="effect")]
+[Exclude(name="rollOverEffect", kind="effect")]
+[Exclude(name="showEffect", kind="effect")]
+
+/**
+ *  The PrintOLAPDataGrid control is an OLAPDataGrid subclass that is styled
+ *  to show a table with line borders and is optimized for printing.
+ *  It can automatically size to properly fit its container, and removes
+ *  any partially displayed rows.
+ *
+ *  @mxml
+ *
+ *
The <mx:PrintOLAPDataGrid> tag inherits the tag attributes
+ *  of its superclass; however, you do not use the properties, styles, events,
+ *  and effects (or methods) associated with user interaction.
+ *  The <mx:PrintOLAPDataGrid> tag adds the following tag attribute:
+ *

+ *

+ *  <mx:PrintOLAPDataGrid
+ *    Properties
+ *    allowInteraction="true|false"
+ *    sizeToPage="true|false"
+ *    source="null"
+ *  >
+ *  ...
+ *  </mx:PrintOLAPDataGrid>
+ *

+ *
+ *  @see mx.printing.FlexPrintJob
+ *  @see mx.printing.PrintDataGrid
+ *  @see mx.printing.PrintAdvancedDataGrid
+ *  @see mx.controls.OLAPDataGrid
+ *
+ *  @includeExample examples/OLAPPrintDataGridExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class PrintOLAPDataGrid extends OLAPDataGrid
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *
Constructs a PrintOLAPDataGrid control with no scroll bars, user interactivity,
+     *  column sorting, resizing, drag scrolling, selection, or keyboard
+     *  interaction.
+     *  The default height is 100% of the container height, or the height
+     *  required to display all the data provider rows, whichever is smaller.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function PrintOLAPDataGrid()
+    {
+        super();
+
+        horizontalScrollPolicy = ScrollPolicy.OFF;
+        verticalScrollPolicy = ScrollPolicy.OFF;
+        sortableColumns = false;
+        selectable = false;
+        // to disable dragScrolling
+        dragEnabled = true;
+        resizableColumns = false;
+        mouseChildren = false;
+        super.percentHeight = 100;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Previous Page row count.
+     */
+    private var previousPageRowCount:int = 0;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  height
+    //----------------------------------
+
+    [Bindable("heightChanged")]
+    [Inspectable(category="General")]
+    [PercentProxy("percentHeight")]
+
+    /**
+     *  @private
+     *  Getter needs to be overridden if setter is overridden.
+     */
+    override public function get height():Number
+    {
+        return super.height;
+    }
+
+    /**
+     *  @private
+     *  Height setter needs to be overridden to update _originalHeight.
+     */
+    override public function set height(value:Number):void
+    {
+        _originalHeight = value;
+        if (!isNaN(percentHeight))
+        {
+            super.percentHeight = NaN;
+            measure();
+            value = measuredHeight;
+        }
+
+        super.height = value;
+
+        invalidateDisplayList();
+
+        if (sizeToPage && !isNaN(explicitHeight))
+            explicitHeight = NaN;
+    }
+
+    //----------------------------------
+    //  percentHeight
+    //----------------------------------
+
+    [Bindable("resize")]
+    [Inspectable(category="Size", defaultValue="NaN")]
+    /**
+     *  @private
+     *  Getter needs to be overridden if setter is overridden.
+     */
+    override public function get percentHeight():Number
+    {
+        return super.percentHeight;
+    }
+
+    /**
+     *  @private
+     *  percentHeight setter needs to be overridden to update _originalHeight.
+     */
+    override public function set percentHeight(value:Number):void
+    {
+        _originalHeight = NaN;
+        super.percentHeight = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  allowInteraction
+    //----------------------------------
+
+    /**
+     *  Storage for the allowInteraction property.
+     *  @private
+     */
+    private var _allowInteraction:Boolean;
+
+    /**
+     *  If true, allows some interactions with the control,
+     *  such as column resizing.
+     *
+     *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get allowInteraction():Boolean
+    {
+        return _allowInteraction;
+    }
+
+    public function set allowInteraction(value:Boolean):void
+    {
+        _allowInteraction = value;
+        if(value)
+        {
+            mouseChildren = true;
+            resizableColumns = true;
+        }
+        else
+        {
+            mouseChildren = false;
+            resizableColumns = false;
+        }
+    }
+
+    //----------------------------------
+    //  currentPageHeight
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the currentPageHeight property.
+     */
+    private var _currentPageHeight:Number;
+
+    /**
+     *  The height that the PrintOLAPDataGrid would be if the sizeToPage
+     *  property is true, meaning that the PrintOLAPDataGrid displays only completely
+     *  viewable rows and displays no partial rows.
+     *  If the sizeToPage property
+     *  is false, the value of this property equals
+     *  the height property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get currentPageHeight():Number
+    {
+        return _currentPageHeight;
+    }
+
+    //----------------------------------
+    //  originalHeight
+    //----------------------------------
+
+    /**
+     *  Storage for the originalHeight property.
+     *  @private
+     */
+    private var _originalHeight:Number;
+
+    /**
+     *  The height of the PrintOLAPDataGrid as set by the user.
+     *  If the sizeToPage property is false,
+     *  the value of this property equals the height property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get originalHeight():Number
+    {
+        return _originalHeight;
+    }
+
+    //----------------------------------
+    //  sizeToPage
+    //----------------------------------
+
+    /**
+     *  If true, the PrintOLAPDataGrid readjusts its height to display
+     *  only completely viewable rows.
+     *
+     *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var sizeToPage:Boolean = true;
+
+    //----------------------------------
+    //  source
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Source ADG.
+     */
+    private var _source:OLAPDataGrid;
+
+    /**
+     *  Initializes the PrintOLAPDataGrid control and all of its properties
+     *  from the specified OLAPDataGrid control.
+     *
+     *
Note: The width and height of the PrintOLAPDataGrid control
+     *  are not taken from the source OLAPDataGrid control.
+     *  Changes to the source OLAPDataGrid control are not automatically reflected
+     *  in the PrintOLAPDataGrid instance.
+     *  Therefore, you must reset the source property after changing
+     *  the source OLAPDataGrid control.

+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get source():OLAPDataGrid
+    {
+        return _source;
+    }
+
+    /**
+     *  @private
+     */
+    public function set source(value:OLAPDataGrid):void
+    {
+        this.dataProvider = value.dataProvider; // set the dataProvider
+
+        this.itemRenderer = value.itemRenderer; // set the itemRenderer
+        this.headerRenderer = value.headerRenderer; // set the headerRenderer
+        this.groupItemRenderer = value.groupItemRenderer; // set the groupItemRenderer
+
+        this.lockedRowCount = value.lockedRowCount; // set lockedRowCount
+
+        this.wordWrap = value.wordWrap; // set wordWrap
+        this.variableRowHeight = value.variableRowHeight; // set variableRowHeight
+
+        this.defaultCellString = value.defaultCellString; // set the defaultCellString
+        this.headerRendererProviders = value.headerRendererProviders; // set the headerRendererProviders
+        this.itemRendererProviders = value.itemRendererProviders; // set the itemRendererProviders
+
+        this.setStyle("columnAxisHeaderStyleName",value.getStyle("columnAxisHeaderStyleName")); // style
+        this.setStyle("rowAxisHeaderStyleName",value.getStyle("rowAxisHeaderStyleName")); // style
+
+        itemsSizeChanged = true;
+
+        // invalidate everything
+        invalidateProperties();
+        invalidateSize();
+        invalidateDisplayList();
+
+    }
+
+    //----------------------------------
+    //  validNextPage
+    //----------------------------------
+
+    /**
+     *  Indicates that the data provider contains additional data rows that follow
+     *  the rows that the PrintOLAPDataGrid control currently displays.
+     *
+     *  @return A Boolean value of true if a set of rows is
+     *  available else false</false>.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get validNextPage():Boolean
+    {
+        var vPos:int = verticalScrollPosition + rowCount ;
+
+        return dataProvider && vPos < getLength() ? true : false;
+    }
+
+    //----------------------------------
+    //  validPreviousPage
+    //----------------------------------
+
+    /**
+     *  Indicates that the data provider contains data rows that precede
+     *  the rows that the PrintOLAPDataGrid control currently displays.
+     *
+     *  @return A Boolean value of true if a set of rows is
+     *  available else false</false>.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get validPreviousPage():Boolean
+    {
+        var vPos:int = verticalScrollPosition - previousPageRowCount ;
+
+        return dataProvider && vPos >= 0 ? true : false;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: UIComponent
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Sets the default number of display rows to dataProvider.length.
+     */
+    override protected function measure():void
+    {
+        var oldRowCount:uint = rowCount;
+
+        var count:uint;
+
+        count = (dataProvider) ? getLength() : 0;
+
+        // Headers should show even if there is no dataProvider
+        if (count == 0 && headerVisible)
+        	count++;
+
+        if (count >= verticalScrollPosition)
+            count -= verticalScrollPosition;
+        else
+            count = 0;
+
+        setRowCount(count);
+
+        // need to calculate rowCount before super()
+        super.measure();
+        measureHeight();
+
+        if (isNaN(_originalHeight))
+            _originalHeight = measuredHeight;
+        _currentPageHeight = measuredHeight;
+
+        if (!sizeToPage)
+        {
+            setRowCount(oldRowCount);
+            super.measure();
+        }
+    }
+
+    /**
+     *  @private
+     *  setActualSize() is overridden to update _originalHeight.
+     */
+    override public function setActualSize(w:Number, h:Number):void
+    {
+        if (!isNaN(percentHeight))
+        {
+            _originalHeight = h;
+            super.percentHeight = NaN;
+            measure();
+            h = measuredHeight;
+        }
+
+        super.setActualSize(w, h);
+
+        invalidateDisplayList();
+
+        if (sizeToPage && !isNaN(explicitHeight))
+            explicitHeight = NaN;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: ListBase
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Overridden configureScrollBars to disable autoScrollUp.
+     */
+    override protected function configureScrollBars():void
+    {
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Puts the next set of data rows in view;
+     *  that is, it sets the PrintOLAPDataGrid verticalScrollPosition
+     *  property to equal verticalScrollPosition + (number of scrollable rows).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function nextPage():void
+    {
+        previousPageRowCount = rowCount - lockedRowCount;
+
+        if (verticalScrollPosition < getLength())
+        {
+            verticalScrollPosition += rowCount - lockedRowCount;
+            // this can be avoided - look into it again
+            itemsSizeChanged = true;
+            invalidateSize();
+            invalidateDisplayList();
+        }
+    }
+
+    /**
+     *  Puts the previous set of data rows in view;
+     *  that is, it sets the PrintOLAPDataGrid verticalScrollPosition
+     *  property to equal verticalScrollPosition - (number of rows in the previous page).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function previousPage():void
+    {
+        if (verticalScrollPosition > 0)
+        {
+            verticalScrollPosition = Math.max(0, (verticalScrollPosition - previousPageRowCount));
+
+            invalidateSize();
+            invalidateDisplayList();
+        }
+    }
+
+    /**
+     *  @private
+     *  ListBase.measure() does'nt calculate measuredHeight in required way
+     *  so have to add the code here.
+     */
+    private function measureHeight():void
+    {
+        if( dataProvider && getLength() > 0
+            && (verticalScrollPosition >= getLength()))
+        {
+            setRowCount(0);
+            measuredHeight = 0;
+            measuredMinHeight = 0;
+            return;
+        }
+
+        var o:EdgeMetrics = viewMetrics;
+        var rc:int = (explicitRowCount < 1) ? rowCount : explicitRowCount;
+
+        var maxHeight:Number = isNaN(_originalHeight) ? -1
+                                : _originalHeight - o.top - o.bottom;
+
+        measuredHeight = measureHeightOfItemsUptoMaxHeight(
+            -1, rc, maxHeight) + o.top + o.bottom;
+
+        measuredMinHeight = measureHeightOfItemsUptoMaxHeight(
+            -1, Math.min(rc, 2), maxHeight) + o.top + o.bottom;
+    }
+
+    /**
+     *  Moves to the first page of the PrintOLAPDataGrid control,
+     *  which corresponds to the first set of visible rows.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function moveToFirstPage():void
+    {
+        // move the iterator to the first position
+        // this is done because when nextPage() is called without
+        // checking for validNextPage(), listItems becomes empty after the last page
+        // and the iterator is not seeked to the desired position.
+        iterator.seek(CursorBookmark.FIRST);
+        verticalScrollPosition = 0;
+
+        invalidateSize();
+        invalidateDisplayList();
+    }
+
+    private function getLength():int
+    {
+    	var result:IOLAPResult = dataProvider as IOLAPResult;
+    	var rowAxis:IOLAPResultAxis = result.getAxis(OLAPQuery.ROW_AXIS);
+
+    	return rowAxis.positions.length;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden event handlers: UIComponent
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Overridden keyDown to disable keyboard functionality.
+     */
+    override protected function keyDownHandler(event:KeyboardEvent):void
+    {
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1253052 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/charts/chartClasses/IChartElement.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/IChartElement.as
@@ -0,0 +1,249 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.charts.chartClasses
+{
+
+import flash.display.Sprite;
+import flash.geom.Rectangle;
+import mx.core.IFlexDisplayObject;
+
+/**
+ *  IChartElement defines the base set of properties and methods
+ *  required by a UIComponent to be representable in the data space of a chart.
+ *  Any component assigned to the series, backgroundElements,
+ *  or annotationElements Arrays of a chart must implement this interface.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public interface IChartElement extends IFlexDisplayObject
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  chartDataProvider
+    //----------------------------------
+
+    /**
+     *  The data provider assigned to the enclosing chart.
+     *  Element types can choose to inherit the data provider
+     *  from the enclosing chart if necessary, or allow developers
+     *  to assign data providers specifically to the element.
+     *  Not all elements are necessarily driven by a data provider.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function set chartDataProvider(value:Object):void;
+
+    //----------------------------------
+    //  dataTransform
+    //----------------------------------
+
+    /**
+     *  The DataTransform object that the element uses
+     *  to map between data and screen coordinates.
+     *  This property is assigned by the enclosing chart.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function set dataTransform(value:DataTransform):void;
+
+    //----------------------------------
+    //  labelContainer
+    //----------------------------------
+
+    /**
+     *  The DisplayObject that displays labels rendered by this element.
+     *  In most cases, labels displayed in the data area of a chart
+     *  are rendered on top of all elements
+     *  rather than interleaved with the  data.
+     *  If an implementing Element has labels to display,
+     *  it can place them in a Sprite object
+     *  and return it as the value of the labelContainer property.
+     *  Enclosing charts will render labelContainers
+     *  from  all enclosed elements and place them
+     *  in the data area above all other elements.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get labelContainer():Sprite;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Called by the governing DataTransform to obtain a description
+     *  of the data represented by this IChartElement.
+     *  Implementors fill out and return an Array of
+     *  mx.charts.chartClasses.DataDescription objects
+     *  to guarantee that their data is correctly accounted for
+     *  by any axes that are autogenerating values
+     *  from the displayed data (such as minimum, maximum,
+     *  interval, and unitSize).
+     *  Most element types return an Array
+     *  containing a single DataDescription.
+     *  Aggregate elements, such as BarSet and ColumnSet,
+     *  might return multiple DataDescription instances
+     *  that describe the data displayed by their subelements.
+     *  When called, the implementor describes the data
+     *  along the axis indicated by the dimension argument.
+     *  This function might be called for each axis
+     *  supported by the containing chart.
+     *
+     *  @param dimension Determines the axis to get data descriptions of.
+     *
+     *  @param requiredFields A bitfield that indicates which values
+     *  of the DataDescription object the particular axis cares about.
+     *  Implementors can optimize by only calculating the necessary fields.
+     *
+     *  @return An Array containing the DataDescription instances that describe
+     *  the data that is displayed.
+     *
+     *  @see mx.charts.chartClasses.DataDescription
+     *  @see mx.charts.chartClasses.DataTransform
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function describeData(dimension:String, requiredFields:uint):Array /* of DataDescription */;
+
+    /**
+     *  Returns a HitData object describing the nearest data point
+     *  to the coordinates passed to the method.
+     *  The x and y arguments
+     *  should be values in the Element's coordinate system.
+     *  This method aheres to the limits specified by the
+     *  sensitivity2 parameter
+     *  when looking for nearby data points.
+     *
+     *  @param x The x coordinate relative to the ChartBase object.
+     *
+     *  @param y The y coordinate relative to the ChartBase object.
+     *
+     *  @param sensitivity2 The maximum distance from the data point that the
+     *  x/y coordinate location can be.
+     *
+     *  @return A HitData object describing the nearest data point
+     *  within sensitivity2 pixels.
+     *
+     *  @see mx.charts.HitData
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function findDataPoints(x:Number, y:Number,sensitivity2:Number):Array /* of HitData */;
+
+    /**
+     *  Indicates to the element that the data mapping
+     *  of the associated axes has changed.
+     *  Implementors should dispose of cached data
+     *  and re-render appropriately.
+     *  This function is called automatically
+     *  by the associated DataTransform when necessary.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function mappingChanged():void;
+
+    /**
+     *  Called by the enclosing chart to indicate that the current state
+     *  of the chart has changed.
+     *  Implementing elements should respond to this method
+     *  in order to synchronize changes to the data displayed by the element.
+     *
+     *  @param oldState An integer representing the previous state.
+     *
+     *  @param v An integer representing the new state.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function chartStateChanged(oldState:uint,v:uint):void;
+
+    /**
+     *  Called by the enclosing chart to collect any transitions
+     *  a particular element might play when the chart changes state.
+     *  The chart collects transitions from all elements
+     *  and ensures that they play in parallel.
+     *  It waits until all transitions have completed
+     *  before advancing to another state.
+     *  Implementors should append any necessary transitions
+     *  to the transitions Array parameter.
+     *
+     *  @param chartState The state at which the chart plays
+     *  the new transitions.
+     *
+     *  @param transitions An Array of transition to add
+     *  to the chart's list of transitions to play.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function collectTransitions(chartState:Number,transitions:Array /* of IEffectInstance */):void;
+
+    /**
+     *  Called by the chart to allow associated elements
+     *  to claim style selectors from its chartSeriesStyles Array.
+     *  Each chart has an associated set of selectors that are
+     *  implicitly assigned to contained elements that require them.
+     *  Implementing this function gives an element a chance to 'claim'
+     *  elements out of that set, as necessary.
+     *  An element that requires N style selectors claims the values
+     *  from styles[firstAvailable] to
+     *  styles[firstAvailable + N - 1].
+     *
+     *  @param styles An Array of styles to claim.
+     *
+     *  @param firstAvailable The first style selector in the Array to claim.
+     *
+     *  @return The new value for firstAvailable
+     *  after claiming any styles (for example,
+     *  firstAvailable + N).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function claimStyles(styles:Array /* of Object */,firstAvailable:uint):uint;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1258707 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/collections/ListCollectionView.as
+++ frameworks/projects/framework/src/mx/collections/ListCollectionView.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package mx.collections
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17444
Author:   clucier@adobe.com
Date:     2010-08-23T16:54:41.091790Z

Log Message:
-----------
We pass requestTimeout down to URLRequest.idleTimeout now if relevant (e.g. AIR 2.0).

QE notes: None
Doc notes: None
Bugs: SDK-22016
Reviewer: Paul, Peter
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1273601 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as
@@ -205,6 +205,11 @@
         var url:String = httpMsg.url;
         var params:String = null;

+        // Propagate our requestTimeout for those platforms
+        // supporting the idleTimeout property on URLRequest.
+        if ("idleTimeout" in result && requestTimeout > 0)
+            result["idleTimeout"] = requestTimeout * 1000;
+
         result.contentType = httpMsg.contentType;

         var contentTypeIsXML:Boolean =


Transferred from the Adobe Open Source Subversion Repository

Revision: 20684
Author:   rfrishbe@adobe.com
Date:     2011-03-08T19:14:07.872274Z

Log Message:
-----------
ASDoc changes: some cleanups and clarifying mobile vs. spark where appropriate

QE notes: -
Doc notes:
Bugs: SDK-29845
Reviewer: Carol F
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1286526 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
@@ -62,11 +62,7 @@
 include "../../styles/metadata/SelectionFormatTextStyles.as"

 /**
- *  The colors to use for the backgrounds of the items in the list.
- *  The value is an array of one or more colors.
- *  The backgrounds of the list items alternate among the colors in the array.
- *
- *  @default undefined
+ *  @copy spark.components.supportClasses.GroupBase#style:alternatingItemColors
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -76,16 +72,7 @@
 [Style(name="alternatingItemColors", type="Array", arrayType="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
- *  Color of the background of an item renderer when it is being pressed down
- *
- *
If downColor is set to undefined,
- *  downColor is not used.

- *
- *
The default value in the
- *  spark theme is undefined.  The default value in the
- *  mobile theme is 0xB2B2B2.

- *
- *  @default undefined
+ *  @copy spark.components.supportClasses.GroupBase#style:downColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10.1
@@ -95,7 +82,7 @@
 [Style(name="downColor", type="uint", format="Color", inherit="yes", theme="mobile")]

 /**
- *  Color of focus ring when the component is in focus
+ *  @copy spark.components.supportClasses.GroupBase#style:focusColor
  *
  *  @default 0x70B2EE
  *
@@ -107,9 +94,7 @@
 [Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
- *  Color of the highlights when the mouse is over the component
- *
- *
This style is only applicable in mouse interactionMode.

+ *  @copy spark.components.supportClasses.GroupBase#style:rollOverColor
  *
  *  @default 0xCEDBEF
  *
@@ -121,8 +106,7 @@
 [Style(name="rollOverColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
- *  Color of any symbol of a component. Examples include the check mark of a CheckBox or
- *  the arrow of a scroll button
+ *  @copy spark.components.supportClasses.GroupBase#style:symbolColor
  *
  *  @default 0x000000
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 10930
Author:   hmuller@adobe.com
Date:     2009-10-08T14:07:33.671833Z

Log Message:
-----------
Check for === pending items in the ASyncListView getItemIndex() override.

QE notes: none
Doc notes: none
Bugs: sdk-23611
Reviewer: Alex
Tests run: none
Is noteworthy for integration: no

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/AsyncListView.as

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1258624 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/collections/AsyncListView.as
+++ frameworks/projects/framework/src/mx/collections/AsyncListView.as
@@ -571,6 +571,9 @@
      */
     public function getItemIndex(item:Object):int
     {
+        for each (var responder:ListItemResponder in pendingResponders)
+            if (responder.item === item)
+                return responder.index;
         return (list) ? list.getItemIndex(item) : -1;
     }


FLEX-33231: Fixed per JIRA task description. This time committed in the develop branch.

git-svn-id: 7d913817b0a978d84de757191e4bce372605a781@1405412 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
@@ -796,7 +796,7 @@

         if (visibleFlag)
             showModalWindow(o, sm, false);
-        else
+        else if(popup)
             popup.visible = visibleFlag;

         if (hasEventListener("createdModalWindow"))
@@ -1443,9 +1443,9 @@
 				for (var i:int = 0; i < n; i++)
 				{
 					var o:PopUpData = popupInfo[i];
-					if (o && o != p && o.owner.accessibilityProperties)
+					if (o && o != p)
 					{
-						o.owner.accessibilityProperties.silent = true;
+						o.owner.accessibilityProperties.silent	= true;
 					}
 				}


Transferred from the Adobe Open Source Subversion Repository

Revision: 22579
Author:   smgilson@adobe.com
Date:     2011-09-15T19:08:04.587501Z

Log Message:
-----------
Add images for mobile components without running examples

QE notes:
Doc notes:
Bugs:
Reviewer:
Tests run: checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ToggleSwitch.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1264191 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.as
@@ -127,6 +127,12 @@
  *  displays the individual screens, or views, that make up the application.
  *  Users navigate the views of the application by using the touch screen,
  *  components built into the application, and the input controls of the mobile device.

+ *
+ *
The following images shows a View container with a List control:

+ *
+ *

+ *
+ *

  *
  *
Each view in an application corresponds to a View container defined
  *  in an ActionScript or MXML file.
@@ -235,7 +241,7 @@

             // Switch orientation states if needed
             if (_active)
-				updateOrientationState();
+                updateOrientationState();

             var eventName:String = _active ?
                 ViewNavigatorEvent.VIEW_ACTIVATE :
@@ -965,17 +971,17 @@
     private function application_resizeHandler(event:Event):void
     {
         if (isActive)
-			updateOrientationState();
-    }
-
-    /**
-	 *  @private
-	 */
-	mx_internal function updateOrientationState():void
-	{
-		setCurrentState(getCurrentViewState(), false);
-	}
-
+            updateOrientationState();
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function updateOrientationState():void
+    {
+        setCurrentState(getCurrentViewState(), false);
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Overridden methods: UIComponent


Transferred from the Adobe Open Source Subversion Repository

Revision: 10464
Author:   rfrishbe@adobe.com
Date:     2009-09-21T17:40:30.663638Z

Log Message:
-----------
Removing support in Flex framework for compatibility version < 3.  We won't support compatibility-version 2 or 2.01 anymore.  We only keep compatibility-version for one full release, so for Flex 4, we only support compatibility-version = 3.x.

This should reduce our code-size some as we no longer need this old code.  I didn't clean up the compiler's support for compatibility-versioning as it didn't seem worth the effort.

QE notes: -
Doc notes: -
Bugs: SDK-15360
Reviewer: Kevin
Tests run: checkintests, Joan ran all mustella tests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserYearArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuBarItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PanelSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/Flex.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1269012 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollBar.as
+++ frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollBar.as
@@ -21,7 +21,6 @@
 import flash.ui.Keyboard;
 import flash.utils.Timer;
 import mx.controls.Button;
-import mx.core.FlexVersion;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
@@ -1202,16 +1201,9 @@
         downArrow.validateSize();
         scrollTrack.validateSize();

-        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)
-        {
-            _minWidth = scrollThumb ? scrollThumb.getExplicitOrMeasuredWidth() : 0;
-            _minWidth = Math.max(scrollTrack.getExplicitOrMeasuredWidth(), upArrow.getExplicitOrMeasuredWidth(),
-                                 downArrow.getExplicitOrMeasuredWidth(), _minWidth);
-        }
-        else
-        {
-            _minWidth = upArrow.getExplicitOrMeasuredWidth();
-        }
+        _minWidth = scrollThumb ? scrollThumb.getExplicitOrMeasuredWidth() : 0;
+        _minWidth = Math.max(scrollTrack.getExplicitOrMeasuredWidth(), upArrow.getExplicitOrMeasuredWidth(),
+                             downArrow.getExplicitOrMeasuredWidth(), _minWidth);
         _minHeight = upArrow.getExplicitOrMeasuredHeight() +
                      downArrow.getExplicitOrMeasuredHeight();
     }
@@ -1243,29 +1235,17 @@

         upArrow.setActualSize(upArrow.getExplicitOrMeasuredWidth(),
                               upArrow.getExplicitOrMeasuredHeight());
-
-        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)
-            upArrow.move((virtualWidth - upArrow.width) / 2, 0);
-        else
-            upArrow.move(0,0);
+        upArrow.move((virtualWidth - upArrow.width) / 2, 0);

         scrollTrack.setActualSize(scrollTrack.getExplicitOrMeasuredWidth(), virtualHeight);

-        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)
-            scrollTrack.x = (virtualWidth - scrollTrack.width) / 2;
+        scrollTrack.x = (virtualWidth - scrollTrack.width) / 2;
         scrollTrack.y = 0;

         downArrow.setActualSize(downArrow.getExplicitOrMeasuredWidth(),
                                 downArrow.getExplicitOrMeasuredHeight());
-        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)
-        {
-            downArrow.move((virtualWidth - downArrow.width) / 2,
-                            virtualHeight - downArrow.getExplicitOrMeasuredHeight());
-        }
-        else
-        {
-            downArrow.move(0, virtualHeight - downArrow.getExplicitOrMeasuredHeight());
-        }
+        downArrow.move((virtualWidth - downArrow.width) / 2,
+                        virtualHeight - downArrow.getExplicitOrMeasuredHeight());

         setScrollProperties(pageSize, minScrollPosition,


Refactored state classes

Refactored state classes

git-svn-id: 27326a786375daad9d33dc990c6f272e4c8f567c@937 fda5f131-174c-0410-8613-e0905860106b

--- org.openwms/trunk/source/org.openwms.common.domain.as/src/main/flex/org/openwms/common/domain/TransportUnitType.as
+++ org.openwms/trunk/source/org.openwms.common.domain.as/src/main/flex/org/openwms/common/domain/TransportUnitType.as
@@ -38,7 +38,7 @@
             }
     	}

-        public function toString()
+        public function toString():String
         {
             return this._type;
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1260897 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/formatters/StringFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/StringFormatter.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2006 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package mx.formatters
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5331
Author:   dloverin@adobe.com
Date:     2009-03-16T20:29:20.872892Z

Log Message:
-----------
FxApplication related API changes.

1. Rename ApplicationGlobals.application -> FlexGlobals.topLevelApplication
2. Application.application will be deprecated. FlexGlobals.topLevelApplication will be the recommend alternative.
3. Application.application will return null if the top-level application is not of type Application or a subclass of Application.
4. Change the FxApplication.backgroundColor property from type Object to uint.

QE Notes: None
Doc Notes: None
Bugs: sdk-19677
Reviewer: Ryan
tests: checkintests, Application mustella tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ApplicationGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/checkinapp/ProductDetail.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ApplicationGlobals.as" copyfrom-rev="5314" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexGlobals.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1261431 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
@@ -28,8 +28,8 @@
 import flash.text.TextField;
 import flash.text.TextFieldType;
 import flash.ui.Mouse;
-import mx.core.ApplicationGlobals;
 import mx.core.EventPriority;
+import mx.core.FlexGlobals;
 import mx.core.FlexSprite;
 import mx.core.mx_internal;
 import mx.core.IUIComponent;
@@ -462,7 +462,7 @@
         if (systemManager)
         	item.systemManager = systemManager;
         else
-        	item.systemManager = ApplicationGlobals.application.systemManager;
+        	item.systemManager = FlexGlobals.topLevelApplication.systemManager;

         // Push it onto the cursor list.
         cursorList.push(item);


Transferred from the Adobe Open Source Subversion Repository

Revision: 2581
Author:   jimurphy@adobe.com
Date:     2008-07-23T13:59:58.831267Z

Log Message:
-----------
integrate:
vellum build 131
flash player build 551
-Gordons fix in frogger for the vellum API changes
  frameworks/projects/flex4/src/flex/component/TextView.as
  frameworks/projects/flex4/src/flex/graphics/TextGraphic.as
  frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextFlowComposer.as

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/player/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/text_importExport.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextFlowComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/text_model.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/win/FlashPlayer.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/mac/Flash Player.app.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/text_edit.swc</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1279996 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -1725,10 +1725,10 @@
     private function addListeners(textFlow:TextFlow):void
     {
         textFlow.addEventListener(
-            ModelChangeEvent.MODEL_CHANGE_EVENT, textFlow_modelChangeHandler);
+            ModelChangeEvent.MODEL_CHANGE, textFlow_modelChangeHandler);

         textFlow.selectionManager.addEventListener(
-            SelectionChangedEvent.SELECTION_CHANGED_EVENT,
+            SelectionChangedEvent.SELECTION_CHANGED,
             editManager_selectionChangeHandler);

         textFlow.selectionManager.addEventListener(


Transferred from the Adobe Open Source Subversion Repository

Revision: 7274
Author:   chaase@adobe.com
Date:     2009-05-26T17:35:32.210331Z

Log Message:
-----------
Fixed several feature-complete effects bugs, plus one ScrollBar bug.

QE Notes: None
Doc Notes: None
Bugs: sdk-21093, sdk-21130, sdk-21243, sdk-21128, sdk-20698, sdk-20125, sdk-21138
Reviewer: Jason
tests: checkintests mustella effects cyclone

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/AnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283903 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/animation/Animation.as
+++ frameworks/projects/spark/src/spark/effects/animation/Animation.as
@@ -794,6 +794,9 @@
                 case EffectEvent.EFFECT_END:
                     _animationTarget.animationEnd(this);
                     break;
+                case EffectEvent.EFFECT_STOP:
+                    _animationTarget.animationStop(this);
+                    break;
                 case EffectEvent.EFFECT_REPEAT:
                     _animationTarget.animationRepeat(this);
                     break;
@@ -883,8 +886,8 @@
             sendAnimationEvent(EffectEvent.EFFECT_END);
         }

-        // The rest of what we need to do is handled by the stop() function
-        stop();
+        // The rest of what we need to do is handled by stopAnimation()
+        stopAnimation();
     }

     private function addToDelayedAnimations(timeToDelay:Number):void
@@ -929,7 +932,7 @@
     public function play():void
     {
         // stop an already-playing animation first
-        stop();
+        stopAnimation();

         // Make sure the time values in our motion paths are reasonable
         // SimpleMotionPath objects may be set up with no time values, so
@@ -1112,15 +1115,13 @@
     }

     /**
-     *  Stops the animation, ending it without dispatching an event or calling
-     *  the end() method.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function stop():void
+     * @private
+     *
+     * Called by stop(), but also other places where we simply
+     * want to stop the animation without sending out the stop()
+     * event.
+     */
+    private function stopAnimation():void
     {
         removeFromDelayedAnimations();
         // If animation has been added, id >= 0
@@ -1133,6 +1134,22 @@
             _invertValues = false;
             _isPlaying = false;
         }
+    }
+    /**
+     *  Stops the animation, ending it without dispatching an
+     *  EFFECT_END event or calling the end() method.
+     *  The EFFECT_STOP event will be sent to the
+     *  animationTarget.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function stop():void
+    {
+        stopAnimation();
+        sendAnimationEvent(EffectEvent.EFFECT_STOP);
     }

     /**


fixed selection lasso display bug.

fixed selection lasso display bug.

Change-Id: Id85bab5f351fe7f3c7edb73786920589ad10f54e

--- WeaveUISpark/src/weave/visualization/layers/InteractiveVisualization.as
+++ WeaveUISpark/src/weave/visualization/layers/InteractiveVisualization.as
@@ -618,8 +618,9 @@
 			}
 			else if (Weave.properties.selectionMode.value == InteractionController.SELECTION_MODE_LASSO)
 			{
-				DrawUtils.drawDashedLine(g, _lassoScreenPoints, dashedLengths);
-				fillPolygon(g, lineColor, 0.05, _lassoScreenPoints);
+				var lassoPolygon:Array = _lassoScreenPoints.concat(_lassoScreenPoints[0]);
+				DrawUtils.drawDashedLine(g, lassoPolygon, dashedLengths);
+				fillPolygon(g, lineColor, 0.05, lassoPolygon);
 			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3512
Author:   jimurphy@adobe.com
Date:     2008-10-07T20:28:56.871176Z

Log Message:
-----------
rename flex4 mx.effects.easing to mx.effects.fxEasing to avoid a name conflict in the framework

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/EaseInOut.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/easing" copyfrom-rev="3509" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Sine.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/easing</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/CallAction.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283448 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/AnimateFilter.as
+++ frameworks/projects/spark/src/spark/effects/AnimateFilter.as
@@ -11,7 +11,7 @@
 package mx.effects
 {

-import mx.effects.easing.IEaser;
+import mx.effects.fxEasing.IEaser;
 import mx.effects.effectClasses.FxAnimateFilterInstance;

 import mx.core.mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1269809 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/skins/halo/HaloBorder.as
+++ frameworks/projects/mx/src/mx/skins/halo/HaloBorder.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 17448
Author:   hmuller@adobe.com
Date:     2010-08-23T20:43:00.984654Z

Log Message:
-----------
Default for DataGrid textFieldClass is now "mx.core.UIFTETextField".

DefaultGridItemRenderer/'set label' now calls invalidateDisplayList().

GridLayout should be more robust when faced with empty/null columns or dataProvider.

Changing Grid variableRowHeight flushes the layout cache.

QE notes: All expected test failures have been excluded.
Doc notes:
Bugs: SDK-27271
Reviewer: Kevin
Tests run: none
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ColumnHeaderBarLayout.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1278971 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -1952,6 +1952,8 @@

         _variableRowHeight = value;

+        clearGridLayoutCache(false);
+
         invalidateSize();
         invalidateDisplayList();
         dispatchChangeEvent("variableRowHeightChanged");


Transferred from the Adobe Open Source Subversion Repository

Revision: 4866
Author:   hmuller@adobe.com
Date:     2009-02-05T22:14:08.037552Z

Log Message:
-----------
Bug fixes, notably support for "canceling" keyboard events that drive scrolling.  Added mouse-wheel scrolling to FxScroller.

QE Notes:
Doc Notes: None
Bugs: sdk-19027, sdk-19028, sdk-18903, sdk-18673
Reviewer: Evtim, Alex

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1279556 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -13,6 +13,7 @@
 {
 import flash.events.KeyboardEvent;
 import flash.events.MouseEvent;
+import flash.geom.Point;
 import flash.ui.Keyboard;

 import mx.components.baseClasses.FxListBase;
@@ -21,7 +22,9 @@
 import mx.events.ItemExistenceChangedEvent;
 import mx.layout.HorizontalLayout;
 import mx.layout.VerticalLayout;
+import mx.managers.IFocusManagerComponent;
 import mx.skins.spark.FxDefaultItemRenderer;
+import flash.geom.Point;

 /**
  *  @copy mx.components.baseClasses.GroupBase#alternatingItemColors
@@ -64,7 +67,7 @@
  *
  *  @includeExample examples/FxListExample.mxml
  */
-public class FxList extends FxListBase
+public class FxList extends FxListBase implements IFocusManagerComponent
 {
     include "../core/Version.as";

@@ -87,8 +90,9 @@
     {
         super();

-        //Add a keyDown event listener so we can adjust
-        //selection accordingly.
+        // This listener handles the arrow keys.   It runs at capture time
+        // so that can cancel - Event.preventDefault() - events we've processed
+        // before they're seen by the skin's FxScroller
         addEventListener(KeyboardEvent.KEY_DOWN, list_keyDownHandler, true);
     }

@@ -463,83 +467,55 @@

     /**
      *  @private
+     *  If the layout element at the specified index isn't completely
+     *  visible, scroll this IViewport.
+     *
+     *  In the future, this method may animate the scroll.
+     */
+    private function ensureIndexIsVisible(index:int):void
+    {
+        if (!layout)
+            return;
+
+        var spDelta:Point = layout.getScrollPositionDelta(index);
+        if (spDelta)
+        {
+            horizontalScrollPosition += spDelta.x;
+            verticalScrollPosition += spDelta.y;
+        }
+    }
+
+
+    /**
+     *  @private
      *  Build in basic keyboard navigation support in List.
      *  TODO: Deepa - add overrideable methods to control
      *  keyboard navigation across components and layout.
      */
     private function list_keyDownHandler(event:KeyboardEvent):void
     {
-        var nextInView:Number;
-        switch (event.keyCode)
-        {
-            case Keyboard.UP:
+        super.keyDownHandler(event);
+        var delta:int = 0;
+
+        if (layout is VerticalLayout)
+            switch(event.keyCode)
             {
-                if (layout is VerticalLayout)
-                {
-                    nextInView = VerticalLayout(layout).inView(selectedIndex-1);
-                    //The next item is already in full or partial view - don't scroll, just select it.
-                    if ((nextInView == 1) || (nextInView < 0))
-                        event.stopPropagation();
-                    //The last item was selected and partially in view, don't increment selection
-                    if (nextInView == 0 && (VerticalLayout(layout).firstIndexInView == selectedIndex))
-                        return;
-                    //Adjust selection
-                    if (selectedIndex > 0)
-                        selectedIndex--;
-                }
-                break;
+                case Keyboard.UP: delta = -1; break;
+                case Keyboard.DOWN: delta = +1; break;
             }
-            case Keyboard.DOWN:
+        else if (layout is HorizontalLayout)
+            switch(event.keyCode)
             {
-                if (layout is VerticalLayout)
-                {
-                    nextInView = VerticalLayout(layout).inView(selectedIndex+1);
-                    //The next item is already in full or partial view - don't scroll
-                    if ((nextInView == 1) || (nextInView < 0))
-                        event.stopPropagation();
-                    //The last item was selected and partially in view, don't increment selection
-                    if (nextInView == 0 && (VerticalLayout(layout).lastIndexInView == selectedIndex))
-                        return;
-                    //Adjust selection
-                    if (selectedIndex < (dataProvider.length - 1))
-                        selectedIndex++;
-                }
-                break;
+                case Keyboard.LEFT: delta = -1; break;
+                case Keyboard.RIGHT: delta = +1; break;
             }
-            case Keyboard.LEFT:
-            {
-                if (layout is HorizontalLayout)
-                {
-                    nextInView = HorizontalLayout(layout).inView(selectedIndex-1);
-                    //The next item is already in full or partial view - don't scroll
-                    if ((nextInView == 1) || (nextInView < 0))
-                        event.stopPropagation();
-                    //The last item was selected and partially in view, don't increment selection
-                    if (nextInView == 0 && (HorizontalLayout(layout).firstIndexInView == selectedIndex))
-                        return;
-                    //Adjust selection
-                    if (selectedIndex > 0)
-                        selectedIndex--;
-                }
-                break;
-            }
-            case Keyboard.RIGHT:
-            {
-                if (layout is HorizontalLayout)
-                {
-                    nextInView = HorizontalLayout(layout).inView(selectedIndex+1);
-                    //The next item is already in full or partial view - don't scroll
-                    if ((nextInView == 1) || (nextInView < 0))
-                        event.stopPropagation();
-                    //The last item was selected and partially in view, don't increment selection
-                    if (nextInView == 0 && (HorizontalLayout(layout).lastIndexInView == selectedIndex))
-                        return;
-                    //Adjust selection
-                    if (selectedIndex < (dataProvider.length - 1))
-                        selectedIndex++;
-                }
-                break;
-            }
+
+        if (delta != 0)
+        {
+            event.preventDefault();
+            var maxSelectedIndex:int = dataProvider.length - 1;
+            selectedIndex = Math.min(Math.max(0, selectedIndex + delta), maxSelectedIndex);
+            ensureIndexIsVisible(selectedIndex);
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3703
Author:   pfarland@adobe.com
Date:     2008-10-17T13:49:24.719479Z

Log Message:
-----------
This change removes the temporary skin class dependencies from Link and TextArea and fixes pre-link's resolution of nested style dependencies. This change splits the compiler's PreLink phase into two parts – the first part deals with the main compilation unit (handling things like defaults.css styles and their dependencies) which we now do repeatedly until we find that no more dependencies are linked in (from nested skin/style/skin/style chains). The second part then codegens the main init and loader code – but we only do this after we've found all of those style dependencies (as we need the full list of mixins).

QA: Yes
Doc: No
Checkintests: Pass
Reviewer: Darrell
Bugs:
SDK-17222 - Gumbo TextArea control isnt bringing in the necessary ScrollBar skins

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CompcPreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PreLink.java</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1279541 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -40,9 +40,6 @@
 {
     include "../core/Version.as";

-    // Force a dependency on scroller to work around bug SDK-17222
-    private static var scrollerDep:FxScroller;
-
     //--------------------------------------------------------------------------
     //
     //  Constants


Transferred from the Adobe Open Source Subversion Repository

Revision: 14860
Author:   smgilson@adobe.com
Date:     2010-03-18T20:03:27.028666Z

Log Message:
-----------
Merge 14859

QE notes:
Doc notes:
Bugs: FLEXDOCS-1256
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1279671 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -77,7 +77,7 @@
 /**
  *  The color of the border for this component.
  *
- *   @default 0#CCCCCC
+ *   @default #696969
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 20845
Author:   mhorn@adobe.com
Date:     2011-03-14T15:29:23.391952Z

Log Message:
-----------
merge 20756,20790,20712,20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1252954 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as
@@ -836,12 +836,7 @@

     /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @private
      */
     override protected function commitProperties():void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18478
Author:   klin@adobe.com
Date:     2010-11-05T21:01:35.464312Z

Log Message:
-----------
Added columns IList collection change handling in GridColumnHeaderGroupLayout. GCHGL now preserve the visible sort indicators when columns are added, removed, or moved. Also, fixed a related bug in GridDimensions where handling the move event for columns was causing an RTE.

QE notes: No
Doc notes: No
Bugs: SDK-28375
Reviewer: Hans
Tests run: cyclone server, checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1279061 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
+++ frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
@@ -522,7 +522,7 @@
      *  Returns true if the sort indicator for the specified column
      *  is visible.
      *
-     *  This is just a more effient version of:
+     *  This is just a more efficient version of:
      *      visibleSortIndicatorIndices.indexOf(columnIndex) != -1
      *
      *  @langversion 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1248704 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPMember.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPMember.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.olap
 {