update examples with View class
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/562e54cd Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/562e54cd Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/562e54cd Branch: refs/heads/spark Commit: 562e54cda74bd4d1765f49c53383d69b8265f991 Parents: dfd4704 Author: Alex Harui <[email protected]> Authored: Thu Jun 9 13:11:09 2016 -0700 Committer: Alex Harui <[email protected]> Committed: Thu Jun 9 13:26:27 2016 -0700 ---------------------------------------------------------------------- examples/flexjs/ChartExample/src/MyInitialView.mxml | 4 ++-- examples/flexjs/ChartExample/src/SpeedTestView.mxml | 4 ++-- .../flexjs/CordovaCameraExample/src/MyInitialView.mxml | 4 ++-- examples/flexjs/DataBindingExample/src/MyInitialView.mxml | 6 +++--- .../flexjs/DataBindingExample_Flat/src/MyInitialView.mxml | 6 +++--- examples/flexjs/DataGridExample/src/MyInitialView.mxml | 4 ++-- examples/flexjs/DesktopMap/src/MyInitialView.mxml | 6 +++--- examples/flexjs/FlexJSStore/src/FlexJSStore.mxml | 4 ++-- .../src/productsView/ProductCatalogPanelTitleBarView.mxml | 6 +++--- examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml | 4 ++-- .../src/productsView/ProductCatalogPanelTitleBarView.mxml | 6 +++--- examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml | 4 ++-- examples/flexjs/MapSearch/src/MyInitialView.mxml | 6 +++--- examples/flexjs/MobileTrader/src/MyInitialView.mxml | 10 +++++----- examples/flexjs/MobileTrader/src/views/AlertsView.mxml | 4 ++-- examples/flexjs/MobileTrader/src/views/AssetsView.mxml | 4 ++-- examples/flexjs/MobileTrader/src/views/SearchView.mxml | 4 ++-- examples/flexjs/MobileTrader/src/views/StockView.mxml | 4 ++-- examples/flexjs/MobileTrader/src/views/WatchListView.mxml | 4 ++-- examples/flexjs/StorageExample/src/MyInitialView.mxml | 6 +++--- .../src/sample/todo/views/TodoListView.mxml | 4 ++-- examples/flexjs/TreeExample/src/MyInitialView.mxml | 6 +++--- 22 files changed, 55 insertions(+), 55 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/ChartExample/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/ChartExample/src/MyInitialView.mxml b/examples/flexjs/ChartExample/src/MyInitialView.mxml index 6f0175e..17e2e09 100644 --- a/examples/flexjs/ChartExample/src/MyInitialView.mxml +++ b/examples/flexjs/ChartExample/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:local="*" xmlns:models="models.*" @@ -309,4 +309,4 @@ limitations under the License. </js:series> </js:LineChart> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/ChartExample/src/SpeedTestView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/ChartExample/src/SpeedTestView.mxml b/examples/flexjs/ChartExample/src/SpeedTestView.mxml index d1d4b2c..4b8f77d 100644 --- a/examples/flexjs/ChartExample/src/SpeedTestView.mxml +++ b/examples/flexjs/ChartExample/src/SpeedTestView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:local="*" xmlns:models="models.*" @@ -184,4 +184,4 @@ limitations under the License. <js:Label text=" (results)" id="regChartResults" /> </js:Container> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml b/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml index 29e31e3..7472d95 100644 --- a/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml +++ b/examples/flexjs/CordovaCameraExample/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:local="*" > <fx:Script> @@ -72,4 +72,4 @@ limitations under the License. <js:Image id="image" x="20" y="200" width="200" height="200" /> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/DataBindingExample/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DataBindingExample/src/MyInitialView.mxml b/examples/flexjs/DataBindingExample/src/MyInitialView.mxml index 667254d..8345213 100644 --- a/examples/flexjs/DataBindingExample/src/MyInitialView.mxml +++ b/examples/flexjs/DataBindingExample/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" initComplete="initControls()"> <fx:Script> @@ -100,7 +100,7 @@ limitations under the License. <js:State name="showAll" /> </js:states> <js:beads> - <js:ViewBaseDataBinding /> + <js:ViewDataBinding /> </js:beads> <js:Container x="0" y="0" className="topContainer" > <js:beads> @@ -141,4 +141,4 @@ limitations under the License. includeIn="showAll" text="{MyModel(applicationModel).allData}" /> </js:Container> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml b/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml index b3456d2..26ca9b0 100644 --- a/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml +++ b/examples/flexjs/DataBindingExample_Flat/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:flat="library://ns.apache.org/flexjs/flat" initComplete="initControls()"> @@ -101,7 +101,7 @@ limitations under the License. <js:State name="showAll" /> </js:states> <js:beads> - <js:ViewBaseDataBinding /> + <js:ViewDataBinding /> </js:beads> <js:Container x="0" y="0" className="topContainer" > <js:beads> @@ -142,4 +142,4 @@ limitations under the License. includeIn="showAll" text="{MyModel(applicationModel).allData}" /> </js:Container> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/DataGridExample/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DataGridExample/src/MyInitialView.mxml b/examples/flexjs/DataGridExample/src/MyInitialView.mxml index d6173a1..242c122 100644 --- a/examples/flexjs/DataGridExample/src/MyInitialView.mxml +++ b/examples/flexjs/DataGridExample/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic"> <fx:Script> <![CDATA[ @@ -64,4 +64,4 @@ limitations under the License. </js:columns> </js:DataGrid> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/DesktopMap/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/src/MyInitialView.mxml b/examples/flexjs/DesktopMap/src/MyInitialView.mxml index 9559493..7a1d46d 100644 --- a/examples/flexjs/DesktopMap/src/MyInitialView.mxml +++ b/examples/flexjs/DesktopMap/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:google="library://ns.apache.org/flexjs/google" xmlns:local="*" @@ -95,7 +95,7 @@ limitations under the License. </fx:Style> <js:beads> - <js:ViewBaseDataBinding /> + <js:ViewDataBinding /> </js:beads> @@ -144,4 +144,4 @@ limitations under the License. <js:TextButton text="MapIt" click="mapIt()" /> </js:Container> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml b/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml index 4d04dc6..8f4ade3 100755 --- a/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml +++ b/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml @@ -186,7 +186,7 @@ limitations under the License. <js:ApplicationDataBinding /> </js:beads> <js:initialView> - <js:ViewBase width="990" height="585" + <js:View width="990" height="585" initComplete="completeHandler(null)" stateChangeComplete="chainStatesIfNeeded()"> <js:states> @@ -263,6 +263,6 @@ limitations under the License. width="100%" height="550" /> </js:Container> - </js:ViewBase> + </js:View> </js:initialView> </js:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml index 5e82f95..f2cb397 100755 --- a/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml +++ b/examples/flexjs/FlexJSStore/src/productsView/ProductCatalogPanelTitleBarView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:MXMLBeadViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:MXMLBeadView xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:productsView="productsView.*" > @@ -36,7 +36,7 @@ limitations under the License. ]]> </fx:Script> <js:beads> - <js:MXMLBeadViewBaseDataBinding /> + <js:MXMLBeadViewDataBinding /> <js:ParentDocumentBead id="pdb" /> <js:LayoutChangeNotifier watchedProperty="{buttons.width}" /> </js:beads> @@ -46,4 +46,4 @@ limitations under the License. visible="{ITitleBarModel(model).showCloseButton}"; /> <productsView:CatalogTitleButtons id="buttons" /> -</js:MXMLBeadViewBase> +</js:MXMLBeadView> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml b/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml index 94a724f..e5621c0 100755 --- a/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml @@ -186,7 +186,7 @@ limitations under the License. <js:ApplicationDataBinding /> </jquery:beads> <jquery:initialView> - <js:ViewBase width="990" height="585" + <js:View width="990" height="585" initComplete="completeHandler(null)" stateChangeComplete="chainStatesIfNeeded()"> <js:states> @@ -263,6 +263,6 @@ limitations under the License. width="100%" height="550" /> </js:Container> - </js:ViewBase> + </js:View> </jquery:initialView> </jquery:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml index 5e82f95..f2cb397 100755 --- a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogPanelTitleBarView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:MXMLBeadViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:MXMLBeadView xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:productsView="productsView.*" > @@ -36,7 +36,7 @@ limitations under the License. ]]> </fx:Script> <js:beads> - <js:MXMLBeadViewBaseDataBinding /> + <js:MXMLBeadViewDataBinding /> <js:ParentDocumentBead id="pdb" /> <js:LayoutChangeNotifier watchedProperty="{buttons.width}" /> </js:beads> @@ -46,4 +46,4 @@ limitations under the License. visible="{ITitleBarModel(model).showCloseButton}"; /> <productsView:CatalogTitleButtons id="buttons" /> -</js:MXMLBeadViewBase> +</js:MXMLBeadView> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml b/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml index d3b090d..0636dda 100644 --- a/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml +++ b/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" initComplete="testit()" > @@ -84,4 +84,4 @@ limitations under the License. </js:ColumnSeries> </js:series> </js:ColumnChart> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/MapSearch/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MapSearch/src/MyInitialView.mxml b/examples/flexjs/MapSearch/src/MyInitialView.mxml index 0269c58..54ec4a2 100644 --- a/examples/flexjs/MapSearch/src/MyInitialView.mxml +++ b/examples/flexjs/MapSearch/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:google="library://ns.apache.org/flexjs/google" xmlns:local="*" @@ -160,7 +160,7 @@ limitations under the License. </fx:Style> <js:beads> - <js:ViewBaseDataBinding /> + <js:ViewDataBinding /> </js:beads> @@ -208,4 +208,4 @@ limitations under the License. </js:Container> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/MobileTrader/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MobileTrader/src/MyInitialView.mxml b/examples/flexjs/MobileTrader/src/MyInitialView.mxml index 6c6b83a..0c353ff 100755 --- a/examples/flexjs/MobileTrader/src/MyInitialView.mxml +++ b/examples/flexjs/MobileTrader/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:local="*" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:views="views.*" @@ -186,7 +186,7 @@ limitations under the License. import org.apache.flex.core.IBeadController; import org.apache.flex.core.IBeadModel; import org.apache.flex.events.Event; - import org.apache.flex.mobile.IView; + import org.apache.flex.mobile.IViewManagerView; import org.apache.flex.mobile.IViewManager; import org.apache.flex.mobile.chrome.NavigationBar; @@ -210,7 +210,7 @@ limitations under the License. trace("watchlist stack changed"); var manager:StackedViewManager = event.currentTarget as StackedViewManager; - var currentView:IView = manager.selectedView; + var currentView:IViewManagerView = manager.selectedView; backButton.visible = manager.views.length > 1; } @@ -224,7 +224,7 @@ limitations under the License. </fx:Script> <js:beads> - <js:ViewBaseDataBinding /> + <js:ViewDataBinding /> </js:beads> <js:TabbedViewManager id="navController" width="100%" height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)"> @@ -253,4 +253,4 @@ limitations under the License. </js:views> </js:TabbedViewManager> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/MobileTrader/src/views/AlertsView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MobileTrader/src/views/AlertsView.mxml b/examples/flexjs/MobileTrader/src/views/AlertsView.mxml index 6a393de..f06dd65 100755 --- a/examples/flexjs/MobileTrader/src/views/AlertsView.mxml +++ b/examples/flexjs/MobileTrader/src/views/AlertsView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:TitleView xmlns:fx="http://ns.adobe.com/mxml/2009" title="Alerts" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:local="*" @@ -98,4 +98,4 @@ limitations under the License. </js:columns> </js:DataGrid> -</js:View> \ No newline at end of file +</js:TitleView> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/MobileTrader/src/views/AssetsView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MobileTrader/src/views/AssetsView.mxml b/examples/flexjs/MobileTrader/src/views/AssetsView.mxml index c71e257..2929a3e 100755 --- a/examples/flexjs/MobileTrader/src/views/AssetsView.mxml +++ b/examples/flexjs/MobileTrader/src/views/AssetsView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:TitleView xmlns:fx="http://ns.adobe.com/mxml/2009" title="Assets" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:models="models.*" @@ -86,4 +86,4 @@ limitations under the License. </js:series> </js:BarChart> -</js:View> \ No newline at end of file +</js:TitleView> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/MobileTrader/src/views/SearchView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MobileTrader/src/views/SearchView.mxml b/examples/flexjs/MobileTrader/src/views/SearchView.mxml index 6e73d71..0348fba 100755 --- a/examples/flexjs/MobileTrader/src/views/SearchView.mxml +++ b/examples/flexjs/MobileTrader/src/views/SearchView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:TitleView xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:apache="org.apache.flex.html.beads.*" xmlns:local="*" @@ -34,4 +34,4 @@ limitations under the License. </fx:Script> <js:Label text="Search View" x="20" y="100" /> -</js:View> +</js:TitleView> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/MobileTrader/src/views/StockView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MobileTrader/src/views/StockView.mxml b/examples/flexjs/MobileTrader/src/views/StockView.mxml index 8cb814e..95b8992 100755 --- a/examples/flexjs/MobileTrader/src/views/StockView.mxml +++ b/examples/flexjs/MobileTrader/src/views/StockView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:TitleView xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:apache="org.apache.flex.html.beads.*" xmlns:local="*" @@ -95,4 +95,4 @@ limitations under the License. <js:TextButton text="Remove From List" width="200" className="StockRemoveButton" click="removeFromList()" /> </js:Container> </js:Container> -</js:View> \ No newline at end of file +</js:TitleView> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/MobileTrader/src/views/WatchListView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MobileTrader/src/views/WatchListView.mxml b/examples/flexjs/MobileTrader/src/views/WatchListView.mxml index 46c7434..aa9da04 100755 --- a/examples/flexjs/MobileTrader/src/views/WatchListView.mxml +++ b/examples/flexjs/MobileTrader/src/views/WatchListView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:TitleView xmlns:fx="http://ns.adobe.com/mxml/2009" title="Watch List" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:controller="controller.*" @@ -148,4 +148,4 @@ limitations under the License. </js:columns> </js:DataGrid> -</js:View> +</js:TitleView> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/StorageExample/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/StorageExample/src/MyInitialView.mxml b/examples/flexjs/StorageExample/src/MyInitialView.mxml index 0717fcd..370d0af 100644 --- a/examples/flexjs/StorageExample/src/MyInitialView.mxml +++ b/examples/flexjs/StorageExample/src/MyInitialView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:local="*" initComplete="startup()"> @@ -199,7 +199,7 @@ limitations under the License. </fx:Style> <js:beads> - <js:ViewBaseDataBinding /> + <js:ViewDataBinding /> </js:beads> <js:VContainer width="100%" height="100%"> @@ -242,4 +242,4 @@ limitations under the License. </js:VContainer> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml b/examples/flexjs/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml index 153fb76..3a4c7e4 100644 --- a/examples/flexjs/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml +++ b/examples/flexjs/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:svg="library://ns.apache.org/flexjs/svg"> @@ -106,4 +106,4 @@ limitations under the License. } </fx:Style> -</js:ViewBase> +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/562e54cd/examples/flexjs/TreeExample/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/TreeExample/src/MyInitialView.mxml b/examples/flexjs/TreeExample/src/MyInitialView.mxml index d7fa22f..2418cd7 100644 --- a/examples/flexjs/TreeExample/src/MyInitialView.mxml +++ b/examples/flexjs/TreeExample/src/MyInitialView.mxml @@ -17,11 +17,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" +<js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic"> <js:beads> - <js:ViewBaseDataBinding /> + <js:ViewDataBinding /> </js:beads> <js:Tree id="tree" x="30" y="30" width="400" height="300" @@ -34,4 +34,4 @@ limitations under the License. </js:beads> </js:Tree> -</js:ViewBase> +</js:View>
