You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2012/08/07 17:39:45 UTC
svn commit: r1370323 [4/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...
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListNumericStepper.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListNumericStepper.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListNumericStepper.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListNumericStepper.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:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+ dataProvider="{contacts1}" width="300" height="80" >
+
+<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:HorizontalList>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListText.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListText.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListText.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListText.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:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+ dataProvider="{contacts1}" width="300" height="80" >
+
+<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:HorizontalList>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListTextinput.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListTextinput.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListTextinput.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListTextinput.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:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+ dataProvider="{contacts1}" width="300" height="80" >
+
+<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:HorizontalList>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/MyComboBox.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/MyComboBox.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/MyComboBox.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/MyComboBox.as Tue Aug 7 15:39:33 2012
@@ -0,0 +1,31 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.*;
+import mx.core.*;
+
+ public class MyComboBox extends ComboBox
+ {
+ public function MyComboBox()
+ {
+ dataProvider = ['Red', 'Fuscia', 'Black', 'White', 'Yellow', 'Green', 'Periwinkle'];
+ }
+ }
+}
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/horizontalList_Basic.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/horizontalList_Basic.compile?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/horizontalList_Basic.compile (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/horizontalList_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/HorizontalList/SWFs/horizontalList_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/horizontalList_Basic.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/horizontalList_Basic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/horizontalList_Basic.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,82 @@
+<?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:HListCheckbox id="checkHList" />
+
+ <!-- Button itemRenderer -->
+ <comps:HListButton id="buttonHList" />
+</mx:HBox>
+
+<mx:HBox>
+ <!-- NumericStepper itemRenderer -->
+ <comps:HListNumericStepper id="nsHList" />
+
+ <!-- ComboBox itemRenderer -->
+ <comps:HListCombobox id="comboHList" />
+</mx:HBox>
+
+<mx:HBox>
+ <!--DateField itemRenderer -->
+ <comps:HListDateField id="dateHList" />
+
+ <!-- Label itemRenderer -->
+ <comps:HListLabel id="labelHList" />
+
+</mx:HBox>
+
+<mx:HBox>
+ <!-- Image itemRenderer -->
+ <comps:HListText id="textHList" />
+
+ <!-- Text itemRenderer -->
+ <comps:HListImage id="imageHList" />
+
+</mx:HBox>
+
+ <comps:HListTextinput id="textinputHList" />
+ <mx:HorizontalList id="HListBasic" width="300" dataProvider="{myData}" />
+ </mx:Application>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/buttonRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/buttonRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/buttonRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/buttonRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/buttonRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/buttonRendererAS.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/checkBoxRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/checkBoxRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/checkBoxRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/checkBoxRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/checkBoxRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/checkBoxRendererAS.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/comboBoxRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/comboBoxRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/comboBoxRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/comboBoxRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/comboBoxRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/comboBoxRendererAS.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/dateFieldRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/dateFieldRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/dateFieldRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/dateFieldRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/dateFieldRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/dateFieldRendererAS.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/imageRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/imageRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/imageRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/imageRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/imageRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/imageRendererAS.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/labelRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/labelRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/labelRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/labelRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/labelRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/labelRendererAS.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/numStepperRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/numStepperRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/numStepperRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/numericStepperRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/numericStepperRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/numericStepperRendererAS.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/textRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/textRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/textRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/textRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/textRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/baselines/textRendererAS.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/test_scripts/HorizontalList_itemRenderer.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/test_scripts/HorizontalList_itemRenderer.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/test_scripts/HorizontalList_itemRenderer.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/test_scripts/HorizontalList_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/HorizontalList/test_scripts/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="horizontalList_Basic.mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.controls.HorizontalList;
+ 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="[HorizontalList, CheckBox, itemRenderers]">
+ <setup>
+ <ResetComponent target="checkHList" className="comps.HListCheckbox" waitTarget="checkHList" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <!--Pause timeout="400" /-->
+ <CompareBitmap url="../baselines/checkBoxRenderer.png" target="checkHList.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+ <TestCase testID="CheckBoxRenderer_ASVisualCheck" description="Visual Check of a CheckBox CellRenderer set at runtime" keywords="[HorizontalList, Runtime, CheckBox, itemRenderers]">
+ <setup>
+ <ResetComponent target="HListBasic" className="mx.controls.HorizontalList" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+ <SetProperty target="HListBasic" propertyName="height" value="70" />
+ <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <SetProperty propertyName="labelField" target="HListBasic" value="available" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.CheckBox)" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <CompareBitmap url="../baselines/checkBoxRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+<!--Button renderer-->
+ <TestCase testID="ButtonRenderer_VisualCheckMXML" description="Visual Check of a Button CellRenderer" keywords="[HorizontalList,Button, itemRenderers]">
+ <setup>
+ <ResetComponent target="buttonHList" className="comps.HListButton" waitTarget="buttonHList" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <CompareBitmap url="../baselines/buttonRenderer.png" target="buttonHList.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+ <TestCase testID="ButtonRenderer_ASVisualCheck" description="Visual Check of a Button CellRenderer set at runtime" keywords="[HorizontalList, Runtime, Button, itemRenderers]">
+ <setup>
+ <ResetComponent target="HListBasic" className="mx.controls.HorizontalList" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+ <SetProperty target="HListBasic" propertyName="height" value="70" />
+ <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.Button)" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <CompareBitmap url="../baselines/buttonRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+<!--NumericStepper renderer-->
+ <TestCase testID="NumericStepperRenderer_VisualCheckMXML" description="Visual Check of a NumericStepper CellRenderer" keywords="[HorizontalList,NumericStepper, itemRenderers]">
+ <setup>
+ <ResetComponent target="nsHList" className="comps.HListNumericStepper" waitTarget="nsHList" waitEvent="updateComplete" />
+ </setup>
+ <body>
+ <CompareBitmap url="../baselines/numStepperRenderer.png" target="nsHList.mx_internal:rendererArray.0.0" />
+ </body>
+ </TestCase>
+ <TestCase testID="NumericStepperRenderer_ASVisualCheck" description="Visual Check of a NumericStepper CellRenderer set at runtime" keywords="[HorizontalList, Runtime, NumericStepper, itemRenderers]">
+ <setup>
+ <ResetComponent target="HListBasic" className="mx.controls.HorizontalList" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <SetProperty target="HListBasic" propertyName="height" value="70" />
+ <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+ <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <SetProperty propertyName="labelField" target="HListBasic" value="quantity" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.NumericStepper)" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <CompareBitmap url="../baselines/numericStepperRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+<!--Label renderer-->
+ <TestCase testID="LabelRenderer_VisualCheckMXML" description="Visual Check of a Label CellRenderer" keywords="[HorizontalList,Label, itemRenderers]">
+ <setup>
+ <ResetComponent target="labelHList" className="comps.HListLabel" waitTarget="labelHList" waitEvent="updateComplete" />
+ </setup>
+ <body>
+ <CompareBitmap url="../baselines/labelRenderer.png" target="labelHList.mx_internal:rendererArray.0.2" />
+ </body>
+ </TestCase>
+ <TestCase testID="LabelRenderer_ASVisualCheck" description="Visual Check of a Label CellRenderer set at runtime" keywords="[HorizontalList, Runtime, Label, itemRenderers]">
+ <setup>
+ <ResetComponent target="HListBasic" className="mx.controls.HorizontalList" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <SetProperty target="HListBasic" propertyName="height" value="70" />
+ <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+ <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.Label)" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <CompareBitmap url="../baselines/labelRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+<!--Text renderer-->
+ <TestCase testID="TextRenderer_VisualCheckMXML" description="Visual Check of a Text CellRenderer" keywords="[HorizontalList,Text, itemRenderers]">
+ <setup>
+ <ResetComponent target="textHList" className="comps.HListText" waitTarget="textHList" waitEvent="updateComplete" />
+ </setup>
+ <body>
+ <CompareBitmap url="../baselines/textRenderer.png" target="textHList.mx_internal:rendererArray.0.2" />
+ </body>
+ </TestCase>
+ <TestCase testID="TextRenderer_ASVisualCheck" description="Visual Check of a Text CellRenderer set at runtime" keywords="[HorizontalList, Runtime, Text, itemRenderers]">
+ <setup>
+ <ResetComponent target="HListBasic" className="mx.controls.HorizontalList" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <SetProperty target="HListBasic" propertyName="height" value="70" />
+ <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+ <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.Text)" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <CompareBitmap url="../baselines/textRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+<!--ComboBox renderer-->
+ <TestCase testID="ComboBoxRenderer_VisualCheckMXML" description="Visual Check of a ComboBox CellRenderer" keywords="[HorizontalList,ComboBox, itemRenderers]">
+ <setup>
+ <ResetComponent target="comboHList" className="comps.HListCombobox" waitTarget="comboHList" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <CompareBitmap url="../baselines/comboBoxRenderer.png" target="comboHList.mx_internal:rendererArray.0.2" />
+ </body>
+ </TestCase>
+ <TestCase testID="ComboBoxRenderer_ASVisualCheck" description="Visual Check of a ComboBox CellRenderer set at runtime" keywords="[HorizontalList, Runtime, ComboBox, itemRenderers]">
+ <setup>
+ <ResetComponent target="HListBasic" className="mx.controls.HorizontalList" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <SetProperty target="HListBasic" propertyName="height" value="70" />
+ <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+ <SetProperty propertyName="labelField" target="HListBasic" value="color" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(MyComboBox)" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <CompareBitmap url="../baselines/comboBoxRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+<!--DateField renderer-->
+ <TestCase testID="DateFieldRenderer_VisualCheckMXML" description="Visual Check of a DateField CellRenderer" keywords="[HorizontalList,DateField, itemRenderers]">
+ <setup>
+ <ResetComponent target="dateHList" className="comps.HListDateField" waitTarget="dateHList" waitEvent="updateComplete" />
+ </setup>
+ <body>
+ <CompareBitmap url="../baselines/dateFieldRenderer.png" target="dateHList.mx_internal:rendererArray.0.2" />
+ </body>
+ </TestCase>
+ <TestCase testID="DateFieldRenderer_ASVisualCheck" description="Visual Check of a DateField CellRenderer set at runtime" keywords="[HorizontalList, Runtime, DateField, itemRenderers]">
+ <setup>
+ <ResetComponent target="HListBasic" className="mx.controls.HorizontalList" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <SetProperty target="HListBasic" propertyName="height" value="70" />
+ <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+ <SetProperty propertyName="labelField" target="HListBasic" value="shipDate" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.DateField)" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <CompareBitmap url="../baselines/dateFieldRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+ <!-- Image renderer -->
+ <TestCase testID="ImageRenderer_VisualCheckMXML" description="Visual Check of a Image CellRenderer" keywords="[HorizontalList,Image, itemRenderers]">
+ <setup>
+ <ResetComponent target="imageHList" className="comps.HListImage" waitTarget="imageHList" waitEvent="updateComplete" />
+ </setup>
+ <body>
+ <AssertEvent target="imageHList.mx_internal:rendererArray.0.3" eventName="complete" eventClass="flash.events::Event" />
+ <CompareBitmap url="../baselines/imageRenderer.png" target="imageHList.mx_internal:rendererArray.0.3" />
+ </body>
+ </TestCase>
+ <TestCase testID="ImageRenderer_ASVisualCheck" description="Visual Check of a Image CellRenderer set at runtime" keywords="[HorizontalList, Runtime, Image, itemRenderers]">
+ <setup>
+ <ResetComponent target="HListBasic" className="mx.controls.HorizontalList" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <SetProperty target="HListBasic" propertyName="height" value="70" />
+ </setup>
+ <body>
+ <SetProperty propertyName="labelField" target="HListBasic" value="url" waitTarget="HListBasic" waitEvent="updateComplete" />
+ <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.Image)" />
+ <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+ <AssertEvent target="HListBasic.mx_internal:rendererArray.0.1" eventName="complete" eventClass="flash.events::Event" />
+
+ <!--Pause timeout="2000" /-->
+ <CompareBitmap url="../baselines/imageRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+ </body>
+ </TestCase>
+ </testCases>
+</UnitTester>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_customTests.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_customTests.compile?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_customTests.compile (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_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/List/SWFs/List_customTests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_customTests.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_customTests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_customTests.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,90 @@
+<?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[
+
+ import mx.controls.TextInput;
+ import mx.controls.Label;
+ import mx.controls.Text;
+ import mx.events.ListEvent;
+ import mx.controls.dataGridClasses.*;
+ import mx.controls.listClasses.*;
+
+ [Bindable]
+ public var contacts1:Array = [
+ {Photo: 5}, {Photo: 6}, {Photo: 8}, {Photo: 10}
+ ];
+
+ public function doTest(event:ListEvent):void
+ {
+ event.preventDefault();
+
+ var myfocus:Object = {columnIndex:event.columnIndex, rowIndex:event.rowIndex};
+ list_basic.editedItemPosition = myfocus;
+ list_basic.createItemEditor(event.columnIndex, event.rowIndex);
+
+ if (list_basic.editedItemRenderer is IDropInListItemRenderer && list_basic.itemEditorInstance is IDropInListItemRenderer)
+ IDropInListItemRenderer(list_basic.itemEditorInstance).listData = IDropInListItemRenderer(list_basic.editedItemRenderer).listData;
+
+ list_basic.itemEditorInstance.data = list_basic.editedItemRenderer.data;
+
+ }
+
+ public function finishEdit(event:ListEvent) : void
+ {
+ event.preventDefault();
+ list_basic.destroyItemEditor();
+ }
+
+ public function changeLabel(obj:Object, col:Object):String
+ {
+ if(obj.Available)
+ {
+ return "Yes";
+ }
+ else
+ {
+ return "No";
+ }
+ }
+
+ ]]>
+</mx:Script>
+
+<mx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+ <mx:List id="list_basic" dataProvider="{contacts1}" labelField="Photo" />
+
+ <mx:List id="list_11080" itemRenderer="comps.MoreInfoComp" variableRowHeight="true" height="200" width="250" >
+ <mx:dataProvider>
+ <mx:Array>
+ <mx:Object label="Alabama" data="Montgomery" webPage="http://www.alabama.gov/" expanded="false"
+ moreInfo="dkfjh dsfhj akds hjfdh lka flkahflkajdshflkja flk fdl dsf ldshf lhahd flahflkads hflkasd hflksa hflk hfdlkjsa hfdlkja hfdlka hflka " />
+ <mx:Object label="Alaska" data="Juneau" webPage="http://www.state.ak.us/" expanded="false"
+ moreInfo="dkfjh dsfhj akds hjfdh lka flkahflkajdshflkja flk fdl dsf ldshf lhahd flahflkads hflkasd hflksa hflk hfdlkjsa hfdlkja hfdlka hflka " />
+ <mx:Object label="Arkansas" data="Little Rock" webPage="http://www.state.ar.us/" expanded="false"
+ moreInfo="dkfjh dsfhj akds hjfdh lka flkahflkajdshflkja flk fdl dsf ldshf lhahd flahflkads hflkasd hflksa hflk hfdlkjsa hfdlkja hfdlka hflka " />
+ </mx:Array>
+ </mx:dataProvider>
+ </mx:List>
+
+</mx:Application>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemEditorTests.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemEditorTests.compile?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemEditorTests.compile (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemEditorTests.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/List/SWFs/List_itemEditorTests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemEditorTests.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemEditorTests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemEditorTests.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,41 @@
+<?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:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:HBox>
+ <!-- CheckBox itemRenderer -->
+ <comps:EditorListCheckBox id="checkList2" />
+
+ <!--DateField itemRenderer -->
+ <comps:EditorListDateField id="dateList2" />
+</mx:HBox>
+
+<mx:HBox>
+ <!-- NumericStepper itemRenderer -->
+ <comps:EditorListNumericStepper id="nsList2" />
+
+ <!-- ComboBox itemRenderer -->
+ <comps:EditorListComboBox id="comboList2" />
+</mx:HBox>
+
+ </mx:Application>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemRendererTests.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemRendererTests.compile?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemRendererTests.compile (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemRendererTests.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/List/SWFs/List_itemRendererTests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemRendererTests.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemRendererTests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/List_itemRendererTests.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,68 @@
+<?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="init()">
+<mx:Script>
+<![CDATA[
+ import flash.system.*;
+
+ private function init(): void
+ {
+ // Security.allowDomain("*");
+ }
+]]>
+</mx:Script>
+<mx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:HBox>
+ <!-- CheckBox itemRenderer -->
+ <comps:ListCheckBox id="checkList" />
+
+ <!-- Button itemRenderer -->
+ <comps:ListButton id="buttonList" />
+</mx:HBox>
+
+<mx:HBox>
+ <!-- NumericStepper itemRenderer -->
+ <comps:ListNumericStepper id="nsList" />
+
+ <!-- ComboBox itemRenderer -->
+ <comps:ListComboBox id="comboList" />
+</mx:HBox>
+
+<mx:HBox>
+ <!--DateField itemRenderer -->
+ <comps:ListDateField id="dateList" />
+
+ <!-- Label itemRenderer -->
+ <comps:ListLabel id="labelList" />
+
+</mx:HBox>
+
+<mx:HBox>
+ <!-- Image itemRenderer -->
+ <comps:ListText id="textList" />
+
+ <!-- Text itemRenderer -->
+ <comps:ListImage id="imageList" />
+
+</mx:HBox>
+
+ </mx:Application>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListCheckBox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListCheckBox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListCheckBox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListCheckBox.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,28 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml"
+ editable="true" width="300" height="150"
+ itemEditor="mx.controls.CheckBox" labelField="available"
+ editorDataField="selected" >
+ <mx:Script>
+ import mx.controls.CheckBox;
+ </mx:Script>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListComboBox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListComboBox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListComboBox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListComboBox.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,47 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml"
+ editable="true" width="300" height="150" labelField="color"
+ editorDataField="selectedItem" >
+ <mx:itemEditor>
+ <mx:Component>
+ <mx:ComboBox>
+ <mx:dataProvider>
+ <mx:String>Red</mx:String>
+ <mx:String>Green</mx:String>
+ <mx:String>Blue</mx:String>
+ <mx:String>Black</mx:String>
+ <mx:String>White</mx:String>
+ <mx:String>Fuscia</mx:String>
+ <mx:String>Rose</mx:String>
+ <mx:String>Periwinkle</mx:String>
+ <mx:String>Yellow</mx:String>
+ </mx:dataProvider>
+ </mx:ComboBox>
+ </mx:Component>
+ </mx:itemEditor>
+<mx:Script>
+ <![CDATA[
+ import mx.controls.ComboBox;
+
+ ]]>
+</mx:Script>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListDateField.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListDateField.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListDateField.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListDateField.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,31 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
+editable="true" width="300" height="150" labelField="shipDate"
+itemEditor="mx.controls.DateField" editorDataField="selectedDate">
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.DateField;
+
+ ]]>
+</mx:Script>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListNumericStepper.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListNumericStepper.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListNumericStepper.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/EditorListNumericStepper.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,31 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
+ editable="true" width="300" height="150" labelField="quantity"
+ itemEditor="mx.controls.NumericStepper" editorDataField="value">
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.NumericStepper;
+
+ ]]>
+</mx:Script>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/LabelCheckComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/LabelCheckComp.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/LabelCheckComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/LabelCheckComp.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+
+ 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:VBox xmlns:mx="http://www.adobe.com/2006/mxml" height="120" width="200" backgroundColor="0xDDDDDD">
+ <mx:Script>
+ public var checkBoxValue:Boolean;
+ private function changeData(): void
+ {
+ data.cdata = confirmed.selected;
+ }
+</mx:Script>
+<mx:Binding source="confirmed.selected" destination="checkBoxValue" />
+<mx:Label id="contact" text="{data.phone}"/>
+ <mx:CheckBox id="confirmed" label="Confirmed" click="changeData()" selected="{data.cdata}" />
+ </mx:VBox>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/LabelCheckComp2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/LabelCheckComp2.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/LabelCheckComp2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/LabelCheckComp2.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+
+ 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:mx="http://www.adobe.com/2006/mxml" height="120" width="200" backgroundColor="0xFFFFFF">
+ <mx:Script>
+ public var mySelected:Boolean;
+
+</mx:Script>
+<mx:Binding source="confirmed.selected" destination="mySelected" />
+
+
+<mx:Label id="contact" text="{data.phone}"/>
+ <mx:CheckBox id="confirmed" label="Confirmed" selected="{data.cdata}" />
+ </mx:HBox>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListButton.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListButton.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListButton.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListButton.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,38 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml"
+ editable="true" width="300" height="150"
+ labelField="available"
+ rendererIsEditor="true" editorDataField="selected" >
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.Button;
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+ <mx:Component>
+ <mx:Button toggle="true" />
+ </mx:Component>
+</mx:itemRenderer>
+
+</mx:List>
+
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListCheckBox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListCheckBox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListCheckBox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListCheckBox.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,28 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml"
+ editable="true" width="300" height="150"
+ itemRenderer="mx.controls.CheckBox" labelField="available"
+ rendererIsEditor="true" editorDataField="selected">
+ <mx:Script>
+ import mx.controls.CheckBox;
+ </mx:Script>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListComboBox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListComboBox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListComboBox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListComboBox.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,49 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml"
+ editable="true" width="300" height="150" labelField="color"
+ rendererIsEditor="true" editorDataField="selectedItem" >
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.ComboBox;
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+ <mx:Component>
+ <mx:ComboBox>
+ <mx:dataProvider>
+ <mx:String>Red</mx:String>
+ <mx:String>Green</mx:String>
+ <mx:String>Blue</mx:String>
+ <mx:String>Black</mx:String>
+ <mx:String>White</mx:String>
+ <mx:String>Fuscia</mx:String>
+ <mx:String>Rose</mx:String>
+ <mx:String>Periwinkle</mx:String>
+ <mx:String>Yellow</mx:String>
+ </mx:dataProvider>
+ </mx:ComboBox>
+ </mx:Component>
+</mx:itemRenderer>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListDateField.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListDateField.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListDateField.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListDateField.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,31 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
+ editable="true" width="300" height="150"
+ itemRenderer="mx.controls.DateField" labelField="shipDate"
+ rendererIsEditor="true" editorDataField="selectedDate" >
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.DateField;
+ ]]>
+</mx:Script>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListImage.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListImage.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListImage.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListImage.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,37 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
+ editable="false" width="300" height="150" rowHeight="32" labelField="url">
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.Image;
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+ <mx:Component>
+ <mx:Image source="{data.url}" />
+ </mx:Component>
+</mx:itemRenderer>
+
+</mx:List>
+
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListLabel.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListLabel.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListLabel.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListLabel.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,36 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
+editable="true" width="300" height="150" >
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.Label;
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+ <mx:Component>
+ <mx:Label color="0xFF0000" />
+ </mx:Component>
+</mx:itemRenderer>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListNumericStepper.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListNumericStepper.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListNumericStepper.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListNumericStepper.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,31 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
+editable="true" width="300" height="150" itemRenderer="mx.controls.NumericStepper"
+labelField="quantity" rendererIsEditor="true" editorDataField="value">
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.NumericStepper;
+
+ ]]>
+</mx:Script>
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListText.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListText.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListText.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/ListText.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,36 @@
+<?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:List xmlns:mx="http://www.adobe.com/2006/mxml"
+editable="true" width="300" height="150" >
+
+<mx:Script>
+ <![CDATA[
+ import mx.controls.Text;
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+ <mx:Component>
+ <mx:Text color="0x0000FF" fontWeight="bold" />
+ </mx:Component>
+</mx:itemRenderer>
+
+ </mx:List>
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MoreInfoComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MoreInfoComp.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MoreInfoComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MoreInfoComp.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,53 @@
+<?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.
+
+-->
+<!-- RendererStateMoreInfo.mxml -->
+
+ <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white" >
+
+ <mx:Script>
+ <![CDATA[
+
+ // Import Event and URLRequest classes.
+ import flash.events.Event;
+ import flash.net.URLRequest;
+
+ private var u:URLRequest;
+
+ // Event handler to open URL.
+ private function handleClick(eventObj:Event): void {
+ u = new URLRequest(data.webPage);
+ navigateToURL(u);
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:HBox >
+ <mx:Label id="State" text="State: {data.label}"/>
+ <mx:Label id="StateCapitol" text="Capitol: {data.data}" />
+ </mx:HBox>
+
+ <mx:LinkButton id="webPage" label="Official {data.label} Web page"
+ click="handleClick(event);" color="blue" />
+
+ <mx:LinkButton label="More Information" color="blue" fontSize="8"
+ click="data.expanded = true;mInfo.visible=true;mInfo.height=50" />
+ <mx:Text id="mInfo" text="{data.moreInfo}" visible="{data.expanded}" height="{data.expanded ? 50 : 0}" width="200" />
+ </mx:VBox>
+
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MyComboBox.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MyComboBox.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MyComboBox.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MyComboBox.as Tue Aug 7 15:39:33 2012
@@ -0,0 +1,31 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 {
+
+import mx.controls.*;
+import mx.core.*;
+
+ public class MyComboBox extends ComboBox
+ {
+ public function MyComboBox()
+ {
+ dataProvider = ['Yes', 'No', 'Maybe'];
+ }
+ }
+}
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MyHeader.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MyHeader.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MyHeader.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/MyHeader.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+
+ 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:mx="http://www.adobe.com/2006/mxml" height="48" >
+
+ <mx:Image source="assets/orb.jpg"/>
+ <mx:Label id="updatedText" text="hello" color="0xFF0000" />
+
+</mx:HBox>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/SimpleComp2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/SimpleComp2.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/SimpleComp2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/SWFs/comps/SimpleComp2.mxml Tue Aug 7 15:39:33 2012
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+
+ 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:VBox xmlns:mx="http://www.adobe.com/2006/mxml" height="180" width="200" backgroundColor="0xFFFFFF" horizontalAlign="center" >
+<mx:Script>
+ public var selectedProp:Boolean;
+</mx:Script>
+<mx:Binding source="confirmed.selected" destination="selectedProp" />
+ <mx:Label id="title" text="{data.Artist}"/>
+ <mx:CheckBox id="confirmed" label="Confirmed" selected="{data.Available}" />
+ </mx:VBox>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/AIRnumStepperItemEditor.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/AIRnumStepperItemEditor.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/AIRnumStepperItemEditor.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/buttonRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/buttonRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/buttonRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/checkBoxItemEditor.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/checkBoxItemEditor.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/checkBoxItemEditor.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/checkBoxRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/checkBoxRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/checkBoxRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/comboBoxItemEditor.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/comboBoxItemEditor.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/comboBoxItemEditor.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/comboBoxRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/comboBoxRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/comboBoxRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/dateFieldItemEditor.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/dateFieldItemEditor.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/dateFieldItemEditor.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/dateFieldRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/dateFieldRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/dateFieldRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/imageRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/imageRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/imageRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/itemRenderer_Bug160800.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/itemRenderer_Bug160800.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/itemRenderer_Bug160800.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/labelRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/labelRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/labelRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/labelRenderer_201.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/labelRenderer_201.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/labelRenderer_201.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperItemEditor.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperItemEditor.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperItemEditor.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperRenderer.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperRenderer_201.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperRenderer_201.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.