Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 62CDF200BC7 for ; Thu, 10 Nov 2016 10:23:14 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 61808160B11; Thu, 10 Nov 2016 09:23:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B8FA6160B1C for ; Thu, 10 Nov 2016 10:23:11 +0100 (CET) Received: (qmail 98837 invoked by uid 500); 10 Nov 2016 09:23:10 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 97274 invoked by uid 99); 10 Nov 2016 09:23:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2016 09:23:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 42537E01F4; Thu, 10 Nov 2016 09:23:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: carlosrovira@apache.org To: commits@flex.apache.org Date: Thu, 10 Nov 2016 09:23:26 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [19/53] git commit: [flex-asjs] [refs/heads/feature/mdl] - - Merged changes archived-at: Thu, 10 Nov 2016 09:23:14 -0000 http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductListItem.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductListItem.mxml index edf3516,0000000..b3b84ea mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductListItem.mxml +++ b/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductListItem.mxml @@@ -1,140 -1,0 +1,140 @@@ + + + + + + + [Event(name="productQtyChange", type="samples.flexstore.ProductListEvent")] + [Event(name="removeProduct", type="samples.flexstore.ProductListEvent")] + + + + + + + + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/FlexJSStore.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/FlexJSStore.mxml index e5621c0,0000000..6375cb8 mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/FlexJSStore.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/FlexJSStore.mxml @@@ -1,268 -1,0 +1,268 @@@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/HomeView.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/HomeView.mxml index 90049b5,0000000..e667ff3 mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/HomeView.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/HomeView.mxml @@@ -1,195 -1,0 +1,195 @@@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + + + + + - ++ + + + + + + + + + + - ++ + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/SupportView.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/SupportView.mxml index 3d30a9d,0000000..72bbb55 mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/SupportView.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/SupportView.mxml @@@ -1,149 -1,0 +1,149 @@@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + California + Nevada + Oregon + Washington + + + + + + + + + + + + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + + - ++ + + + + + + + + + + + - ++ + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/Grip.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/Grip.mxml index abd3ce5,0000000..d161d89 mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/Grip.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/Grip.mxml @@@ -1,48 -1,0 +1,48 @@@ + + + + + + + + + + + + + + + - - ++ ++ + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCatalogThumbnail.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCatalogThumbnail.mxml index 1abc428,0000000..0946f8a mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCatalogThumbnail.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCatalogThumbnail.mxml @@@ -1,220 -1,0 +1,220 @@@ + + + + + + + + + + + + + [Event(name="purchase", type="samples.flexstore.ProductThumbEvent")] + [Event(name="compare", type="samples.flexstore.ProductThumbEvent")] + [Event(name="details", type="samples.flexstore.ProductThumbEvent")] + + + + + + + + + + + + + + + + + + + + + " + + + ++ url="{product.image}" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductDetails.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductDetails.mxml index 309cb41,0000000..781d120 mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductDetails.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductDetails.mxml @@@ -1,145 -1,0 +1,145 @@@ + + + + + + + + + [Event(name="purchase", type="samples.flexstore.ProductThumbEvent")] + [Event(name="compare", type="samples.flexstore.ProductThumbEvent")] + [Event(name="browse", type="samples.flexstore.ProductThumbEvent")] + + + + + + + + + + + + + + + + + + + + + + + + + Features + Support + + + + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductListItem.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductListItem.mxml index edf3516,0000000..b3b84ea mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductListItem.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductListItem.mxml @@@ -1,140 -1,0 +1,140 @@@ + + + + + + + [Event(name="productQtyChange", type="samples.flexstore.ProductListEvent")] + [Event(name="removeProduct", type="samples.flexstore.ProductListEvent")] + + + + + + + + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as ---------------------------------------------------------------------- diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as index ce1cab7,0000000..e2838f9 mode 100755,000000..100755 --- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as +++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as @@@ -1,45 -1,0 +1,45 @@@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 samples.flexstore +{ - ++ +import org.apache.flex.events.Event; + +public class ProductThumbEvent extends Event +{ + public static const PURCHASE:String = "purchase"; + public static const COMPARE:String = "compare"; + public static const DETAILS:String = "details"; + public static const BROWSE:String = "browse"; - ++ + public var product:Product; - ++ + public function ProductThumbEvent(type:String, product:Product) + { + super(type); + this.product = product; + } - - override public function cloneEvent():Event - { - return new ProductThumbEvent(type, product); - } ++ ++ //override public function cloneEvent():Event ++ //{ ++ // return new ProductThumbEvent(type, product); ++ //} +} + - } ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/MobileStocks/src/main/flex/MyInitialView.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/MobileStocks/src/main/flex/MyInitialView.mxml index b6853e2,0000000..5286e2c mode 100755,000000..100755 --- a/examples/flexjs/MobileStocks/src/main/flex/MyInitialView.mxml +++ b/examples/flexjs/MobileStocks/src/main/flex/MyInitialView.mxml @@@ -1,253 -1,0 +1,253 @@@ + + + + + + @namespace js "library://ns.apache.org/flexjs/basic"; + @namespace views "views.*"; + + js|Container { + background-color: #FFFFFF; + } + + js|TextInput { + font-size: 10pt; + } + + js|Label { + font-size: 8pt; + } + + js|StackedViewManager { + padding-top: 0px; + padding-bottom: 0px; + padding-left: 0px; + padding-right: 0px; + } + + js|TabbedViewManager { + position : absolute ; + height : 100% ; + width : 100% ; + left : 0px ; + top : 0px ; + border: solid 1px #444444; + background-color: #FFFFFF; + } + + .NavigationBar { + background-image: url("assets/background.png"); + height: 56px; + width: 100%; + IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.HorizontalLayout"); + } + + .TabBar { + background-color: #DEDEDE; + height: 55px; + vertical-align: middle; + line-height: 55px; + } + + .BackButton:hover { + background-image: url('assets/arrow_left_24.png'); + } + + .BackButton:active { + background-image: url('assets/arrow_left_24.png'); + } + + .BackButton { + background-image: url('assets/arrow_left_24.png'); + } + + views|LaunchView { + width: 100%; + height: 100%; + IBeadController:ClassReference('controller.LaunchViewController'); + background-color: #FFFFFF; + } + + views|WatchListView { + width: 100%; + height: 100%; + IBeadController:ClassReference('controller.WatchListController'); + background-color: #FFFFFF; + } + + .WatchListInner { + height: 480px; + width: 100%; + background-color: #FFFFFF; + } + + .WatchListDataGrid { + height: 480px; + width: 100%; + } + + .WatchListInputArea { + background-color: #FFFFFF; + width: 480px; + height: 25px; + padding-top: 5px; + padding-bottom: 2px; + } + + views|StockView { + width: 100%; + height: 100%; + } + + .redCell { + color: #FF0000; + } + + .greenCell { + color: #00FF00; + } + + .ViewTitle { + font-size: 18pt; + font-weight: bold; + padding: 10pt; + } + + .StockName { + font-size: 14pt; + font-weight: normal; + padding: 10pt; + } + + .StockDetailArea { + padding: 10pt; + } + + .StockLabel { + font-size: 18pt; + font-weight: normal; + color: #2255DD; + } + + .StockRemoveButton { + background-color: #FF5522; + font-size: 16pt; + font-weight: bold; + color: #FFFFFF; + width: 200px; + height: 50px; + } + + .StockRemoveButton:hover { + background-color: #DD3300; + } + + .StockValue { + font-size: 18pt; + font-weight: normal; + color: #999999; + } + + @media -flex-flash + { + .NavigationBar { + IBackgroundBead: ClassReference("org.apache.flex.html.beads.BackgroundImageBead"); + } + } + + + + + 1; + } + + private function goBack(event:org.apache.flex.events.MouseEvent):void + { + if (navController.selectedIndex == 1) { + watchListStack.pop(); + } + } + ]]> + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/MobileTrader/src/main/flex/MyInitialView.mxml ---------------------------------------------------------------------- diff --cc examples/flexjs/MobileTrader/src/main/flex/MyInitialView.mxml index 0c353ff,0000000..5b99ae3 mode 100755,000000..100755 --- a/examples/flexjs/MobileTrader/src/main/flex/MyInitialView.mxml +++ b/examples/flexjs/MobileTrader/src/main/flex/MyInitialView.mxml @@@ -1,256 -1,0 +1,256 @@@ + + + + + + @namespace js "library://ns.apache.org/flexjs/basic"; + @namespace views "views.*"; + + js|Container { + background-color: #FFFFFF; + } + + js|StackedViewManager { + padding-top: 0px; + padding-bottom: 0px; + padding-left: 0px; + padding-right: 0px; + } + + js|TabbedViewManager { + position : absolute ; + height : 100% ; + width : 100% ; + left : 0px ; + top : 0px ; + border: solid 1px #444444; + background-color: #FFFFFF; + } + + .NavigationBar { + background-image: url("assets/background.png"); + height: 55px; + IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.HorizontalLayout"); + } + + .TabBar { + background-color: #DEDEDE; + height: 55px; + vertical-align: middle; + line-height: 55px; + } + + .BackButton:hover { + background-image: url('assets/arrow_left_24.png'); + } + + .BackButton:active { + background-image: url('assets/arrow_left_24.png'); + } + + .BackButton { + background-image: url('assets/arrow_left_24.png'); + } + + .AssetsInner { + padding-top: 5px; + background-color: #FFFFFF; + } + + views|AssetsView { + width: 100%; + height: 100%; + } + + views|WatchListView { + width: 100%; + height: 100%; + IBeadController:ClassReference('controller.WatchListController'); + background-color: #FFFFFF; + } + + .WatchListInner { + height: 480px; + width: 100%; + background-color: #FFFFFF; + } + + .WatchListDataGrid { + height: 480px; + width: 100%; + } + + .WatchListInputArea { + background-color: #FFFFFF; + width: 480px; + height: 25px; + padding-top: 5px; + padding-bottom: 2px; + } + + views|StockView { + width: 100%; + height: 100%; + } + + views|AlertsView { + width: 100%; + height: 100%; + IBeadController:ClassReference('controller.AlertsViewController'); + } + + .redCell { + color: #FF0000; + } + + .greenCell { + color: #00FF00; + } + + .ViewTitle { + font-size: 18pt; + font-weight: bold; + padding: 10pt; + } + + .StockName { + font-size: 14pt; + font-weight: normal; + padding: 10pt; + } + + .StockDetailArea { + padding: 10pt; + } + + .StockLabel { + font-size: 18pt; + font-weight: normal; + color: #2255DD; + } + + .StockRemoveButton { + background-color: #FF5522; + font-size: 16pt; + font-weight: bold; + color: #FFFFFF; + width: 200px; + height: 50px; + } + + .StockRemoveButton:hover { + background-color: #DD3300; + } + + .StockValue { + font-size: 18pt; + font-weight: normal; + color: #999999; + } + + @media -flex-flash + { + .NavigationBar { + IBackgroundBead: ClassReference("org.apache.flex.html.beads.BackgroundImageBead"); + } + } + + + + + 1; + } + + private function goBack(event:org.apache.flex.events.MouseEvent):void + { + if (navController.selectedIndex == 1) { + watchListStack.pop(); + } + } + ]]> + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + + +