Return-Path: X-Original-To: apmail-incubator-flex-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F9B2D413 for ; Fri, 7 Dec 2012 21:18:18 +0000 (UTC) Received: (qmail 47226 invoked by uid 500); 7 Dec 2012 21:18:18 -0000 Delivered-To: apmail-incubator-flex-commits-archive@incubator.apache.org Received: (qmail 47190 invoked by uid 500); 7 Dec 2012 21:18:18 -0000 Mailing-List: contact flex-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-commits@incubator.apache.org Received: (qmail 47181 invoked by uid 99); 7 Dec 2012 21:18:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 21:18:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 21:18:14 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 72D3823889E0; Fri, 7 Dec 2012 21:17:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1418481 [3/3] - in /incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid: Interaction/ Properties/ Properties/Baselines/ SWFs/ Date: Fri, 07 Dec 2012 21:17:51 -0000 To: flex-commits@incubator.apache.org From: cframpton@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121207211752.72D3823889E0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/Baselines/column_withRenderer_test001_lastPage.png URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/Baselines/column_withRenderer_test001_lastPage.png?rev=1418481&r1=1418480&r2=1418481&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/Baselines/column_withRenderer_test001_page1.png URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/Baselines/column_withRenderer_test001_page1.png?rev=1418481&r1=1418480&r2=1418481&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_Properties_editable.mxml URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_Properties_editable.mxml?rev=1418481&r1=1418480&r2=1418481&view=diff ============================================================================== --- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_Properties_editable.mxml (original) +++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_Properties_editable.mxml Fri Dec 7 21:17:50 2012 @@ -1261,26 +1261,27 @@ - - - - - + + + + + + - - - - - - - - - + + + + + + + + + + - - + @@ -1698,4 +1699,4 @@ - + \ No newline at end of file Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_Properties_sortable.mxml URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_Properties_sortable.mxml?rev=1418481&r1=1418480&r2=1418481&view=diff ============================================================================== --- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_Properties_sortable.mxml (original) +++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_Properties_sortable.mxml Fri Dec 7 21:17:50 2012 @@ -50,7 +50,6 @@ import spark.components.DataGrid; import spark.components.gridClasses.GridSelectionMode; import spark.components.gridClasses.GridColumn; - import spark.components.gridClasses.IGridItemRenderer; import spark.events.GridSortEvent; import components.*; @@ -59,12 +58,24 @@ public var tobeCheckedCells:ArrayList; public var arrList:ArrayList; public var rowsHolder:ArrayList=new ArrayList(); - public var indices:Vector.; - public var xmlListColl:XMLListCollection; - public var temp:String=""; - public var vTemp:Vector.=Vector.([0,1,2]); - public var vTemp2:Vector.; - public var newItem:Object={index:101, firstName:"New Name",lastName:"Earl",food:"Almonds",drink:"DrinkD",imageURL:"../../../../../Assets/Images/smallbluerect.jpg", numberValue:3, birthDay:"2004/08/08" }; + public var indices:Vector.; + public var xmlListColl:XMLListCollection; + public var temp:String=""; + public var vTemp:Vector.=Vector.([0,1,2]); + public var vTemp2:Vector.; + public var newItem:Object={index:101, firstName:"New Name",lastName:"Earl",food:"Almonds",drink:"DrinkD",imageURL:"../../../../../Assets/Images/smallbluerect.jpg", numberValue:3, birthDay:"2004/08/08" }; + + + + /** + * this method is to set a editorClass on a dataGrid based on columnIndex + */ + public function setCellEditorOnColumn(dg:DataGrid, editorClass:Class, index:int):void + { + var gc:GridColumn=(GridColumn)(dg.columns.getItemAt(index)); + gc.itemEditor=new ClassFactory(editorClass); + gc.editable=true; + } } ]]> @@ -956,36 +967,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1440,4 +1448,4 @@ - + \ No newline at end of file Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_dataProvider_test002.mxml URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_dataProvider_test002.mxml?rev=1418481&r1=1418480&r2=1418481&view=diff ============================================================================== --- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_dataProvider_test002.mxml (original) +++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_dataProvider_test002.mxml Fri Dec 7 21:17:50 2012 @@ -130,9 +130,9 @@ - - - + + + @@ -624,4 +624,4 @@ - + \ No newline at end of file Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/SWFs/DataGrid_basic_001.mxml URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/SWFs/DataGrid_basic_001.mxml?rev=1418481&r1=1418480&r2=1418481&view=diff ============================================================================== --- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/SWFs/DataGrid_basic_001.mxml (original) +++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/SWFs/DataGrid_basic_001.mxml Fri Dec 7 21:17:50 2012 @@ -22,7 +22,7 @@ xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:local="*" xmlns:comps="components.*" - width="800" height="1500"> + width="800" height="800"> @namespace s "library://ns.adobe.com/flex/spark"; @namespace mx "library://ns.adobe.com/flex/mx"; @@ -560,7 +560,6 @@ - @@ -571,10 +570,11 @@ + - + \ No newline at end of file Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/SWFs/DataGrid_basic_002.mxml URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/SWFs/DataGrid_basic_002.mxml?rev=1418481&r1=1418480&r2=1418481&view=diff ============================================================================== --- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/SWFs/DataGrid_basic_002.mxml (original) +++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/DataGrid/SWFs/DataGrid_basic_002.mxml Fri Dec 7 21:17:50 2012 @@ -470,10 +470,9 @@ - - + \ No newline at end of file