incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370323 [6/12] - in /incubator/flex/trunk/mustella/tests/itemRenderers: ./ Assets/ Halo/ Halo/DataGrid/ Halo/DataGrid/SWFs/ Halo/DataGrid/SWFs/assets/ Halo/DataGrid/SWFs/comps/ Halo/DataGrid/SWFs/view/ Halo/DataGrid/baselines/ Halo/DataGri...
Date Tue, 07 Aug 2012 15:39:45 GMT
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListCombobox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListCombobox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListCombobox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListCombobox.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+   dataProvider="{contacts1}" width="200" height="150" xmlns:comps="*" >
+
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 	   "Yes", "No", "Maybe", "Maybe", "No"
+	];
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:ComboBox >
+          <mx:dataProvider>
+              <mx:Array>
+                 <mx:String>Maybe</mx:String>
+                 <mx:String>No</mx:String>
+                 <mx:String>Yes</mx:String>
+              </mx:Array>
+          </mx:dataProvider>
+      </mx:ComboBox>
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:TileList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListDateField.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListDateField.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListDateField.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListDateField.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{contacts1}"
+xmlns:comps="*" width="200" height="150" >
+
+<mx:Script>
+<![CDATA[
+    import mx.collections.*;
+
+    import mx.controls.listClasses.*;
+    import mx.controls.DateField;
+
+    private var catalog:ArrayCollection;
+	    private static var date1:Date = new Date(new Date().getFullYear(),new Date().getMonth(),5);
+	    private static var date2:Date = new Date(2006,0,15);
+	    private static var date3:Date = new Date(2004,9,24);
+
+    [Bindable]
+	private var contacts1:Array = [
+	 	 		date1, date2, date3, date1
+	];
+
+  ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:DateField />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:TileList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListImage.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListImage.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListImage.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListImage.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" rowHeight="50"
+    dataProvider="{contacts1}" width="200" height="150" xmlns:comps="*">
+
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+   import mx.controls.listClasses.*;
+   import mx.controls.Image;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 	"../../../../../Assets/Images/purplerect.jpg",
+		"../../../../../Assets/Images/greenrect.jpg",
+		"assets/orb.jpg",
+		"../../../../../Assets/Images/bluerect.jpg",
+		"../../../../../Assets/Images/yellowrect.jpg",
+		"../../../../../Assets/Images/bluerect.jpg",
+		"../../../../../Assets/Images/redrect.jpg"
+	];
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:Image />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:TileList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListLabel.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListLabel.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListLabel.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListLabel.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+   dataProvider="{contacts1}" width="200" height="150" >
+
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.Label;
+
+   [Bindable]
+   private  var contacts1:Array = [
+	 		"223-52-3698",
+	 		"263-32-3608",
+	 		"123-56-3078",
+	 		"963-62-3608"
+	];
+
+  ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:Label />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:TileList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListNumericStepper.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListNumericStepper.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListNumericStepper.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListNumericStepper.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+    dataProvider="{contacts1}" width="200" height="150" >
+
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.NumericStepper;
+
+   [Bindable]
+   private var contacts1:Array = [
+	   5, 1, 10, 3, 4, 7
+	];
+
+   ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:NumericStepper />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:TileList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListText.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListText.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListText.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListText.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+
+<mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+    dataProvider="{contacts1}" width="200" height="150" >
+
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.Text;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 		"223-52-3698",
+	 		"263-32-3608",
+	 		"123-56-3078",
+	 		"963-62-3608"
+	];
+
+  ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:Text />
+   </mx:Component>
+</mx:itemRenderer>
+
+</mx:TileList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListTextinput.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListTextinput.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListTextinput.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListTextinput.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+
+<mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+    dataProvider="{contacts1}" width="200" height="150" >
+
+<mx:Script>
+<![CDATA[
+
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.TextInput;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 		"223-52-3698",
+	 		"263-32-3608",
+	 		"123-56-3078",
+	 		"963-62-3608"
+	];
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:TextInput />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:TileList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/tileList_Basic.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/tileList_Basic.compile?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/tileList_Basic.compile (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/tileList_Basic.compile Tue Aug  7 15:39:33 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/tileList_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/tileList_Basic.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/tileList_Basic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/tileList_Basic.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" xmlns:mx="http://www.adobe.com/2006/mxml" width="800" height="700"
+    xmlns:comps="comps.*" >
+<mx:Script>
+<![CDATA[
+        private var date1:Date = new Date(2007,4,20);
+		private	var date2:Date = new Date(2007,0,15);
+        private var date3:Date = new Date(2007,9,24);
+
+        [Bindable]
+        public var myData:Array = [
+						{label:"Toys", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Red"},
+						{label:"Stuffed Animals", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Red"},
+						{label:"Some Bears", available:true, quantity: 2, shipDate: date2, url: "../../../../../Assets/Images/greenrect.jpg", color: "Green"},
+						{label:"Dinosaur", available:true, quantity: 8, shipDate: date1, url: "../../../../../Assets/Images/purplerect.jpg", color: "Fuscia"},
+						{label:"Cars", available:true, quantity: 9, shipDate: date1, url: "../../../../../Assets/Images/yellowrect.jpg", color: "Yellow"},
+						{label:"Games", available:false, quantity: 0, shipDate: date2, url: "../../../../../Assets/Images/bluerect.jpg", color: "Black"},
+						{label:"Board Games", available:false, quantity: 0, shipDate: date3, url: "../../../../../Assets/Images/bluerect.jpg", color: "Black"},
+						{label:"Dice Game", available:true, quantity: 4, shipDate: date3, url: "../../../../../Assets/Images/orangerect.jpg", color: "White"},
+						{label:"Movie", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Rose"},
+						{label:"Video Game",available:true, quantity: 8, shipDate: date3, url: "../../../../../Assets/Images/purplerect.jpg", color: "Periwinkle"},
+					  ];
+]]>
+</mx:Script>
+
+<mx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:HBox>
+	<!-- CheckBox itemRenderer -->
+	<comps:TListCheckbox  id="checkTList" />
+
+	<!-- Button itemRenderer -->
+	<comps:TListButton  id="buttonTList" />
+
+	<!-- NumericStepper itemRenderer -->
+	<comps:TListNumericStepper  id="nsTList" />
+</mx:HBox>
+
+<mx:HBox>
+	<!-- ComboBox itemRenderer -->
+	<comps:TListCombobox  id="comboTList" />
+
+	<!--DateField itemRenderer -->
+	<comps:TListDateField  id="dateTList" />
+
+	<!-- Label itemRenderer -->
+	<comps:TListLabel  id="labelTList" />
+</mx:HBox>
+
+<mx:HBox>
+	<!-- Image itemRenderer -->
+	<comps:TListText  id="textTList" />
+
+	<!-- Text itemRenderer -->
+	<comps:TListImage  id="imageTList" />
+
+    <!-- TextInput itemRenderer -->
+    <comps:TListTextinput id="textinputTList" />
+
+</mx:HBox>
+
+    <mx:TileList id="TListBasic" width="300" dataProvider="{myData}" />
+
+
+ </mx:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/buttonRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/buttonRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/buttonRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/buttonRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/buttonRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/buttonRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/checkBoxRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/checkBoxRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/checkBoxRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/checkBoxRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/checkBoxRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/checkBoxRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/comboBoxRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/comboBoxRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/comboBoxRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/comboBoxRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/comboBoxRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/comboBoxRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/dateFieldRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/dateFieldRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/dateFieldRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/dateFieldRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/dateFieldRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/dateFieldRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/imageRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/imageRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/imageRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/imageRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/imageRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/imageRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/labelRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/labelRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/labelRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/labelRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/labelRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/labelRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/numStepperRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/numStepperRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/numStepperRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/numericStepperRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/numericStepperRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/numericStepperRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/textRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/textRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/textRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/textRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/textRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/baselines/textRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/test_scripts/TileList_itemRenderer.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/test_scripts/TileList_itemRenderer.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/test_scripts/TileList_itemRenderer.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/test_scripts/TileList_itemRenderer.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<UnitTester testDir="itemRenderers/Halo/TileList/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="tileList_Basic.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+		import mx.controls.TileList;
+        import comps.MyComboBox;
+
+        private static var dateValue:Date = new Date(2007,4,24);
+		public static function init(o:DisplayObject):void
+		{
+
+		}
+
+	]]>
+	</mx:Script>
+
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+
+	<testCases>
+    <!--CheckBox renderer-->
+		 <TestCase testID="CheckBoxRenderer_VisualCheckMXML" description="Visual Check of a CheckBox CellRenderer" keywords="[TileList, CheckBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="checkTList" className="comps.TListCheckbox"  waitTarget="checkTList" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <!--Pause timeout="400" /-->
+				<CompareBitmap url="../baselines/checkBoxRenderer.png" target="checkTList.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+		 <TestCase testID="CheckBoxRenderer_ASVisualCheck" description="Visual Check of a CheckBox CellRenderer set at runtime" keywords="[TileList, Runtime, CheckBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="TListBasic" className="mx.controls.TileList"  waitTarget="TListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="TListBasic" propertyName="columnWidth" value="50" />
+			   <SetProperty target="TListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="TListBasic" waitTarget="TListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty propertyName="labelField" target="TListBasic" value="available" waitTarget="TListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="TListBasic" valueExpression="value=new ClassFactory(mx.controls.CheckBox)" waitTarget="TListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/checkBoxRendererAS.png" target="TListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--Button renderer-->
+		 <TestCase testID="ButtonRenderer_VisualCheckMXML" description="Visual Check of a Button CellRenderer" keywords="[TileList,Button, itemRenderers]">
+			<setup>
+			   <ResetComponent target="buttonTList" className="comps.TListButton"  waitTarget="buttonTList"  waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <CompareBitmap url="../baselines/buttonRenderer.png" target="buttonTList.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ButtonRenderer_ASVisualCheck" description="Visual Check of a Button CellRenderer set at runtime" keywords="[TileList, Runtime, Button, itemRenderers]">
+			<setup>
+			   <ResetComponent target="TListBasic" className="mx.controls.TileList"  waitTarget="TListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="TListBasic" propertyName="columnWidth" value="50" />
+			   <SetProperty target="TListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="TListBasic" waitTarget="TListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty propertyName="itemRenderer" target="TListBasic" valueExpression="value=new ClassFactory(mx.controls.Button)" waitTarget="TListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/buttonRendererAS.png" target="TListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--NumericStepper renderer-->
+		 <TestCase testID="NumericStepperRenderer_VisualCheckMXML" description="Visual Check of a NumericStepper CellRenderer" keywords="[TileList,NumericStepper, itemRenderers]">
+			<setup>
+			   <ResetComponent target="nsTList" className="comps.TListNumericStepper"  waitTarget="nsTList"  waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap url="../baselines/numStepperRenderer.png" target="nsTList.mx_internal:rendererArray.0.0" />
+			</body>
+		</TestCase>
+		 <TestCase testID="NumericStepperRenderer_ASVisualCheck" description="Visual Check of a NumericStepper CellRenderer set at runtime" keywords="[TileList, Runtime, NumericStepper, itemRenderers]">
+			<setup>
+			   <ResetComponent target="TListBasic" className="mx.controls.TileList"  waitTarget="TListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="TListBasic" propertyName="height" value="70" />
+			   <SetProperty target="TListBasic" propertyName="columnWidth" value="50" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="TListBasic" waitTarget="TListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty propertyName="labelField" target="TListBasic" value="quantity" waitTarget="TListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="TListBasic" valueExpression="value=new ClassFactory(mx.controls.NumericStepper)" waitTarget="TListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/numericStepperRendererAS.png" target="TListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--Label renderer-->
+		 <TestCase testID="LabelRenderer_VisualCheckMXML" description="Visual Check of a Label CellRenderer" keywords="[TileList,Label, itemRenderers]">
+			<setup>
+			   <ResetComponent target="labelTList" className="comps.TListLabel"  waitTarget="labelTList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap url="../baselines/labelRenderer.png" target="labelTList.mx_internal:rendererArray.0.0" />
+			</body>
+		</TestCase>
+		 <TestCase testID="LabelRenderer_ASVisualCheck" description="Visual Check of a Label CellRenderer set at runtime" keywords="[TileList, Runtime, Label, itemRenderers]">
+			<setup>
+			   <ResetComponent target="TListBasic" className="mx.controls.TileList"  waitTarget="TListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="TListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="TListBasic" waitTarget="TListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty target="TListBasic" propertyName="columnWidth" value="50" />
+			    <SetProperty propertyName="itemRenderer" target="TListBasic" valueExpression="value=new ClassFactory(mx.controls.Label)" waitTarget="TListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/labelRendererAS.png" target="TListBasic.mx_internal:rendererArray.0.0" />
+			</body>
+		</TestCase>
+<!--Text renderer-->
+		 <TestCase testID="TextRenderer_VisualCheckMXML" description="Visual Check of a Text CellRenderer" keywords="[TileList,Text, itemRenderers]">
+			<setup>
+			   <ResetComponent target="textTList" className="comps.TListText"  waitTarget="textTList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap url="../baselines/textRenderer.png" target="textTList.mx_internal:rendererArray.0.0" />
+			</body>
+		</TestCase>
+		 <TestCase testID="TextRenderer_ASVisualCheck" description="Visual Check of a Text CellRenderer set at runtime" keywords="[TileList, Runtime, Text, itemRenderers]">
+			<setup>
+			   <ResetComponent target="TListBasic" className="mx.controls.TileList"  waitTarget="TListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="TListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="TListBasic" waitTarget="TListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty target="TListBasic" propertyName="columnWidth" value="50" />
+			    <SetProperty propertyName="itemRenderer" target="TListBasic" valueExpression="value=new ClassFactory(mx.controls.Text)" waitTarget="TListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/textRendererAS.png" target="TListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--ComboBox renderer-->
+		 <TestCase testID="ComboBoxRenderer_VisualCheckMXML" description="Visual Check of a ComboBox CellRenderer" keywords="[TileList,ComboBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="comboTList" className="comps.TListCombobox"  waitTarget="comboTList"  waitEvent="updateComplete"/>
+			</setup>
+			<body>
+				 <CompareBitmap url="../baselines/comboBoxRenderer.png" target="comboTList.mx_internal:rendererArray.1.0" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ComboBoxRenderer_ASVisualCheck" description="Visual Check of a ComboBox CellRenderer set at runtime" keywords="[TileList, Runtime, ComboBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="TListBasic" className="mx.controls.TileList"  waitTarget="TListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="TListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="TListBasic" waitTarget="TListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty target="TListBasic" propertyName="columnWidth" value="50" />
+			    <SetProperty propertyName="labelField" target="TListBasic" value="color" waitTarget="TListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="TListBasic" valueExpression="value=new ClassFactory(MyComboBox)" waitTarget="TListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/comboBoxRendererAS.png" target="TListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--DateField renderer-->
+		 <TestCase testID="DateFieldRenderer_VisualCheckMXML" description="Visual Check of a DateField CellRenderer" keywords="[TileList,DateField, itemRenderers]">
+			<setup>
+			   <ResetComponent target="dateTList" className="comps.TListDateField"  waitTarget="dateTList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap url="../baselines/dateFieldRenderer.png" target="dateTList.mx_internal:rendererArray.1.0" />
+			</body>
+		</TestCase>
+		 <TestCase testID="DateFieldRenderer_ASVisualCheck" description="Visual Check of a DateField CellRenderer set at runtime" keywords="[TileList, Runtime, DateField, itemRenderers]">
+			<setup>
+			   <ResetComponent target="TListBasic" className="mx.controls.TileList"  waitTarget="TListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="TListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="TListBasic" waitTarget="TListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty target="TListBasic" propertyName="columnWidth" value="50" />
+			    <SetProperty propertyName="labelField" target="TListBasic" value="shipDate" waitTarget="TListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="TListBasic" valueExpression="value=new ClassFactory(mx.controls.DateField)" waitTarget="TListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/dateFieldRendererAS.png" target="TListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+	<!-- Image renderer -->
+	    <TestCase testID="ImageRenderer_VisualCheckMXML" description="Visual Check of a Image CellRenderer" keywords="[TileList,Image, itemRenderers]">
+			<setup>
+				<ResetComponent target="imageTList" className="comps.TListImage"  waitTarget="imageTList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <AssertEvent target="imageTList.mx_internal:rendererArray.0.0" eventName="complete" eventClass="flash.events::Event" />
+				<CompareBitmap url="../baselines/imageRenderer.png" target="imageTList.mx_internal:rendererArray.0.0" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ImageRenderer_ASVisualCheck" description="Visual Check of a Image CellRenderer set at runtime" keywords="[TileList, Runtime, Image, itemRenderers]">
+			<setup>
+			   <ResetComponent target="TListBasic" className="mx.controls.TileList"  waitTarget="TListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="TListBasic" propertyName="height" value="150" />
+			</setup>
+			<body>
+			    <SetProperty propertyName="labelField" target="TListBasic" value="url" waitTarget="TListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="TListBasic" valueExpression="value=new ClassFactory(mx.controls.Image)" />
+                <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="TListBasic" waitTarget="TListBasic" waitEvent="updateComplete"/>
+			    <AssertEvent target="TListBasic.mx_internal:rendererArray.0.1" eventName="complete" eventClass="flash.events::Event" />
+
+				<!--Pause timeout="2000" /-->
+				<CompareBitmap url="../baselines/imageRendererAS.png" target="TListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/Tree_customTests.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/Tree_customTests.compile?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/Tree_customTests.compile (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/Tree_customTests.compile Tue Aug  7 15:39:33 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/Tree_customTests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/Tree_customTests.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/Tree_customTests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/Tree_customTests.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" xmlns:mx="http://www.adobe.com/2006/mxml" width="800" height="700"
+    xmlns:comps="comps.*" creationComplete="initCollections();" >
+<mx:Script>
+    <![CDATA[
+
+import mx.collections.*;
+
+public var xmlBalanced:XMLList =
+	<>
+		<node label="Containers" selected="true">
+		    <node label="DividedBoxClasses" selected="false">
+			<node label="BoxDivider" data="BoxDivider.as"  selected="true"/>
+		    </node>
+		    <node label="GridClasses" selected="true">
+			<node label="GridRow" data="GridRow.as"  selected="false"/>
+			<node label="GridItem" data="GridItem.as" selected="false" />
+			<node label="Other File" data="Other.as" selected="true" />
+
+		    </node>
+		</node>
+		<node label="Data" selected="true">
+		    <node label="Messages" selected="true">
+			<node label="DataMessage" data="DataMessage.as" selected="false" />
+			<node label="SequenceMessage" data="SequenceMessage.as" selected="true" />
+		    </node>
+		    <node label="Events" selected="true">
+			    <node label="ConflictEvents" data="ConflictEvent.as" selected="true" />
+			    <node label="CommitFaultEvent" data="CommitFaultEvent.as" selected="true" />
+		    </node>
+		    <node label="Utils" selected="true">
+				<node label="ArrayUtil" data="ArrayUtil.as" selected="false" />
+				<node label="ColorUtil" data="ColorUtil.as" selected="true" />
+				<node label="ObjectUtil" data="ObjectUtil.as" selected="true" />
+				<node label="StringUtil" data="StringUtil.as" selected="false" />
+		    </node>
+		</node>
+	</>;
+
+[Bindable]
+public var xlcBalanced:XMLListCollection;
+
+private function initCollections() : void
+{
+	xlcBalanced = new XMLListCollection(xmlBalanced);
+}
+
+  ]]>
+</mx:Script>
+<mx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:HBox>
+
+<mx:Tree id="treeCustomBranches" dataProvider="{xlcBalanced}" labelField="@label"
+ width="200" height="200" itemRenderer="comps.MyTreeItemRenderer" />
+
+<mx:Tree id="treeCustomNodes" dataProvider="{xlcBalanced}" labelField="@label"
+ width="200" height="200" itemRenderer="comps.MyCheckItemRenderer" />
+
+ <mx:Tree id="treeCustomNodes1" dataProvider="{xlcBalanced}" labelField="@label"
+ width="200" height="200" itemRenderer="comps.MyCheckItemRendererUpdated" />
+
+</mx:HBox>
+
+ </mx:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyCheckItemRenderer.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyCheckItemRenderer.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyCheckItemRenderer.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyCheckItemRenderer.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,125 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+//
+//      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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package comps {
+
+    import flash.display.DisplayObject;
+    import flash.events.MouseEvent;
+    import flash.xml.*;
+    
+    import mx.controls.CheckBox;
+    import mx.controls.Tree;
+    import mx.controls.listClasses.*;
+    import mx.controls.treeClasses.*;
+    import mx.core.IDataRenderer;
+ 
+
+    public class MyCheckItemRenderer extends TreeItemRenderer
+    {
+
+        protected var myCheckBox:CheckBox;
+        private var listOwner:Tree;
+        private var folderCbX:uint = 32;
+        private var leafCbX:uint = 40;
+        private var margin:uint = 15;
+       
+        override protected function createChildren():void
+        {
+               super.createChildren();
+                
+               myCheckBox = new CheckBox();
+               addChild(myCheckBox);
+               myCheckBox.setStyle("paddingTop", 15);
+               myCheckBox.addEventListener( MouseEvent.CLICK, CBToggleHandler);
+        }   
+                
+        private function CBToggleHandler(event:MouseEvent):void
+        {
+             super.data.@selected = CheckBox(event.target).selected;     
+        }
+
+        private var _data:Object;
+       
+        override public function set data(value:Object):void
+        {
+            _data = value;
+            super.data = value;
+            
+	    if(value != null)
+            {
+            	
+                if(TreeListData(super.listData).hasChildren)
+		{
+	            myCheckBox.visible = false;
+                    myCheckBox.includeInLayout = false; 
+                }
+                else
+		{
+		    myCheckBox.visible = true;
+		    myCheckBox.includeInLayout = true; 
+                }
+                if(value.@selected == "true")
+                {
+                    myCheckBox.selected = true;
+                }
+		else
+                {
+                    myCheckBox.selected = false;
+                }                
+            }
+        }
+     
+       private var _listData:TreeListData;
+        
+       override public function set listData(value:BaseListData):void
+       {
+           _listData = TreeListData(value);
+           super.listData = value;
+       }
+     
+       override protected function commitProperties():void
+       {
+           super.commitProperties();
+                        
+           if (icon)
+           {
+               if(!TreeListData(listData).hasChildren)
+               {
+                   removeChild(DisplayObject(icon));
+                   icon = null;
+               }
+           }
+                              
+      }
+        
+      override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void
+      {       
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+            
+            if(_listData)
+            {
+                myCheckBox.x = (TreeListData(listData).hasChildren) ? folderCbX : leafCbX;
+				myCheckBox.y = 2;
+                if(! TreeListData(listData).hasChildren)
+                {
+                    super.label.x = myCheckBox.x + myCheckBox.width + margin;
+                }
+            }
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyCheckItemRendererUpdated.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyCheckItemRendererUpdated.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyCheckItemRendererUpdated.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyCheckItemRendererUpdated.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,111 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+//
+//      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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package comps {
+
+    import flash.display.DisplayObject;
+    import flash.xml.*;
+    
+    import mx.controls.CheckBox;
+    import mx.controls.Tree;
+    import mx.controls.listClasses.*;
+    import mx.controls.treeClasses.*;
+    import mx.core.IDataRenderer;
+ 
+
+    public class MyCheckItemRendererUpdated extends TreeItemRenderer
+    {
+
+        protected var myCheckBox:CheckBox;
+        private var listOwner:Tree;
+        private var folderCbX:uint = 32;
+        private var leafCbX:uint = 40;
+        private var margin:uint = 15;
+       
+        override protected function createChildren():void
+        {
+               super.createChildren();
+                
+               myCheckBox = new CheckBox();
+               addChild(myCheckBox);
+   
+        }   
+ 
+        override public function set data(value:Object):void
+        {
+           
+            super.data = value;
+            
+            if(value != null)
+            {
+            	
+                if(TreeListData(super.listData).hasChildren)
+		{
+	            myCheckBox.visible = false;
+                    myCheckBox.includeInLayout = false; 
+                }
+                else
+		{
+		    myCheckBox.visible = true;
+		    myCheckBox.includeInLayout = true; 
+                }
+                if(value.@selected == "true")
+                {
+                    myCheckBox.selected = true;
+                }
+		else
+                {
+                    myCheckBox.selected = false;
+                }                
+            }
+        }
+          
+       override protected function commitProperties():void
+       {
+           super.commitProperties();
+                        
+           if (icon)
+           {
+               if(!TreeListData(listData).hasChildren)
+               {
+                   removeChild(DisplayObject(icon));
+                   icon = null;
+               }
+           }
+                              
+      }
+     
+      override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void
+      {       
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+            
+            label.y = 0;
+            
+            if(super.listData)
+            {
+                myCheckBox.x = (TreeListData(listData).hasChildren) ? folderCbX : leafCbX;
+		myCheckBox.y = 0;
+		myCheckBox.setActualSize(8, myCheckBox.measuredHeight);
+                if(! TreeListData(listData).hasChildren)
+                {
+                    super.label.x = myCheckBox.x + myCheckBox.width + margin;
+                }
+            }
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyTreeItemRenderer.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyTreeItemRenderer.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyTreeItemRenderer.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/SWFs/comps/MyTreeItemRenderer.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,75 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+//
+//      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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package comps
+{
+
+import mx.controls.treeClasses.*;
+import mx.collections.*;
+
+	public class MyTreeItemRenderer extends TreeItemRenderer
+	{
+		
+        public function MyTreeItemRenderer() 
+		{
+			super();
+
+			// InteractiveObject variables.
+			mouseEnabled = false;
+			
+		}
+		
+		override public function set data(value:Object):void
+		{
+				if(value != null)
+				{ 
+				     super.data = value;
+				     if(TreeListData(super.listData).hasChildren)
+					{
+						setStyle("color", 0xff0000);
+						setStyle("fontWeight", 'bold');
+					}
+					else
+					{
+						setStyle("color", 0x000000);
+						setStyle("fontWeight", 'normal');
+					}
+				}
+			
+	        
+	    }
+	 
+
+	   override protected function updateDisplayList(unscaledWidth:Number,
+														  unscaledHeight:Number):void
+	   {
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+		        if(super.data)
+		        {
+				    if(TreeListData(super.listData).hasChildren)
+				    {
+				        var tmp:XMLList = new XMLList(TreeListData(super.listData).item);
+				        var myStr:int = tmp[0].children().length();
+				        super.label.text =  TreeListData(super.listData).label + "(" + myStr + ")";
+				    }
+				}
+	    }
+
+	}
+
+}

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomBranches.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomBranches.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomBranches.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomNodes.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomNodes.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomNodes.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomNodesUpdated.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomNodesUpdated.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/baselines/TreeCustomNodesUpdated.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/test_scripts/Tree_customItemRenderers.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/test_scripts/Tree_customItemRenderers.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/test_scripts/Tree_customItemRenderers.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/Tree/test_scripts/Tree_customItemRenderers.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<UnitTester testDir="itemRenderers/Halo/Tree/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Tree_customTests.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+public static function init(o:DisplayObject):void
+		{
+
+		}
+
+	]]>
+	</mx:Script>
+
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+
+	<testCases>
+    <!--custom parent renderers-->
+        <TestCase testID="CheckBoxRenderer_TreeBranches" description="This tests the visual appearance of a custom itemRenderer for Tree Branches that uses a CheckBox" keywords="[Tree, itemRenderers]">
+			<body>
+			    <DispatchKeyEvent keys="[TAB]" waitEvent="focusIn" waitTarget="treeCustomBranches" />
+			    <DispatchKeyEvent keys="[DOWN]" waitEvent="change" waitTarget="treeCustomBranches" />
+			    <DispatchKeyEvent keys="[RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomBranches" />
+			    <DispatchKeyEvent keys="[DOWN]" waitEvent="change" waitTarget="treeCustomBranches" />
+			    <DispatchKeyEvent keys="[RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomBranches" />
+				<CompareBitmap url="../baselines/TreeCustomBranches.png" target="treeCustomBranches" />
+			</body>
+		</TestCase>
+    <!--custom child renderers-->
+        <TestCase testID="CheckBoxRenderer_TreeNodes" description="This tests the visual appearance of a custom itemRenderer for Tree Nodes that uses a CheckBox" keywords="[CheckBox, Tree, itemRenderers]">
+			<body>
+			    <DispatchKeyEvent keys="[TAB]" waitEvent="focusIn" waitTarget="treeCustomNodes" />
+			    <DispatchKeyEvent keys="[DOWN]" waitEvent="change" waitTarget="treeCustomNodes" />
+			    <DispatchKeyEvent keys="[RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomNodes" />
+			    <DispatchKeyEvent keys="[DOWN]" waitEvent="change" waitTarget="treeCustomNodes" />
+			    <DispatchKeyEvent keys="[RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomNodes" />
+				<CompareBitmap url="../baselines/TreeCustomNodes.png" target="treeCustomNodes" />
+			</body>
+		</TestCase>
+    <!--custom child renderers-->
+        <TestCase testID="UpdatedCheckBoxRenderer_TreeNodes" description="This tests the visual appearance of a custom itemRenderer for Tree Nodes that uses a CheckBox" keywords="[CheckBox, Tree, itemRenderers]">
+			<body>
+			    <DispatchKeyEvent keys="[TAB,TAB,TAB,TAB]" waitEvent="focusIn" waitTarget="treeCustomNodes1" />
+			    <DispatchKeyEvent keys="[DOWN,RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomNodes1" />
+			    <DispatchKeyEvent keys="[DOWN,RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomNodes1" />
+			    <WaitForEffectsToEnd/>
+			    <DispatchKeyEvent keys="[DOWN,DOWN,RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomNodes1" />
+			    <WaitForEffectsToEnd/>
+			    <DispatchKeyEvent keys="[DOWN,DOWN,DOWN,DOWN,RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomNodes1" />
+			    <DispatchKeyEvent keys="[DOWN,RIGHT]" waitEvent="itemOpen" waitTarget="treeCustomNodes1" />
+			    <WaitForEffectsToEnd/>
+
+			    <CompareBitmap url="../baselines/TreeCustomNodesUpdated.png" target="treeCustomNodes1" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ImageHeaderRenderer.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ImageHeaderRenderer.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ImageHeaderRenderer.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ImageHeaderRenderer.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:HBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" verticalAlign="middle"
+    paddingLeft="2" paddingRight="2" horizontalScrollPolicy="off" horizontalGap="1"
+    mouseOver="onMouseOver()" mouseOut="onMouseOut()"
+    implements="mx.controls.listClasses.IListItemRenderer,mx.controls.listClasses.IDropInListItemRenderer">
+    <fx:Script>
+    <![CDATA[
+        import mx.controls.dataGridClasses.DataGridColumn;
+        import mx.controls.listClasses.BaseListData;
+
+        protected var _data:DataGridColumn;
+            protected var _listData:BaseListData;
+
+            [Bindable]
+            override public function get data():Object{
+                return _data;
+            }
+             override public function set data(value:Object):void{
+                if(value){
+                    _data = value as DataGridColumn;
+                }
+            }
+
+            [Bindable]
+            public function get listData():BaseListData{
+                return _listData;
+            }
+            public function set listData(value:BaseListData):void{
+                _listData = value;
+            }
+
+            private function onMouseOver():void{
+                over_icon.width = 8;
+                over_icon.visible = true;
+            }
+
+            private function onMouseOut():void{
+                over_icon.visible = false;
+                over_icon.width = 0;
+            }
+    ]]>
+    </fx:Script>
+    <mx:Image width="10" visible="false" id="over_icon" source="@Embed(source='../../../../../Assets/Images/smallredrect.jpg')"/>
+    <mx:Label text="{data.headerText}" paddingLeft="0" />
+</mx:HBox>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ItemRenderers_Bugs2_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ItemRenderers_Bugs2_spark.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ItemRenderers_Bugs2_spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ItemRenderers_Bugs2_spark.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<s:Application height="675" width="600" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+    creationComplete="initCatalog(contacts1)" >
+    <s:layout>
+        <s:VerticalLayout />
+    </s:layout>
+<fx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.CheckBox;
+
+   [Bindable]
+   public var catalog:ArrayCollection;
+   private static var contacts1:Array = [
+          {Character: false, Job: "Cook"},
+          {Character: false, Job: "Postman"},
+          {Character: false, Job: "Engineer"},
+          {Character: false, Job: "Teacher"},
+          {Character: false, Job: "Scientist"},
+          {Character: false, Job: "Clerk"},
+          {Character: false, Job: "Admin"},
+          {Character: false, Job: "President"},
+          {Character: false, Job: "Toy Maker"},
+          {Character: false, Job: "Clerk"},
+          {Character: false, Job: "Admin"},
+          {Character: false, Job: "President"},
+          {Character: false, Job: "Toy Maker"}
+    ];
+    private static var contacts2:Array = [
+          {Character: true, Job: "Cook"},
+          {Character: false, Job: "Postman"},
+          {Character: false, Job: "Engineer"},
+          {Character: false, Job: "Teacher"},
+          {Character: false, Job: "Scientist"},
+          {Character: false, Job: "Clerk"},
+          {Character: false, Job: "Admin"},
+          {Character: false, Job: "President"},
+          {Character: false, Job: "Toy Maker"},
+          {Character: false, Job: "Clerk"},
+          {Character: false, Job: "Admin"},
+          {Character: false, Job: "President"},
+          {Character: false, Job: "Toy Maker"}
+    ];
+
+    [Bindable]
+    private var fruits:ArrayCollection = new ArrayCollection(
+        [ {col1:"Apples",       col2:1234,          col3:"New York"},
+          {col1:"Oranges",      col2:3939,          col3:"Florida"},
+          {col1:"Grapes",       col2:1900,          col3:"California"},
+          {col1:"Bananas",      col2:4324,          col3:"California"},
+          {col1:"Mangoes",      col2:2456,          col3:"Florida"},
+          {col1:"Cherries",     col2:8732,          col3:"Washington"},
+          {col1:"Oranges",      col2:3939,          col3:"Florida"},
+          {col1:"Grapes",       col2:1900,          col3:"California"},
+          {col1:"Bananas",      col2:4324,          col3:"California"},
+          {col1:"Mangoes",      col2:2456,          col3:"Florida"},
+          {col1:"Cherries",     col2:8732,          col3:"Washington"},
+          {col1:"Oranges",      col2:3939,          col3:"Florida"},
+          {col1:"Grapes",       col2:1900,          col3:"California"},
+          {col1:"Bananas",      col2:4324,          col3:"California"},
+          {col1:"Mangoes",      col2:2456,          col3:"Florida"},
+          {col1:"Cherries",     col2:8732,          col3:"Washington"}
+    ]);
+
+    private function initCatalog(cat:Array):void
+    {
+        catalog = new ArrayCollection(cat);
+    }
+
+    public function changeSource():void
+    {
+        catalog.source=contacts2;
+        catalog.itemUpdated({Character: true, Job: "Cook"});
+    }
+
+]]>
+</fx:Script>
+<fx:Declarations>
+<fx:XMLList id="employees">
+        <employee>
+            <name>Christina Coenraets</name>
+            <phone>555-219-2270</phone>
+            <email>ccoenraets@fictitious.com</email>
+            <active>true</active>
+        </employee>
+        <employee>
+            <name>Joanne Wall</name>
+            <phone>555-219-2012</phone>
+            <email>jwall@fictitious.com</email>
+            <active>true</active>
+        </employee>
+        <employee>
+            <name>Maurice Smith</name>
+            <phone>555-219-2012</phone>
+            <email>maurice@fictitious.com</email>
+            <active>false</active>
+        </employee>
+        <employee>
+            <name>Mary Jones</name>
+            <phone>555-219-2000</phone>
+            <email>mjones@fictitious.com</email>
+            <active>true</active>
+        </employee>
+    </fx:XMLList>
+
+    <fx:Model
+        id="softwareModel"
+        source="../../../Assets/software.xml"/>
+</fx:Declarations>
+
+<fx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:HBox>
+    <mx:TileList id="tileList155740"
+        dataProvider="{softwareModel.title}"
+        itemRenderer="view.TileRenderer"
+        height="310" width="220"/>
+
+    <mx:DataGrid id="datagrid177700" width="100%" height="100%"
+        alternatingItemColors="[#FFFFFF, #CCCCCC]" editable="true"  dataProvider="{catalog}">
+        <mx:columns>
+            <mx:DataGridColumn headerText="Step" dataField="Job" editable="false"/>
+            <mx:DataGridColumn headerText="Completed" dataField="Character"
+                itemRenderer="mx.controls.CheckBox"
+                rendererIsEditor="true"
+                editorDataField="selected"/>
+        </mx:columns>
+    </mx:DataGrid>
+</mx:HBox>
+<mx:DataGrid id="datagrid9519" height="213" width="308" dataProvider="{fruits}" editable="true" >
+        <mx:columns>
+            <mx:DataGridColumn headerText="Column 1" dataField="col1" editable="false"/>
+            <mx:DataGridColumn headerText="Column 2" dataField="col2" editable="false"/>
+            <mx:DataGridColumn headerText="Column 3" dataField="col3" editable="true"
+                itemRenderer="mx.controls.TextInput"
+                rendererIsEditor="true"
+                editorDataField="text"
+            />
+        </mx:columns>
+</mx:DataGrid>
+
+<mx:DataGrid id="dgSpecialHeader" rowCount="5" dataProvider="{employees}">
+            <mx:columns>
+                <mx:DataGridColumn dataField="name" headerText="Name" headerRenderer="ImageHeaderRenderer" />
+                <mx:DataGridColumn dataField="phone" headerText="Phone" headerRenderer="ImageHeaderRenderer"/>
+                <mx:DataGridColumn dataField="email" headerText="Email" headerRenderer="ImageHeaderRenderer"/>
+            </mx:columns>
+        </mx:DataGrid>
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ItemRenderers_Bugs_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ItemRenderers_Bugs_spark.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ItemRenderers_Bugs_spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/ItemRenderers_Bugs_spark.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" width="800" height="850"
+    xmlns:comps="comps.*" creationComplete="srv.send()">
+    <s:layout>
+        <s:VerticalLayout />
+    </s:layout>
+<fx:Script>
+    <![CDATA[
+
+import mx.collections.*;
+import mx.formatters.DateFormatter;
+import mx.controls.DateField;
+import mx.collections.ArrayCollection;
+
+[Bindable]
+   public var dp127773:Array = [
+		{ name: "Person E",
+		  cdata: true,
+		  phone: "999-555-6589",
+		  image: "../../../Assets/products/putty.jpg"},
+		{ name: "Person F",
+		  cdata: false,
+		  phone: "999-555-3353",
+		  image: "../../../Assets/products/putty.jpg"},
+		{ name: "Person C",
+		  cdata: true,
+		  phone: "999-555-2453",
+		  image: "../../../Assets/products/putty.jpg"},
+		{ name: "Person G",
+		  cdata: false,
+		  phone: "999-555-6549",
+		  image: "../../../Assets/products/putty.jpg"}
+	];
+
+     private var today:Date = new Date(2007, 10,5);
+     public var newDate:Date = new Date(2007, 9,7);
+
+	 [Bindable]
+	 public var dp192034:ArrayCollection = new ArrayCollection([
+		 {Date:today, Price:11.99, Quantity:2.0, Description:"2.0 items at 11.99"},
+		 {Date:today, Price:1.50, Quantity:20.0, Description:"20.0 items at 1.50"},
+		 {Date:today, Price:0.99, Quantity:1.0, Description:"1.0 items at 0.99"},
+		 {Date:today, Price:4.00, Quantity:8.0, Description:"8.0 items at 4.00"}
+	 ]);
+
+	 private function formatDate(obj:Object, column:DataGridColumn):String
+	 {
+	    var value:Date = obj[column.dataField] as Date;
+	    var formatter:DateFormatter = new DateFormatter();
+	    formatter.formatString = "MM/DD/YYYY";
+	    return formatter.format(value);
+     }
+
+  ]]>
+</fx:Script>
+<fx:Declarations>
+    <mx:HTTPService id="srv" url="../../../Assets/weather.xml" />
+</fx:Declarations>
+
+<mx:HBox>
+
+  <comps:CustomGrid id="dataGrid127773" rowHeight="200" dataProvider="{dp127773}" />
+
+   <mx:VBox>
+    <mx:DataGrid id="dataGrid192034" editable="true" dataProvider="{dp192034}">
+        <mx:columns>
+            <mx:DataGridColumn headerText="Date" dataField="Date" labelFunction="formatDate"
+                itemEditor="mx.controls.DateField" editorDataField="selectedDate"/>
+            <mx:DataGridColumn headerText="Price" dataField="Price"/>
+            <mx:DataGridColumn headerText="Quantity" dataField="Quantity"/>
+            <mx:DataGridColumn headerText="Description" dataField="Description"/>
+        </mx:columns>
+    </mx:DataGrid>
+    <mx:DataGrid id="dataGrid_basic" />
+
+    <mx:DataGrid id="dataGrid142954" rowHeight="75" editable="true" dataProvider="{dp127773}" width="300" height="300">
+	   <mx:columns>
+	     <fx:Array>
+	       <mx:DataGridColumn dataField="name" />
+	       <mx:DataGridColumn dataField="cdata" editable="true" itemEditor="comps.ScrollingComp"
+              editorDataField="dummy" />
+	     </fx:Array>
+	   </mx:columns>
+ </mx:DataGrid>
+
+    </mx:VBox>
+</mx:HBox>
+
+
+<mx:HBox>
+    <comps:ListImage id="dataGrid148528" />
+
+    <mx:DataGrid id="dataGrid164648" dataProvider="{srv.lastResult.weather.node}"
+	    variableRowHeight="true" editable="true" rowHeight="50"
+	    width="300" height="300">
+	    <mx:columns>
+	        <mx:DataGridColumn dataField="Location"/>
+	        <mx:DataGridColumn dataField="Climate" editable="true" editorDataField="value">
+	            <mx:itemEditor>
+		            <fx:Component>
+		                <mx:ComboBox editable="true">
+			                <mx:dataProvider>
+			                    <fx:String>Mild</fx:String>
+			                    <fx:String>Hot</fx:String>
+			                    <fx:String>Foggy</fx:String>
+			                    <fx:String>Rainy</fx:String>
+			                    <fx:String>Snow</fx:String>
+			                </mx:dataProvider>
+		                </mx:ComboBox>
+		            </fx:Component>
+	            </mx:itemEditor>
+	        </mx:DataGridColumn>
+	    </mx:columns>
+</mx:DataGrid>
+</mx:HBox>
+
+</s:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/assets/weather.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/assets/weather.xml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/assets/weather.xml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/assets/weather.xml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<weather>
+   <node Location="Los Angeles" Climate="Mild" />
+   <node Location="Boston" Climate="Snow" />
+   <node Location="Houston" Climate="Rainy" />
+   <node Location="Paris" Climate="Rainy" />
+   <node Location="San Diego" Climate="Hot" />
+   <node Location="New York" Climate="Foggy" />
+   <node Location="Nashville" Climate="Mild" />
+   <node Location="Lake Merritt" Climate="Foggy" />
+   <node Location="Austin" Climate="Mild" />
+   <node Location="Evanston" Climate="Hot" />
+   <node Location="Providence" Climate="Foggy" />
+   <node Location="Albany" Climate="Rainy" />
+</weather>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/comps/CustomGrid.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/comps/CustomGrid.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/comps/CustomGrid.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/comps/CustomGrid.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:DataGrid xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" rowHeight="200"
+   width="200" height="500" editable="true" sortableColumns="false">
+     <mx:columns>
+		<mx:DataGridColumn dataField="Info" editable="true" rendererIsEditor="true"
+		   itemRenderer="comps.MyContact" editorDataField="name" />
+     </mx:columns>
+   </mx:DataGrid>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/comps/DataGridButton.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/comps/DataGridButton.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/comps/DataGridButton.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/SWFs/comps/DataGridButton.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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
+
+      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.
+
+-->
+<mx:DataGrid xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+    editable="true" width="300" height="150"  >
+
+<fx:Script>
+  <![CDATA[
+       import mx.controls.Button;
+  ]]>
+</fx:Script>
+		 <mx:columns>
+			 <mx:DataGridColumn  dataField="label" />
+			 <mx:DataGridColumn dataField="available"
+			     rendererIsEditor="true" editorDataField="selected" >
+			     <mx:itemRenderer>
+			         <fx:Component>
+			             <mx:Button toggle="true" />
+			         </fx:Component>
+			     </mx:itemRenderer>
+			 </mx:DataGridColumn>
+		 </mx:columns>
+</mx:DataGrid>
+



Mime
View raw message