Transferred from the Adobe Open Source Subversion Repository

Revision: 6801
Author:   smgilson@adobe.com
Date:     2009-05-11T20:42:31.171280Z

Log Message:
-----------
ASDoc updates for AIR comps

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MinimizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacMinimizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MaximizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/RestoreButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacMaximizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/CloseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacCloseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/TitleBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacTitleBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/GripperSkin.mxml</path>

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

--- frameworks/projects/airspark/src/spark/components/Window.as
+++ frameworks/projects/airspark/src/spark/components/Window.as
@@ -63,7 +63,7 @@
  *  @eventType mx.events.AIREvent.APPLICATION_ACTIVATE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="applicationActivate", type="mx.events.AIREvent")]
@@ -74,7 +74,7 @@
  *  @eventType mx.events.AIREvent.APPLICATION_DEACTIVATE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="applicationDeactivate", type="mx.events.AIREvent")]
@@ -85,7 +85,7 @@
  *  @eventType mx.events.AIREvent.WINDOW_ACTIVATE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="windowActivate", type="mx.events.AIREvent")]
@@ -96,7 +96,7 @@
  *  @eventType mx.events.AIREvent.WINDOW_DEACTIVATE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="windowDeactivate", type="mx.events.AIREvent")]
@@ -109,7 +109,7 @@
  *  @see flash.display.NativeWindow
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="close", type="flash.events.Event")]
@@ -123,7 +123,7 @@
  *  @see flash.display.NativeWindow
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="closing", type="flash.events.Event")]
@@ -135,7 +135,7 @@
  *  @eventType flash.events.NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="displayStateChange", type="flash.events.NativeWindowDisplayStateEvent")]
@@ -147,7 +147,7 @@
  *  @eventType flash.events.NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="displayStateChanging", type="flash.events.NativeWindowDisplayStateEvent")]
@@ -159,7 +159,7 @@
  *  @eventType flash.events.NativeWindowBoundsEvent.MOVING
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="moving", type="flash.events.NativeWindowBoundsEvent")]
@@ -170,7 +170,7 @@
  *  @eventType flash.events.Event.NETWORK_CHANGE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="networkChange", type="flash.events.Event")]
@@ -182,7 +182,7 @@
  *  @eventType flash.events.NativeWindowBoundsEvent.RESIZING
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="resizing", type="flash.events.NativeWindowBoundsEvent")]
@@ -194,7 +194,7 @@
  *  @eventType mx.events.AIREvent.WINDOW_COMPLETE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="windowComplete", type="mx.events.AIREvent")]
@@ -205,7 +205,7 @@
  *  @eventType mx.events.FlexNativeWindowBoundsEvent.WINDOW_MOVE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="windowMove", type="mx.events.FlexNativeWindowBoundsEvent")]
@@ -216,7 +216,7 @@
  *  @eventType mx.events.FlexNativeWindowBoundsEvent.WINDOW_RESIZE
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Event(name="windowResize", type="mx.events.FlexNativeWindowBoundsEvent")]
@@ -229,7 +229,7 @@
  *  Played when the window is closed.
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Effect(name="closeEffect", event="windowClose")]
@@ -238,7 +238,7 @@
  *  Played when the component is minimized.
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Effect(name="minimizeEffect", event="windowMinimize")]
@@ -247,7 +247,7 @@
  *  Played when the component is unminimized.
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Effect(name="unminimizeEffect", event="windowUnminimize")]
@@ -293,7 +293,7 @@
  *  factoryClass.
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 [Frame(factoryClass="mx.managers.WindowedSystemManager")]
@@ -352,7 +352,6 @@
  *    alwaysInFront="false"
  *    backgroundColor="white"
  *    colorCorrection="default"
- *    height="100"
  *    maxHeight="10000"
  *    maximizable="true"
  *    maxWidth="10000"
@@ -381,13 +380,16 @@
  *    Events
  *    applicationActivate="No default"
  *    applicationDeactivate="No default"
+ *    close="No default"
  *    closing="No default"
  *    displayStateChange="No default"
  *    displayStateChanging="No default"
  *    moving="No default"
  *    networkChange="No default"
  *    resizing="No default"
+ *    windowActivate="No default"
  *    windowComplete="No default"
+ *    windowDeactivate="No default"
  *    windowMove="No default"
  *    windowResize="No default"
  *  />
@@ -397,7 +399,7 @@
  *
  *
  *  @langversion 3.0
- *  @playerversion AIR 1.1
+ *  @playerversion AIR 1.5
  *  @productversion Flex 3
  */
 public class Window extends SkinnableContainer implements IWindow
@@ -434,7 +436,7 @@
      *  @param component the component whose Window you wish to find.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public static function getWindow(component:UIComponent):IWindow
@@ -455,7 +457,7 @@
      *  Constructor.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function Window()
@@ -571,7 +573,7 @@
     //----------------------------------

     /**
-     *  A skin part that defines the gripper button used to resize the window.
+     *  The skin part that defines the gripper button used to resize the window.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -586,7 +588,7 @@
     //----------------------------------

     /**
-     *  The SkinPart that displays the status bar.
+     *  The skin part that defines the display of the status bar.
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
@@ -600,10 +602,10 @@
     //----------------------------------

     /**
-     *  A reference to the UITextField that displays the status bar's text.
-     *
-     *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  The skin part that defines the display of the status bar's text.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     [SkinPart (required="false")]
@@ -614,7 +616,7 @@
     //----------------------------------

     /**
-     *  The UIComponent that displays the title bar.
+     *  The skin part that defines the title bar.
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
@@ -701,7 +703,7 @@
      *  Specifies the maximum height of the application's window.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     override public function set maxHeight(value:Number):void
@@ -746,7 +748,7 @@
      *  Specifies the maximum width of the application's window.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     override public function set maxWidth(value:Number):void
@@ -779,7 +781,7 @@
      *  Specifies the minimum height of the application's window.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     override public function get minHeight():Number
@@ -824,7 +826,7 @@
      *  Specifies the minimum width of the application's window.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     override public function get minWidth():Number
@@ -867,7 +869,7 @@
      *  @default true
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     override public function get visible():Boolean
@@ -976,7 +978,7 @@
      *  @see flash.display.NativeWindow#alwaysInFront
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get alwaysInFront():Boolean
@@ -1014,7 +1016,6 @@
      *  @default 0xFFFFFF
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
@@ -1081,7 +1082,7 @@
      *  A flag indicating whether the window has been closed.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get closed():Boolean
@@ -1107,7 +1108,6 @@
     *  @default ColorCorrection.DEFAULT
     *
     *  @langversion 3.0
-    *  @playerversion Flash 10
     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
@@ -1156,7 +1156,7 @@
      *  has been opened.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get maximizable():Boolean
@@ -1194,7 +1194,7 @@
      *  Returns the cursor manager for this Window.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     override public function get cursorManager():ICursorManager
@@ -1222,7 +1222,7 @@
      *  in which case this property is ignored.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function set menu(value:FlexNativeMenu):void
@@ -1247,7 +1247,7 @@
      *  been opened.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get minimizable():Boolean
@@ -1276,7 +1276,7 @@
      *  The underlying NativeWindow that this Window component uses.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get nativeWindow():NativeWindow
@@ -1303,7 +1303,7 @@
      *  has been opened.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get resizable():Boolean
@@ -1367,7 +1367,7 @@
      *  @default true
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get showGripper():Boolean
@@ -1398,7 +1398,7 @@
      *  Storage for the showStatusBar property.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     private var _showStatusBar:Boolean = true;
@@ -1414,7 +1414,7 @@
      *  @default true
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get showStatusBar():Boolean
@@ -1445,7 +1445,7 @@
      *  Storage for the showTitleBar property.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     private var _showTitleBar:Boolean = true;
@@ -1461,7 +1461,7 @@
      *  @default true
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get showTitleBar():Boolean
@@ -1507,7 +1507,7 @@
      *  @default ""
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get status():String
@@ -1553,7 +1553,7 @@
      *  @see flash.display.NativeWindowInitOptions#systemChrome
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get systemChrome():String
@@ -1598,7 +1598,7 @@
      *  @default ""
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get title():String
@@ -1644,7 +1644,7 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get titleIcon():Class
@@ -1685,7 +1685,7 @@
      *
This property is read-only after the window has been opened.

      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get transparent():Boolean
@@ -1729,7 +1729,7 @@
      *  @see flash.display.NativeWindowInitOptions#type
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function get type():String
@@ -1795,8 +1795,8 @@
      */
     override protected function partRemoved(partName:String, instance:Object):void
     {
-    	super.partRemoved(partName, instance);
-
+        super.partRemoved(partName, instance);
+
         if (instance == gripper)
         {
             gripper.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
@@ -1819,8 +1819,8 @@
         height = _bounds.height;

         super.createChildren();
-	}
-
+    }
+

     /**
      *  @private
@@ -1954,7 +1954,7 @@
                 titleBar.includeInLayout = _showTitleBar;
             }

-			showTitleBarChanged = false;
+            showTitleBarChanged = false;
         }

         if (titleIconChanged)
@@ -2030,7 +2030,7 @@
      *  Closes the window. This action is cancelable.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function close():void
@@ -2065,7 +2065,7 @@
      *  Maximizes the window, or does nothing if it's already maximized.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function maximize():void
@@ -2092,7 +2092,7 @@
      *  Minimizes the window.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function minimize():void
@@ -2114,7 +2114,7 @@
      *  unminimizes it if it's minimized).
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function restore():void
@@ -2150,7 +2150,7 @@
      *  is not currently active).
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function activate():void
@@ -2167,7 +2167,7 @@
      *  is true.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function open(openWindowActive:Boolean = true):void
@@ -2185,11 +2185,11 @@
      *  @param window The IWindow (Window or WindowedAplication)
      *  to order this window behind.
      *
-     *  @return true if the window was succesfully sent behind;
+     *  @return true if the window was successfully sent behind;
      *          false if the window is invisible or minimized.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function orderInBackOf(window:IWindow):Boolean
@@ -2208,11 +2208,11 @@
      *  @param window The IWindow (Window or WindowedAplication)
      *  to order this window in front of.
      *
-     *  @return true if the window was succesfully sent in front;
+     *  @return true if the window was successfully sent in front;
      *          false if the window is invisible or minimized.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function orderInFrontOf(window:IWindow):Boolean
@@ -2226,11 +2226,11 @@
     /**
      *  Orders the window behind all others in the same application.
      *
-     *  @return true if the window was succesfully sent to the back;
+     *  @return true if the window was successfully sent to the back;
      *  false if the window is invisible or minimized.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function orderToBack():Boolean
@@ -2244,11 +2244,11 @@
     /**
      *  Orders the window in front of all others in the same application.
      *
-     *  @return true if the window was succesfully sent to the front;
+     *  @return true if the window was successfully sent to the front;
      *  false if the window is invisible or minimized.
      *
      *  @langversion 3.0
-     *  @playerversion AIR 1.1
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     public function orderToFront():Boolean
@@ -2275,7 +2275,6 @@
      *  @return A string specifying the name of the state to apply to the skin.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 12570
Author:   egeorgie@adobe.com
Date:     2009-12-05T00:37:35.278281Z

Log Message:
-----------
Fix http://bugs.adobe.com/jira/browse/SDK-23746 Side-effecting the x/y properties on a component and invalidating the properties causes parent display list invalidation and http://bugs.adobe.com/jira/browse/SDK-23986 make UIComponent.transformAround so it OPTIONALLY invalidates parent displayList

Problem: We are invalidating parent based on checks of x & y against oldX & oldY in validateProperties.
Fix: Move the checks to the x & y setters. Additionally add the optional parameter "invalidateLayout" to ILayoutElement.transformAround method.

QE notes: None
Doc notes: None
Bugs: SDK-2374, SDK-23986
Reviewer: Deepa
Tests run: checkintests, mustella gumbo/layout, gumbo/core/Group
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/ILayoutElement.as
+++ frameworks/projects/framework/src/mx/core/ILayoutElement.as
@@ -768,23 +768,26 @@
     function setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void;

     /**
-     * A utility method to update the rotation, scale, and translation of the
-     * transform while keeping a particular point, specified in the component's
-     * own coordinate space, fixed in the parent's coordinate space.
-     * This function will assign the rotation, scale, and translation values
-     * provided, then update the x/y/z properties as necessary to keep
-     * the transform center fixed.
-     * @param transformCenter the point, in the component's own coordinates,
-     * to keep fixed relative to its parent.
-     * @param scale the new values for the scale of the transform
-     * @param rotation the new values for the rotation of the transform
-     * @param translation the new values for the translation of the transform
-     * @param postLayoutScale the new values for the post-layout scale
-     * of the transform
-     * @param postLayoutRotation the new values for the post-layout rotation
-     * of the transform
-     * @param postLayoutTranslation the new values for the post-layout translation
-     * of the transform
+     *  A utility method to update the rotation, scale, and translation of the
+     *  transform while keeping a particular point, specified in the component's
+     *  own coordinate space, fixed in the parent's coordinate space.
+     *  This function will assign the rotation, scale, and translation values
+     *  provided, then update the x/y/z properties as necessary to keep
+     *  the transform center fixed.
+     *  @param transformCenter the point, in the component's own coordinates,
+     *  to keep fixed relative to its parent.
+     *  @param scale the new values for the scale of the transform
+     *  @param rotation the new values for the rotation of the transform
+     *  @param translation the new values for the translation of the transform
+     *  @param postLayoutScale the new values for the post-layout scale
+     *  of the transform
+     *  @param postLayoutRotation the new values for the post-layout rotation
+     *  of the transform
+     *  @param postLayoutTranslation the new values for the post-layout translation
+     *  of the transform
+     *  @param invalidateLayout
If true, the parent container size and display are
+     *  invalidated. Layouts calling this method pass false
+     *  so that a subsequent layout pass is not triggered.

      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -797,8 +800,8 @@
                                     translation:Vector3D = null,
                                     postLayoutScale:Vector3D = null,
                                     postLayoutRotation:Vector3D = null,
-                                    postLayoutTranslation:Vector3D = null):void;
-
+                                    postLayoutTranslation:Vector3D = null,
+                                    invalidateLayout:Boolean = true):void;
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 11376
Author:   gruehle@adobe.com
Date:     2009-11-02T19:39:44.080063Z

Log Message:
-----------
Remove external image support from BitmapImage and BitmapFill.

QE notes: none
Doc notes: ASDoc updated. Any other docs that mention loading external images in BitmapImage, BitmapFill, or Border need to be updated.
Bugs: none
Reviewer: Jason
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/BitmapFill.as
+++ frameworks/projects/framework/src/mx/graphics/BitmapFill.as
@@ -16,8 +16,6 @@
 import flash.display.BitmapData;
 import flash.display.DisplayObject;
 import flash.display.Graphics;
-import flash.display.Loader;
-import flash.display.LoaderInfo;
 import flash.events.Event;
 import flash.events.EventDispatcher;
 import flash.events.IOErrorEvent;
@@ -539,9 +537,6 @@
 	 *   and creates a bitmap rendering of it.

 	 *
An instance of a DisplayObject.
 	 *   The BitmapFill copies it into a Bitmap for filling.

-	 *
The name of a subclass of DisplayObject.
-	 *   The BitmapFill loads the class, instantiates it,
-	 *   and creates a bitmap rendering of it.

 	 *

 	 *
 	 *  @default null
@@ -574,10 +569,6 @@
 				var cls:Class = Class(value);
 				value = new cls();
 			}
-            else if (value is String)
-            {
-                loadExternal(value as String);
-            }

 			if (value is BitmapData)
 			{
@@ -994,100 +985,6 @@

         dispatchFillChangedEvent("bitmapData", null, null);
     }
-
-    /**
-     *  @private
-     */
-    private function validImageFile(url:String):Boolean
-    {
-        // We only accept .jpg, .jpeg, .gif, and .png files
-        // NOTE: This means queries that return images are not accepted: ie: myserver.com/fetch.php?image=12345
-        var exten:String = url.substr(Math.max(url.length - 5, 0), Math.min(url.length, 5)).toLowerCase();
-
-        if (exten.indexOf(".jpg") == -1 &&
-            exten.indexOf(".jpeg") == -1 &&
-            exten.indexOf(".gif") == -1 &&
-            exten.indexOf(".png") == -1)
-            return false;
-
-        return true;
-    }
-
-    /**
-     *  @private
-     */
-    private function loadExternal(url:String):void
-    {
-        if (!validImageFile(url))
-            return;
-
-        var loader:Loader = new Loader();
-        var loaderContext:LoaderContext = new LoaderContext();
-
-        loaderContext.checkPolicyFile = true;
-        loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loader_completeHandler, false, 0, true);
-        loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loader_ioErrorHandler, false, 0, true);
-        loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, loader_securityErrorHandler, false, 0, true);
-        try
-        {
-            loader.load(new URLRequest(url), loaderContext);
-        }
-        catch (error:SecurityError)
-        {
-            handleSecurityError(error);
-        }
-    }
-
-    /**
-     *  @private
-     */
-    private function loader_completeHandler(event:Event):void
-    {
-        var image:Bitmap = null;
-
-        try
-        {
-            image = Bitmap((event.target as LoaderInfo).content);
-            setBitmapData(image.bitmapData);
-        }
-        catch (error:SecurityError)
-        {
-            handleSecurityError(error);
-        }
-    }
-
-    /**
-     *  @private
-     */
-    private function loader_ioErrorHandler(error:IOErrorEvent):void
-    {
-        // clear any current image
-        setBitmapData(null);
-
-        // forward the error
-        dispatchEvent(error);
-    }
-
-    /**
-     *  @private
-     */
-    private function loader_securityErrorHandler(error:SecurityErrorEvent):void
-    {
-        // clear any current image
-        setBitmapData(null);
-
-        // forward the error
-        dispatchEvent(error);
-    }
-
-    /**
-     *  @private
-     */
-    private function handleSecurityError(error:SecurityError):void
-    {
-        setBitmapData(null);
-        dispatchEvent(new SecurityErrorEvent(SecurityErrorEvent.SECURITY_ERROR, false, false, error.message));
-    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17699
Author:   clucier@adobe.com
Date:     2010-09-14T19:07:33.076891Z

Log Message:
-----------
State-specific property overrides now disable bindings for the base property if present when applied.  Bindings are re-enabled once the override is removed.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/states/OverrideBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/states/SetEventHandler.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/binding/BindingManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/states/SetStyle.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/states/SetProperty.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/mxml/rep/Model.java</path>

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

--- frameworks/projects/framework/src/mx/states/OverrideBase.as
+++ frameworks/projects/framework/src/mx/states/OverrideBase.as
@@ -12,7 +12,9 @@
 package mx.states
 {

+import mx.binding.BindingManager;
 import mx.core.UIComponent;
+import mx.core.mx_internal;
 import mx.events.PropertyChangeEvent;
 import mx.utils.OnDemandEventDispatcher;

@@ -65,6 +67,16 @@
      */
     private var targetProperty:String;

+    /**
+     *  @private
+     *  Specifies whether or not a property-centric
+     *  state override's base value is data bound.
+     *
+     *  This value is intended for use by the MXML
+     *  compiler only.
+     */
+    public var isBaseValueDataBound:Boolean;
+
     //--------------------------------------------------------------------------
     //
     //  Methods
@@ -175,6 +187,19 @@
             removeContextListener();
         }
     }
+
+    /**
+     * @private
+     * Disables or enables binding associated with a property override.
+     */
+    protected function enableBindings(target:Object, property:String, enable:Boolean=true):void
+    {
+        if (isBaseValueDataBound && target && target.document && property)
+        {
+            var root:String = (target.document == target) ? "this" : target.id;
+            BindingManager.enableBindings(target.document, root + "." + property, enable);
+        }
+    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 11027
Author:   dloverin@adobe.com
Date:     2009-10-20T15:50:09.018295Z

Log Message:
-----------
Changes to enable using multiple style managers.

Multiple style managers are not the default yet. Can be enabled by compiling with -create-style-manager.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex, Paul
Tests run: checkintests, all mustella
Is noteworthy for integration: Yes.

Modified Paths:
--------------
<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/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</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/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexChangeEvent.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/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</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/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.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/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/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleManager.as
+++ frameworks/projects/framework/src/mx/styles/StyleManager.as
@@ -119,14 +119,17 @@
     public static function getStyleManager(moduleFactory:IFlexModuleFactory):IStyleManager2
     {
         if (!moduleFactory)
+        {
             moduleFactory = SystemManagerGlobals.topLevelSystemManagers[0];
+            // trace("no style manager specified, using top-level style manager");
+        }

         var styleManager:IStyleManager2 = IStyleManager2(moduleFactory.getImplementation("mx.styles::IStyleManager2"));
         if (styleManager == null)
         {
             // All Flex 4 swfs should have a style manager.
             // In the transition to multiple style managers, use the top-level style manager.
-            //trace("no style manager found");
+            // trace("no style manager found");
             styleManager = impl;
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 9716
Author:   aharui@adobe.com
Date:     2009-08-27T21:21:41.305389Z

Log Message:
-----------
PARB changes for ViewStack.  No more anticpated changes to these APIs.

QE Notes: APIs are hopefully final
Doc Notes: APIs are hopefully final
Bugs: None
Reviewer: Ryan
API Change: Yes
Is noteworthy for integration: No
tests: checkintests mustella/containers/ViewStack

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatable.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatable.as" copyfrom-rev="9577" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISelectableList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorChild.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/halo/views/AccordionTests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/halo/views/TabNavigatorTests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorChild.as" copyfrom-rev="9577" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorContent.as</path>

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

--- frameworks/projects/spark/src/spark/components/ButtonBar.as
+++ frameworks/projects/spark/src/spark/components/ButtonBar.as
@@ -27,7 +27,7 @@
 import mx.collections.IList;
 import mx.core.EventPriority;
 import mx.core.IFactory;
-import mx.core.INavigatable;
+import mx.core.ISelectableList;
 import mx.core.IVisualElement;
 import mx.core.mx_internal;
 import mx.events.CollectionEvent;
@@ -107,6 +107,7 @@

         tabChildren = false;
         tabEnabled = true;
+        tabFocusEnabled = true;

         addEventListener(IndexChangeEvent.CARET_CHANGE, caretChangeHandler);

@@ -213,16 +214,16 @@
         if (dataProvider)
         {
             dataProvider.removeEventListener(CollectionEvent.COLLECTION_CHANGE, resetCollectionChangeHandler);
-            if (dataProvider is INavigatable)
-                dataProvider.removeEventListener(FlexEvent.NAVIGATION_CHANGE, navigationChangeHandler);
+            if (dataProvider is ISelectableList)
+                dataProvider.removeEventListener(Event.CHANGE, navigationChangeHandler);
         }

         // not really a default handler, we just want it to run after the datagroup
         if (value)
         {
             value.addEventListener(CollectionEvent.COLLECTION_CHANGE, resetCollectionChangeHandler, false, EventPriority.DEFAULT_HANDLER);
-            if (value is INavigatable)
-                value.addEventListener(FlexEvent.NAVIGATION_CHANGE, navigationChangeHandler);
+            if (value is ISelectableList)
+                value.addEventListener(Event.CHANGE, navigationChangeHandler);
         }

         super.dataProvider = value;
@@ -233,8 +234,8 @@
      */
     private function navigationChangeHandler(event:Event):void
     {
-        if (INavigatable(dataProvider).selectedIndex != selectedIndex)
-            selectedIndex = INavigatable(dataProvider).selectedIndex;
+        if (ISelectableList(dataProvider).selectedIndex != selectedIndex)
+            selectedIndex = ISelectableList(dataProvider).selectedIndex;
     }

     /**
@@ -304,8 +305,8 @@
             setCurrentCaretIndex(index);
             renderer.selected = selected;
         }
-        if (dataProvider is INavigatable && selected)
-            INavigatable(dataProvider).selectedIndex = index;
+        if (dataProvider is ISelectableList && selected)
+            ISelectableList(dataProvider).selectedIndex = index;
     }

     /**


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@1278778 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 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: 7127
Author:   cframpto@adobe.com
Date:     2009-05-20T13:52:41.023694Z

Log Message:
-----------
In TextInput.partAdded(), set heightInLines=1 when the RichEditableText component is added.  In rev 7079 I moved it out to the skin but that was not correct.  Since text input has multiline=false it doesn't make sense for it to be anything other than one line.  And if another component reskins TextInput they shouldn't have to know to set it to 1.

QA Notes: mustella FxNumericStepper and TextInput passed
Doc Notes:
Bugs: SDK-21282
Reviewers: Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextInput.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextInput.as
+++ frameworks/projects/spark/src/spark/components/TextInput.as
@@ -145,6 +145,9 @@
             // TextInput rather than RichEditableText so that if changed later it
             // will be inherited.
             textView.multiline = false;
+
+            // TextInput should always be 1 line.
+            textView.heightInLines = 1;
         }
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3727
Author:   jszeto@adobe.com
Date:     2008-10-17T22:34:12.409079Z

Log Message:
-----------
Fix masking for GraphicElements

SDK-17337 Masking broken for GraphicElements

We no longer attach the mask to the GraphicElement's parent. Because the mask can not be a child of the maskee, we create a new drawnDisplayObject and attach it and the mask to the displayObject property.

QE Notes: None
Doc Notes: None
Bugs: SDK-17337
Reviewer: Glenn

Modified Paths:
--------------
<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/graphics/IGraphicElementHost.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.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/graphics/graphicsClasses/GraphicElement.as</path>

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/filters/ShaderFilter.as
+++ frameworks/projects/spark/src/spark/filters/ShaderFilter.as
@@ -105,6 +105,11 @@
  *
  * </FxApplication>
  * </listing>
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public dynamic class ShaderFilter extends Proxy
     implements IBitmapFilter, IEventDispatcher
@@ -118,6 +123,11 @@
     /**
      * Private storage for incoming properties, queued until
      * shader is initialized and available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     private var propertyQueue:Object;

@@ -131,6 +141,11 @@
      *  Constructor.
      *  @param shader Fully realized flash.display.Shader instance, or
      *  Class representing a Shader (such as from an Embed).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function ShaderFilter(shader:Object=null)
     {
@@ -164,6 +179,11 @@
     /**
      * An object representing the Shader to use with this filter, either a Class
      * or Shader instance is allowed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function set shader(value:*):void
     {
@@ -190,6 +210,11 @@

     /**
      * flash.display.Shader instance.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get shader():Shader
     {
@@ -204,6 +229,11 @@

     /**
      *  @copy flash.filters.ShaderFilter#bottomExtension
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get bottomExtension():int
     {
@@ -227,6 +257,11 @@

     /**
      *  @copy flash.filters.ShaderFilter#topExtension
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get topExtension():int
     {
@@ -250,6 +285,11 @@

     /**
      *  @copy flash.filters.ShaderFilter#leftExtension
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get leftExtension():int
     {
@@ -273,6 +313,11 @@

     /**
      *  @copy flash.filters.ShaderFilter#rightExtension
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get rightExtension():int
     {
@@ -303,6 +348,11 @@
      * by the constants in the ShaderPrecision class.
      *
      *  @see flash.display.Shader
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get precisionHint():String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19985
Author:   mhorn@adobe.com
Date:     2011-01-27T20:21:44.818020Z

Log Message:
-----------
ASDoc updates

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/modules/Module.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/modules/ModuleLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/modules/Module.as</path>

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

--- frameworks/projects/spark/src/spark/modules/ModuleLoader.as
+++ frameworks/projects/spark/src/spark/modules/ModuleLoader.as
@@ -140,10 +140,13 @@
  *  only a single copy of the module SWF file is transferred over the network by using the
  *  ModuleManager singleton.

  *
+ *  @see mx.modules.ModuleManager
+ *  @see spark.modules.Module
  *  @see mx.controls.SWFLoader
+ *
  *  @includeExample examples/ModuleLoaderExample.mxml
- *  @includeExample examples/ModuleVerticalLayout.mxml
- *  @includeExample examples/ModuleHorizontalLayout.mxml
+ *  @includeExample examples/ModuleVerticalLayout.mxml -noswf
+ *  @includeExample examples/ModuleHorizontalLayout.mxml -noswf
  *
  *  @langversion 3.0
  *  @playerversion Flash 10.2
@@ -165,9 +168,9 @@
      *  Constructor.
      *
      *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function ModuleLoader()
     {
@@ -210,9 +213,9 @@
      *  @see flash.system.SecurityDomain
      *
      *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public var applicationDomain:ApplicationDomain;

@@ -224,9 +227,9 @@
      *  The IVisualElement created from the module factory.
      *
      *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public var child:IVisualElement;

@@ -244,9 +247,9 @@
      *  The location of the module, expressed as a URL.
      *
      *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get url():String
     {
@@ -290,191 +293,191 @@
             loadModule();
     }

-	//--------------------------------------------------------------------------
-	//
-	//  Overridden Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  moduleFactory
-	//----------------------------------
-	/**
-	 *  @private
-	 */
-	override public function set moduleFactory(moduleFactory:IFlexModuleFactory):void
-	{
-		super.moduleFactory = moduleFactory;
-
-		// Register the _creationPolicy style as inheriting. See the creationPolicy
-		// getter for details on usage of this style.
-		styleManager.registerInheritingStyle("_creationPolicy");
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties: INavigatorContent
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  creationPolicy
-	//----------------------------------
-
-	// Internal flag used when creationPolicy="none".
-	// When set, the value of the backing store _creationPolicy
-	// style is "auto" so descendants inherit the correct value.
-	private var creationPolicyNone:Boolean = false;
-
-	[Inspectable(enumeration="auto,all,none", defaultValue="auto")]
-
-	/**
-	 *  @inheritDoc
-	 *
-	 *  @default auto
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
-	 */
-	public function get creationPolicy():String
-	{
-		// Use an inheriting style as the backing storage for this property.
-		// This allows the property to be inherited by either mx or spark
-		// containers, and also to correctly cascade through containers that
-		// don't have this property (ie Group).
-		// This style is an implementation detail and should be considered
-		// private. Do not set it from CSS.
-		var result:String = getStyle("_creationPolicy");
-
-		if (result == null)
-			result = ContainerCreationPolicy.AUTO;
-
-		if (creationPolicyNone)
-			result = ContainerCreationPolicy.NONE;
-
-		return result;
-	}
-
-	/**
-	 *  @private
-	 */
-	public function set creationPolicy(value:String):void
-	{
-		if (value == ContainerCreationPolicy.NONE)
-		{
-			// creationPolicy of none is not inherited by descendants.
-			// In this case, set the style to "auto" and set a local
-			// flag for subsequent access to the creationPolicy property.
-			creationPolicyNone = true;
-			value = ContainerCreationPolicy.AUTO;
-		}
-		else
-		{
-			creationPolicyNone = false;
-		}
-
-		setStyle("_creationPolicy", value);
-	}
-
-	//----------------------------------
-	//  icon
-	//----------------------------------
-
-	/**
-	 *  @private
-	 *  Storage for the icon property.
-	 */
-	private var _icon:Class = null;
-
-	[Bindable("iconChanged")]
-	[Inspectable(category="General", defaultValue="", format="EmbeddedFile")]
-
-	/**
-	 *  The Class of the icon displayed by some navigator
-	 *  containers to represent this Container.
-	 *
-	 *
For example, if this Container is a child of a TabNavigator,
-	 *  this icon appears in the corresponding tab.
-	 *  If this Container is a child of an Accordion,
-	 *  this icon appears in the corresponding header.

-	 *
-	 *
To embed the icon in the SWF file, use the @Embed()
-	 *  MXML compiler directive:

-	 *
-	 *

-	 *    icon="@Embed('filepath')"
-	 *

-	 *
-	 *
The image can be a JPEG, GIF, PNG, SVG, or SWF file.

-	 *
-	 *  @default null
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
-	 */
-	public function get icon():Class
-	{
-		return _icon;
-	}
-
-	/**
-	 *  @private
-	 */
-	public function set icon(value:Class):void
-	{
-		_icon = value;
-
-		dispatchEvent(new Event("iconChanged"));
-	}
-
-	//----------------------------------
-	//  label
-	//----------------------------------
-
-	/**
-	 *  @private
-	 *  Storage for the label property.
-	 */
-	private var _label:String = "";
-
-	[Bindable("labelChanged")]
-	[Inspectable(category="General", defaultValue="")]
-
-	/**
-	 *  The text displayed by some navigator containers to represent
-	 *  this Container.
-	 *
-	 *
For example, if this Container is a child of a TabNavigator,
-	 *  this string appears in the corresponding tab.
-	 *  If this Container is a child of an Accordion,
-	 *  this string appears in the corresponding header.

-	 *
-	 *  @default ""
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
-	 */
-	public function get label():String
-	{
-		return _label;
-	}
-
-	/**
-	 *  @private
-	 */
-	public function set label(value:String):void
-	{
-		_label = value;
-
-		dispatchEvent(new Event("labelChanged"));
-	}
-
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  moduleFactory
+    //----------------------------------
+    /**
+     *  @private
+     */
+    override public function set moduleFactory(moduleFactory:IFlexModuleFactory):void
+    {
+        super.moduleFactory = moduleFactory;
+
+        // Register the _creationPolicy style as inheriting. See the creationPolicy
+        // getter for details on usage of this style.
+        styleManager.registerInheritingStyle("_creationPolicy");
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties: INavigatorContent
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  creationPolicy
+    //----------------------------------
+
+    // Internal flag used when creationPolicy="none".
+    // When set, the value of the backing store _creationPolicy
+    // style is "auto" so descendants inherit the correct value.
+    private var creationPolicyNone:Boolean = false;
+
+    [Inspectable(enumeration="auto,all,none", defaultValue="auto")]
+
+    /**
+     *  @inheritDoc
+     *
+     *  @default auto
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function get creationPolicy():String
+    {
+        // Use an inheriting style as the backing storage for this property.
+        // This allows the property to be inherited by either mx or spark
+        // containers, and also to correctly cascade through containers that
+        // don't have this property (ie Group).
+        // This style is an implementation detail and should be considered
+        // private. Do not set it from CSS.
+        var result:String = getStyle("_creationPolicy");
+
+        if (result == null)
+            result = ContainerCreationPolicy.AUTO;
+
+        if (creationPolicyNone)
+            result = ContainerCreationPolicy.NONE;
+
+        return result;
+    }
+
+    /**
+     *  @private
+     */
+    public function set creationPolicy(value:String):void
+    {
+        if (value == ContainerCreationPolicy.NONE)
+        {
+            // creationPolicy of none is not inherited by descendants.
+            // In this case, set the style to "auto" and set a local
+            // flag for subsequent access to the creationPolicy property.
+            creationPolicyNone = true;
+            value = ContainerCreationPolicy.AUTO;
+        }
+        else
+        {
+            creationPolicyNone = false;
+        }
+
+        setStyle("_creationPolicy", value);
+    }
+
+    //----------------------------------
+    //  icon
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the icon property.
+     */
+    private var _icon:Class = null;
+
+    [Bindable("iconChanged")]
+    [Inspectable(category="General", defaultValue="", format="EmbeddedFile")]
+
+    /**
+     *  The Class of the icon displayed by some navigator
+     *  containers to represent this Container.
+     *
+     *
For example, if this Container is a child of a TabNavigator,
+     *  this icon appears in the corresponding tab.
+     *  If this Container is a child of an Accordion,
+     *  this icon appears in the corresponding header.

+     *
+     *
To embed the icon in the SWF file, use the @Embed()
+     *  MXML compiler directive:

+     *
+     *

+     *    icon="@Embed('filepath')"
+     *

+     *
+     *
The image can be a JPEG, GIF, PNG, SVG, or SWF file.

+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function get icon():Class
+    {
+        return _icon;
+    }
+
+    /**
+     *  @private
+     */
+    public function set icon(value:Class):void
+    {
+        _icon = value;
+
+        dispatchEvent(new Event("iconChanged"));
+    }
+
+    //----------------------------------
+    //  label
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the label property.
+     */
+    private var _label:String = "";
+
+    [Bindable("labelChanged")]
+    [Inspectable(category="General", defaultValue="")]
+
+    /**
+     *  The text displayed by some navigator containers to represent
+     *  this Container.
+     *
+     *
For example, if this Container is a child of a TabNavigator,
+     *  this string appears in the corresponding tab.
+     *  If this Container is a child of an Accordion,
+     *  this string appears in the corresponding header.

+     *
+     *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function get label():String
+    {
+        return _label;
+    }
+
+    /**
+     *  @private
+     */
+    public function set label(value:String):void
+    {
+        _label = value;
+
+        dispatchEvent(new Event("labelChanged"));
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Methods: INavigatorContent
@@ -488,48 +491,48 @@
     {
         return loadRequested;
     }
-
-	/**
-	 *  @private
-	 */
-	public function createDeferredContent():void
-	{
-		loadRequested = true;
-		loadModule();
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Overridden Methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Create components that are children of this Container.
-	 */
-	override protected function createChildren():void
-	{
-		// if nobody has overridden creationPolicy, get it from the
-		// navigator parent
-		if (creationPolicy == ContainerCreationPolicy.AUTO)
-		{
-			if (parent is IDeferredContentOwner)
-			{
-				var parentCreationPolicy:String = IDeferredContentOwner(parent).creationPolicy;
-				creationPolicy = parentCreationPolicy ==
-					ContainerCreationPolicy.ALL ? ContainerCreationPolicy.ALL :
-					ContainerCreationPolicy.NONE;
-
-			}
-		}
-
-		if (!loadRequested && creationPolicy != ContainerCreationPolicy.NONE)
-			createDeferredContent();
-
-		super.createChildren();
-	}
-
+
+    /**
+     *  @private
+     */
+    public function createDeferredContent():void
+    {
+        loadRequested = true;
+        loadModule();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Create components that are children of this Container.
+     */
+    override protected function createChildren():void
+    {
+        // if nobody has overridden creationPolicy, get it from the
+        // navigator parent
+        if (creationPolicy == ContainerCreationPolicy.AUTO)
+        {
+            if (parent is IDeferredContentOwner)
+            {
+                var parentCreationPolicy:String = IDeferredContentOwner(parent).creationPolicy;
+                creationPolicy = parentCreationPolicy ==
+                    ContainerCreationPolicy.ALL ? ContainerCreationPolicy.ALL :
+                    ContainerCreationPolicy.NONE;
+
+            }
+        }
+
+        if (!loadRequested && creationPolicy != ContainerCreationPolicy.NONE)
+            createDeferredContent();
+
+        super.createChildren();
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Methods
@@ -559,9 +562,9 @@
      *  the url parameter if it is non-null, or the url property as a fallback.
      *
      *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function loadModule(url:String = null, bytes:ByteArray = null):void
     {
@@ -622,9 +625,9 @@
      *  nothing.

      *
      *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function unloadModule():void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 21683
Author:   chiedozi@adobe.com
Date:     2011-07-21T23:18:41.186033Z

Log Message:
-----------
Initial checkin of SplitViewNavigator component and its skin.  This includes small alterations to various ViewTransition classes.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/IVisualElementContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as
@@ -0,0 +1,131 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2011 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 spark.skins.mobile
+{
+import spark.components.Callout;
+import spark.components.CalloutPosition;
+import spark.components.Group;
+import spark.components.SplitViewNavigator;
+import spark.layouts.HorizontalLayout;
+import spark.skins.mobile.supportClasses.MobileSkin;
+
+/**
+ *  The default skin for the SplitViewNavigator component.  This skin is
+ *  chromeless and doesn't draw a background, border or separator.  It
+ *  only contains a single content group with a horizontal layout to hold
+ *  the navigators, and a Callout component.  The Callout component uses
+ *  the default values for its layout properties.
+ *
+ *  @see spark.components.Callout
+ *  @see spark.components.SplitViewNavigator
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 3
+ *  @productversion Flex 4.5.2
+ */
+public class SplitViewNavigatorSkin extends MobileSkin
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 3
+     *  @productversion Flex 4.5.2
+	 */
+    public function SplitViewNavigatorSkin()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  SkinParts
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @copy spark.components.SkinnableContainer#contentGroup
+     */
+    public var contentGroup:Group;
+
+    /**
+     *  @copy spark.components.SplitViewNavigator#viewNavigatorCallout
+     */
+    public var viewNavigatorCallout:Callout;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @copy spark.skins.spark.ApplicationSkin#hostComponent
+	 */
+    public var hostComponent:SplitViewNavigator;
+
+    //--------------------------------------------------------------------------
+    //
+    // Overridden Methods
+    //
+    //--------------------------------------------------------------------------
+    /**
+     *  @private
+     */
+    override protected function createChildren():void
+    {
+        // Create the layout for the content group
+        var hLayout:HorizontalLayout = new HorizontalLayout();
+        hLayout.gap = 0;
+
+        // Create the contentGroup
+        contentGroup = new Group();
+        contentGroup.id = "contentGroup";
+        contentGroup.layout = hLayout;
+        addChild(contentGroup);
+
+        // Create the callout but don't add it to display list
+        viewNavigatorCallout = new Callout();
+        viewNavigatorCallout.height = 500;
+        viewNavigatorCallout.setStyle("color", 0x000000);
+        viewNavigatorCallout.setStyle("contentBackgroundAlpha", 0);
+    }
+
+	/**
+	 *  @private
+	 */
+    override protected function measure():void
+    {
+        super.measure();
+
+        measuredWidth = contentGroup.getPreferredBoundsWidth();
+        measuredHeight = contentGroup.getPreferredBoundsHeight();
+    }
+
+    /**
+     *  @private
+     */
+    override protected function layoutContents(unscaledWidth:Number, unscaledHeight:Number):void
+    {
+        super.layoutContents(unscaledWidth, unscaledHeight);
+
+        contentGroup.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
+        contentGroup.setLayoutBoundsPosition(0, 0);
+    }
+}
+}


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@1269103 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/controls/treeClasses/HierarchicalCollectionView.as
+++ frameworks/projects/mx/src/mx/controls/treeClasses/HierarchicalCollectionView.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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: 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@1262001 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as
+++ frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2006 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: 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@1253399 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/charts/styles/metadata/FillStrokeStyles.as
+++ frameworks/projects/charts/src/mx/charts/styles/metadata/FillStrokeStyles.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 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: 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@1261315 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityShader.as
+++ frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityShader.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.graphics.shaderClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11811
Author:   dsubrama@adobe.com
Date:     2009-11-14T20:14:54.284449Z

Log Message:
-----------
Fixes for FXG 2.0.

SDK-23790 - We now set the blendMode correctly when switching from an AIM blendMode to a native Flash one.

SDK-24039 - We hoisted the AIM blendMode support up to UIComponent as per Catalyst's request.

SDK-23715 - Positioning of radial gradient strokes is now correct.

As part of this change, the spark.primitives.supportClasses.shaders packaged move into the framework swc/project, specifically mx.graphics.shaderClasses.

QE notes: Regression and re-gening of so many bitmaps.
Doc notes: None
Bugs: SDK-23790, SDK-24039, SDK-23715
Reviewer: Jason/Evtim/Pete
Tests run: Checkintests - known failures with bitmaps
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskFilter.pbk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/HueShader.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLight.pbj</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLight.pbk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurn.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurn.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ExclusionShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/HueShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/supportClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLightShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurnShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/SaturationShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Saturation.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Saturation.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/SoftLightShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ks5792.jpg</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorBurnShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SaturationShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Exclusion.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Exclusion.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/LuminosityShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Luminosity.pbj</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Luminosity.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Color.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Color.pbk</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorDodgeShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Hue.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodge.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Hue.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodge.pbk</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/LuminosityMaskShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ExclusionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskFilter.pbj</path>

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

--- frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityShader.as
+++ frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityShader.as
@@ -0,0 +1,51 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.graphics.shaderClasses
+{
+import flash.display.Shader;
+
+/**
+ *  The LuminosityShader class creates a blend shader that is equivalent to
+ *  the 'Luminosity' blend mode for RGB premultiplied colors available
+ *  in Adobe Creative Suite tools. This blend mode is not native to Flash,
+ *  but is available in tools like Adobe Illustrator and Adobe Photoshop.
+ *
+ *  The 'luminosity' blend mode can be set on Flex groups and graphic
+ *  elements and the visual appearance in tools like Adobe Illustrator and
+ *  Adobe Photoshop will be mimicked through this blend shader.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ *
+ *  @includeExample examples/LuminosityShaderExample.mxml
+ */
+public class LuminosityShader extends flash.display.Shader
+{
+    [Embed(source="Luminosity.pbj", mimeType="application/octet-stream")]
+    private static var ShaderClass:Class;
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function LuminosityShader()
+    {
+        super(new ShaderClass());
+    }
+}
+}