http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/DataGridExample/src/products/ProductItemRenderer.as ---------------------------------------------------------------------- diff --git a/examples/flexjs/DataGridExample/src/products/ProductItemRenderer.as b/examples/flexjs/DataGridExample/src/products/ProductItemRenderer.as deleted file mode 100644 index 4edc5b7..0000000 --- a/examples/flexjs/DataGridExample/src/products/ProductItemRenderer.as +++ /dev/null @@ -1,66 +0,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. -// -//////////////////////////////////////////////////////////////////////////////// -package products -{ - import org.apache.flex.html.Image; - import org.apache.flex.html.supportClasses.DataItemRenderer; - - public class ProductItemRenderer extends DataItemRenderer - { - public function ProductItemRenderer() - { - super(); - } - - private var image:Image; - - override public function addedToParent():void - { - super.addedToParent(); - - // add an image and two labels - image = new Image(); - addElement(image); - } - - override public function get data():Object - { - return super.data; - } - - override public function set data(value:Object):void - { - super.data = value; - - image.source = value.image; - } - - override public function adjustSize():void - { - var cy:Number = this.height/2; - - image.x = 4; - image.y = cy - 16; - image.width = 32; - image.height = 32; - - updateRenderer(); - } - } -}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/DesktopMap/src/DesktopMap.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/src/DesktopMap.mxml b/examples/flexjs/DesktopMap/src/DesktopMap.mxml deleted file mode 100644 index 4f938b6..0000000 --- a/examples/flexjs/DesktopMap/src/DesktopMap.mxml +++ /dev/null @@ -1,46 +0,0 @@ -<?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. -// -//////////////////////////////////////////////////////////////////////////////// ---> -<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:local="*" - xmlns:models="models.*" - xmlns:js="library://ns.apache.org/flexjs/basic" - > - - <!-- This application demonstrates how to use the Google MAP API - on both the AIR and JavaScript/browser platform. After cross- - compiling this application for JavaScript, edit the index.html - file and include your Google developer API token. - --> - - <js:valuesImpl> - <js:SimpleCSSValuesImpl /> - </js:valuesImpl> - <js:initialView> - <local:MyInitialView /> - </js:initialView> - <js:model> - <models:MyModel /> - </js:model> - <js:beads> - <js:MixinManager /> - </js:beads> - -</js:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/DesktopMap/src/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/src/MyInitialView.mxml b/examples/flexjs/DesktopMap/src/MyInitialView.mxml deleted file mode 100644 index 7a1d46d..0000000 --- a/examples/flexjs/DesktopMap/src/MyInitialView.mxml +++ /dev/null @@ -1,147 +0,0 @@ -<?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. - ---> -<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="*" - initComplete="initControls()"> - <fx:Script> - <![CDATA[ - import models.MyModel; - import org.apache.flex.events.Event; - - - private function initControls() : void - { - - } - - /** - * Take the values from the input field and have the map - * display that coordinate. - */ - private function mapIt() : void - { - var lat:Number = Number(latInput.text); - var lng:Number = Number(longInput.text); - var zoom:Number = Number(zoomInput.text); - - map.loadMap(lat, lng, zoom); - } - - private var selectedCity:String; - - /** - * Triggered by a change in the drop list with a new city selected. This - * will also update the input fields. - */ - private function changeCity(event:org.apache.flex.events.Event) : void - { - var index:int = list.selectedIndex; - - var latlng:Object = MyModel(applicationModel).coordinates[index]; - map.loadMap(latlng.lat, latlng.lng, Number(zoomInput.text)); - - latInput.text = String(latlng.lat); - longInput.text = String(latlng.lng); - } - - private function codeAddress() : void - { - map.markAddress(mapLocation.text); - map.setZoom(12); - } - - private function searchOnMap() : void - { - map.nearbySearch(search.text); - map.setZoom(12); - } - - private function clearSearchResults() : void - { - map.clearSearchResults(); - } - - private function orientMap() : void - { - map.centerOnAddress(mapLocation.text); - map.setZoom(12); - } - - ]]> - </fx:Script> - - <fx:Style> - @namespace basic "library://ns.apache.org/flexjs/basic"; - - </fx:Style> - - <js:beads> - <js:ViewDataBinding /> - </js:beads> - - - <js:Container x="5" y="5" className="topContainer" > - <js:beads> - <js:VerticalLayout /> - </js:beads> - - <js:Container> - <js:beads> - <js:HorizontalLayout /> - </js:beads> - <js:Label text="Location:" /> - <js:TextInput id="mapLocation" /> - <js:TextButton text="Go" click="orientMap()" /> - </js:Container> - - <google:Map id="map" width="450" height="300" token="AIzaSyDkQgg2iojLCYeuW6hK7DkuAHD-SwJJhdE" /> - - <js:Container> - <js:beads> - <js:HorizontalLayout /> - </js:beads> - <js:Label text="Search on Map:" /> - <js:TextInput id="search" /> - <js:TextButton text="Find" click="searchOnMap()" /> - <js:TextButton text="Clear" click="clearSearchResults()" /> - </js:Container> - - <js:Label text="History:" /> - - <!--<js:List id="historyList" />--> - <js:DropDownList id="list" width="100" height="17" - change="changeCity(event)" - dataProvider="{MyModel(applicationModel).cities}" /> - - <js:Label text="Lat:" /> - <js:TextInput id="latInput" text="-34.397" /> - - <js:Label text="Long:" /> - <js:TextInput id="longInput" text="150.644" /> - - <js:Label text="Zoom:" /> - <js:TextInput id="zoomInput" text="8" /> - - <js:TextButton text="MapIt" click="mapIt()" /> - </js:Container> - -</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml b/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml new file mode 100644 index 0000000..4f938b6 --- /dev/null +++ b/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml @@ -0,0 +1,46 @@ +<?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. +// +//////////////////////////////////////////////////////////////////////////////// +--> +<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:local="*" + xmlns:models="models.*" + xmlns:js="library://ns.apache.org/flexjs/basic" + > + + <!-- This application demonstrates how to use the Google MAP API + on both the AIR and JavaScript/browser platform. After cross- + compiling this application for JavaScript, edit the index.html + file and include your Google developer API token. + --> + + <js:valuesImpl> + <js:SimpleCSSValuesImpl /> + </js:valuesImpl> + <js:initialView> + <local:MyInitialView /> + </js:initialView> + <js:model> + <models:MyModel /> + </js:model> + <js:beads> + <js:MixinManager /> + </js:beads> + +</js:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml b/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml new file mode 100644 index 0000000..7a1d46d --- /dev/null +++ b/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml @@ -0,0 +1,147 @@ +<?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. + +--> +<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="*" + initComplete="initControls()"> + <fx:Script> + <![CDATA[ + import models.MyModel; + import org.apache.flex.events.Event; + + + private function initControls() : void + { + + } + + /** + * Take the values from the input field and have the map + * display that coordinate. + */ + private function mapIt() : void + { + var lat:Number = Number(latInput.text); + var lng:Number = Number(longInput.text); + var zoom:Number = Number(zoomInput.text); + + map.loadMap(lat, lng, zoom); + } + + private var selectedCity:String; + + /** + * Triggered by a change in the drop list with a new city selected. This + * will also update the input fields. + */ + private function changeCity(event:org.apache.flex.events.Event) : void + { + var index:int = list.selectedIndex; + + var latlng:Object = MyModel(applicationModel).coordinates[index]; + map.loadMap(latlng.lat, latlng.lng, Number(zoomInput.text)); + + latInput.text = String(latlng.lat); + longInput.text = String(latlng.lng); + } + + private function codeAddress() : void + { + map.markAddress(mapLocation.text); + map.setZoom(12); + } + + private function searchOnMap() : void + { + map.nearbySearch(search.text); + map.setZoom(12); + } + + private function clearSearchResults() : void + { + map.clearSearchResults(); + } + + private function orientMap() : void + { + map.centerOnAddress(mapLocation.text); + map.setZoom(12); + } + + ]]> + </fx:Script> + + <fx:Style> + @namespace basic "library://ns.apache.org/flexjs/basic"; + + </fx:Style> + + <js:beads> + <js:ViewDataBinding /> + </js:beads> + + + <js:Container x="5" y="5" className="topContainer" > + <js:beads> + <js:VerticalLayout /> + </js:beads> + + <js:Container> + <js:beads> + <js:HorizontalLayout /> + </js:beads> + <js:Label text="Location:" /> + <js:TextInput id="mapLocation" /> + <js:TextButton text="Go" click="orientMap()" /> + </js:Container> + + <google:Map id="map" width="450" height="300" token="AIzaSyDkQgg2iojLCYeuW6hK7DkuAHD-SwJJhdE" /> + + <js:Container> + <js:beads> + <js:HorizontalLayout /> + </js:beads> + <js:Label text="Search on Map:" /> + <js:TextInput id="search" /> + <js:TextButton text="Find" click="searchOnMap()" /> + <js:TextButton text="Clear" click="clearSearchResults()" /> + </js:Container> + + <js:Label text="History:" /> + + <!--<js:List id="historyList" />--> + <js:DropDownList id="list" width="100" height="17" + change="changeCity(event)" + dataProvider="{MyModel(applicationModel).cities}" /> + + <js:Label text="Lat:" /> + <js:TextInput id="latInput" text="-34.397" /> + + <js:Label text="Long:" /> + <js:TextInput id="longInput" text="150.644" /> + + <js:Label text="Zoom:" /> + <js:TextInput id="zoomInput" text="8" /> + + <js:TextButton text="MapIt" click="mapIt()" /> + </js:Container> + +</js:View> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/DesktopMap/src/main/flex/models/MyModel.as ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/src/main/flex/models/MyModel.as b/examples/flexjs/DesktopMap/src/main/flex/models/MyModel.as new file mode 100644 index 0000000..e0dab68 --- /dev/null +++ b/examples/flexjs/DesktopMap/src/main/flex/models/MyModel.as @@ -0,0 +1,58 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 models +{ + import org.apache.flex.core.IBeadModel; + import org.apache.flex.core.IStrand; + import org.apache.flex.events.Event; + import org.apache.flex.events.EventDispatcher; + + public class MyModel extends EventDispatcher implements IBeadModel + { + public function MyModel() + { + super(); + } + + private var _strand:IStrand; + + public function set strand(value:IStrand):void + { + _strand = value; + } + + private var _cities:Array = ["Sydney", "NYC", "Mexico City", "London", "Rio de Janeiro"]; + + [Bindable] + public function get cities():Array + { + return _cities; + } + + private var _coordinates:Array = [{lat:-33.86, lng:151.211}, + {lat:40.712, lng:-74.0059}, + {lat:19.26, lng:-99.03}, + {lat:51.4, lng:-0.1}, + {lat:-22.95, lng:-43.12}]; + public function get coordinates():Array + { + return _coordinates; + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/DesktopMap/src/models/MyModel.as ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/src/models/MyModel.as b/examples/flexjs/DesktopMap/src/models/MyModel.as deleted file mode 100644 index e0dab68..0000000 --- a/examples/flexjs/DesktopMap/src/models/MyModel.as +++ /dev/null @@ -1,58 +0,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. -// -//////////////////////////////////////////////////////////////////////////////// -package models -{ - import org.apache.flex.core.IBeadModel; - import org.apache.flex.core.IStrand; - import org.apache.flex.events.Event; - import org.apache.flex.events.EventDispatcher; - - public class MyModel extends EventDispatcher implements IBeadModel - { - public function MyModel() - { - super(); - } - - private var _strand:IStrand; - - public function set strand(value:IStrand):void - { - _strand = value; - } - - private var _cities:Array = ["Sydney", "NYC", "Mexico City", "London", "Rio de Janeiro"]; - - [Bindable] - public function get cities():Array - { - return _cities; - } - - private var _coordinates:Array = [{lat:-33.86, lng:151.211}, - {lat:40.712, lng:-74.0059}, - {lat:19.26, lng:-99.03}, - {lat:51.4, lng:-0.1}, - {lat:-22.95, lng:-43.12}]; - public function get coordinates():Array - { - return _coordinates; - } - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml b/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml deleted file mode 100755 index 8f4ade3..0000000 --- a/examples/flexjs/FlexJSStore/src/FlexJSStore.mxml +++ /dev/null @@ -1,268 +0,0 @@ -<?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. - ---> -<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:js="library://ns.apache.org/flexjs/basic" - xmlns="*" - initialize="startService()" - pageTitle="FlexStore"> - - <fx:Script> - <![CDATA[ - import org.apache.flex.core.ValuesManager; - - /* - private var currentTheme:String = "beige"; - - private function toggleTheme():void - { - if (currentTheme == "beige") - { - currentTheme = "blue"; - } - else - { - currentTheme = "beige"; - } - - loadStyle(); - } - */ - - private function startService():void - { - productService.send(); - } - - private function loadStyle():void - { - /* load css not implemented yet - var eventDispatcher:IEventDispatcher = - styleManager.loadStyleDeclarations(currentTheme + ".swf"); - eventDispatcher.addEventListener(StyleEvent.COMPLETE, completeHandler); - */ - } - - private function completeHandler(event:Event):void - { - image.source = ValuesManager.valuesImpl.getValue(acb, "storeLogo"); - /* - super.initialized = true; - */ - callLater.callLater(prebake); - } - - /* - override public function set initialized(value:Boolean):void - { - // Hold off until the Runtime CSS SWF is done loading. - } - */ - - private var stateChain:Array; - - private function headHome():void - { - homeButton.selected = true; - if (initialView.currentState == "ProductsState") - { - productsButton.selected = false; - stateChain = ["ProductsWipeUp", "HomeWipeDown", "HomeState"]; - initialView.currentState = "ProductsWipeUp"; - } - else if (initialView.currentState == "SupportState") - { - supportButton.selected = false; - stateChain = ["SupportWipeUp", "HomeWipeDown", "HomeState"]; - initialView.currentState = "SupportWipeUp"; - } - } - - private function headToProducts():void - { - productsButton.selected = true; - if (initialView.currentState == "SupportState") - { - supportButton.selected = false; - stateChain = ["SupportWipeUp", "ProductsWipeDown", "ProductsState"]; - initialView.currentState = "SupportWipeUp"; - } - if (initialView.currentState == "HomeState") - { - homeButton.selected = false; - stateChain = ["HomeWipeUp", "ProductsWipeDown", "ProductsState"]; - initialView.currentState = "HomeWipeUp"; - } - } - - private function headToSupport():void - { - supportButton.selected = true; - if (initialView.currentState == "ProductsState") - { - productsButton.selected = false; - stateChain = ["ProductsWipeUp", "SupportWipeDown", "SupportState"]; - initialView.currentState = "ProductsWipeUp"; - } - if (initialView.currentState == "HomeState") - { - homeButton.selected = false; - stateChain = ["HomeWipeUp", "SupportWipeDown", "SupportState"]; - initialView.currentState = "HomeWipeUp"; - } - } - - private function prebake():void - { - callLater.callLater(prebake2); - } - - private function prebake2():void - { - trace("prebake2"); - stateChain = ["ProductsPreBake", "HomeState"]; - initialView.currentState = "ProductsPreBake"; - } - - private function chainStatesIfNeeded():void - { - if (stateChain != null) - { - if (initialView.currentState == stateChain[0]) - { - callLater.callLater(nextState); - } - } - } - - private function nextState():void - { - stateChain.shift(); - if (stateChain.length) - initialView.currentState = stateChain[0]; - else - stateChain = null; - } - ]]> - </fx:Script> - - <fx:Style source="main.css"/> - <fx:Style source="beige.css"/> - - <fx:Declarations> - <js:HTTPService id="productService" url="data/catalog.json"> - <js:LazyCollection id="catalog" complete="if (pView) pView.catalog = catalog"> - <js:inputParser> - <js:JSONInputParser /> - </js:inputParser> - <js:itemConverter> - <ProductJSONItemConverter /> - </js:itemConverter> - </js:LazyCollection> - </js:HTTPService> - </fx:Declarations> - <js:valuesImpl> - <js:SimpleCSSValuesImpl /> - </js:valuesImpl> - <js:beads> - <js:ViewSourceContextMenuOption /> - <js:CallLaterBead id="callLater" /> - <js:ApplicationDataBinding /> - </js:beads> - <js:initialView> - <js:View width="990" height="585" - initComplete="completeHandler(null)" - stateChangeComplete="chainStatesIfNeeded()"> - <js:states> - <js:State name="HomeState" stateGroups="['Home']" /> - <js:State name="HomeWipeUp" stateGroups="['Home']" /> - <js:State name="HomeWipeDown" stateGroups="['Home']" /> - <js:State name="ProductsPreBake" stateGroups="['Home', 'Products']" /> - <js:State name="ProductsState" stateGroups="['Products']" /> - <js:State name="ProductsWipeUp" stateGroups="['Products']" /> - <js:State name="ProductsWipeDown" stateGroups="['Products']" /> - <js:State name="SupportState" stateGroups="['Support']" /> - <js:State name="SupportWipeUp" stateGroups="['Support']" /> - <js:State name="SupportWipeDown" stateGroups="['Support']" /> - </js:states> - - <js:transitions> - <js:Transition fromState="HomeState" toState="HomeWipeUp"> - <js:Wipe direction="up" target="homeView" /> - </js:Transition> - <js:Transition fromState="HomeWipeDown" toState="HomeState"> - <js:Wipe direction="down" target="homeView" /> - </js:Transition> - <js:Transition fromState="ProductsState" toState="ProductsWipeUp"> - <js:Wipe direction="up" target="pView" /> - </js:Transition> - <js:Transition fromState="ProductsWipeDown" toState="ProductsState"> - <js:Wipe direction="down" target="pView" /> - </js:Transition> - <js:Transition fromState="SupportState" toState="SupportWipeUp"> - <js:Wipe direction="up" target="supportView" /> - </js:Transition> - <js:Transition fromState="SupportWipeDown" toState="SupportState"> - <js:Wipe direction="down" target="supportView" /> - </js:Transition> - </js:transitions> - <js:beads> - <js:VerticalLayout /> - </js:beads> - <js:ControlBar id="acb" width="100%" className="storeControlBar" > - <js:beads> - <js:HorizontalLayout /> - </js:beads> - <js:Image id="image" /> - <!-- click="toggleTheme()" --> - <!-- toolTip="Change Theme"/ --> - <js:ToggleTextButton id="homeButton" - text="Home" - height="100%" - selected="true" - className="storeButtonBar" - click="headHome()" /> - <js:ToggleTextButton id="productsButton" - text="Products" - height="100%" - className="storeButtonBar" - click="headToProducts()"/> - <js:ToggleTextButton id="supportButton" - text="Support" - height="100%" - className="storeButtonBar" - click="headToSupport()"/> - </js:ControlBar> - <js:Container width="990" id="viewholder"> - <js:style> - <js:SimpleCSSStyles paddingLeft="0" paddingRight="0"/> - </js:style> - - <HomeView id="homeView" width="100%" height="550" includeIn="Home" - /> - <ProductsView id="pView" includeIn="Products" visible.ProductsPreBake="false" - width="100%" height="550" initComplete="if (catalog.length) pView.catalog = catalog" - /> - <SupportView id="supportView" includeIn="Support" - width="100%" height="550" - /> - </js:Container> - </js:View> - </js:initialView> -</js:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/HomeView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/HomeView.mxml b/examples/flexjs/FlexJSStore/src/HomeView.mxml deleted file mode 100755 index 451c5c1..0000000 --- a/examples/flexjs/FlexJSStore/src/HomeView.mxml +++ /dev/null @@ -1,194 +0,0 @@ -<?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. - ---> -<!-- -This component is primarily static and is only meant to show what other -pages of the store could look like. - -Note that this page was put together in the Design view so you'll see more -hard coded locations and sizes. - -Also note when working with a Canvas that using the constraint styles -(e.g., left, top, right, bottom) can provide better layout predictability than -using x and y, especially when percentage widths and heights are used. - -Width and height are hard-coded in the root tag to help the Design view. ---> -<js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:js="library://ns.apache.org/flexjs/basic" - xmlns="*" width="990" height="550" - initComplete="updateMapImage()"> - <fx:Script> - <![CDATA[ - import org.apache.flex.core.ValuesManager; - import org.apache.flex.html.SimpleAlert; - - public function updateMapImage():void - { - mapImage.source = ValuesManager.valuesImpl.getValue(mapCanvas, 'dottedMap'); - } - ]]> - </fx:Script> - <js:beads> - <js:ContainerDataBinding /> - </js:beads> - <js:HContainer width="100%" height="100%" y="0" x="0" className="colorPanel"> - <js:VContainer width="230" height="100%"> - <js:Container width="100%" height="100%"> - - <js:Container height="60" className="homeSection"> - <js:style> - <js:SimpleCSSStyles backgroundColor="#ebebe9" left="10" top="10" right="10"/> - </js:style> - <js:Label style="left:10;top:10" text="Search Developers" height="22" className="sectionHeader" /> - <js:TextButton style="left:168;top:30" text="Go" width="27" height="20" className="glass" click="SimpleAlert.show('This feature is not implemented in this sample', 'Go')"/> - <js:TextInput style="left:10;top:30" height="20" width="150"/> - </js:Container> - - <js:Container height="280" className="homeSection"> - <js:style> - <js:SimpleCSSStyles backgroundColor="#ffffff" left="10" top="78" right="10" /> - </js:style> - <js:VContainer width="100%" height="100%"> - <js:style> - <js:SimpleCSSStyles left="10" top="10" /> - </js:style> - <js:Label text="Flex Experts That Can Help You" className="sectionHeader"/> - <js:HRule height="5" width="187" style="marginLeft:0"/> - <js:Label text="General" className="homeProgramHeader"/> - <js:Label text="BlazeDS Experts" style="fontSize:9"/> - <js:Spacer height="8" width="100%"/> - <js:Label text="Server-side" className="homeProgramHeader"/> - <js:Label text="Java, PHP Developers" style="fontSize:9"/> - <js:Spacer height="8" width="100%"/> - <js:Label text="Mobile" className="homeProgramHeader"/> - <js:Label text="Android, IOS and more" style="fontSize:9"/> - <js:Spacer height="8" width="100%"/> - <js:Label text="Students" className="homeProgramHeader"/> - <js:Label text="Free Assistance" style="fontSize:9"/> - <js:Spacer height="8" width="100%"/> - </js:VContainer> - </js:Container> - - <js:Container height="174" className="homeSection"> - <js:style> - <js:SimpleCSSStyles backgroundColor="#ebebe9" left="10" top="366" right="10" /> - </js:style> - <js:VContainer width="100%" height="100%"> - <js:style> - <js:SimpleCSSStyles left="10" top="10" /> - </js:style> - <js:Label text="Manage My Account" className="sectionHeader"/> - - <js:Label text="Phone Number"/> - - <js:HContainer width="100%" height="25" > - <js:style> - <js:SimpleCSSStyles verticalAlign="middle" /> - </js:style> - <js:TextInput height="20" width="40"/> - <js:HRule width="8" height="2"/> - <js:TextInput height="20" width="40"/> - <js:HRule width="8" height="2"/> - <js:TextInput height="20" width="40"/> - </js:HContainer> - - <js:Label text="Password"/> - <js:TextInput height="20"/> - <js:Spacer height="8" width="100%"/> - - <js:CheckBox text="Remember my phone number" selected="true"/> - <js:Spacer height="8" width="100%"/> - - <js:TextButton text="Login" className="glass" height="20" width="55" click="SimpleAlert.show('This feature is not implemented in this sample', 'Login')"/> - - </js:VContainer> - </js:Container> - - </js:Container> - - </js:VContainer> - - <js:VContainer width="750" height="100%"> - <js:Container width="100%" height="100%"> - - <!-- can't use binding to set the mapImage source because the style isn't available early enough --> - <js:Container id="mapCanvas" height="35%" className="homeMap"> - <js:style> - <js:SimpleCSSStyles left="0" right="10" top="10" /> - </js:style> - <js:Image id="mapImage" width="487" height="100%" alpha="1.0" style="left:10;top:10"/> - <js:Label y="110" text="US Developers . Flex . FlexJS" width="95%" height="40" style="margin:auto;fontWeight:'bold';fontSize:22;color:#ffffff;fontFamily:'Arial';textAlign:'center'"/> - <js:Label text="Learn More >>" width="95" style="fontSize:12;fontFamily:'Arial';bottom:10;right:10"/> - <js:Label text="$60/hr" style="color:#ffffff;fontWeight:'bold';fontFamily:'Arial';fontSize:20;right:10:top:10"/> - <js:Label text="Rates as low as" x="551" y="16" style="fontSize:12"/> - </js:Container> - - <js:Container height="330" > - <js:style> - <js:SimpleCSSStyles backgroundColor="#ffffff" borderStyle="solid" bottom="10" right="10" left="0" /> <!-- cornerRadius="4" --> - </js:style> - - <js:Label style="left:10;top:10" text="Featured Developers" width="173" height="25" className="sectionHeader"/> - - <js:HContainer style="left:10;top:43" width="100%" height="100%"> - <js:VContainer width="33%" height="100%"> - <js:Container width="100%"> - <js:Image id="image1" source="assets/akotter.jpg" style="margin:auto;verticalCenter:0"/> - </js:Container> - - <js:Container width="100%"> - <js:Label text="Annette Kotter" id="feat_prod_1" style="margin:auto;fontWeight:'bold';fontSize:12"/> - </js:Container> - - </js:VContainer> - - <js:VContainer width="33%" height="100%"> - <js:Container width="100%"> - <js:Image id="image2" style="margin:auto;verticalCenter:0" source="assets/bcrater.jpg"/> - </js:Container> - - <js:Container width="100%"> - <js:Label text="Ben Crater" id="feat_prod_2" style="margin:auto;fontWeight:'bold';fontSize:12"/> - </js:Container> - - </js:VContainer> - - <js:VContainer width="33%" height="100%"> - <js:Container width="100%"> - <js:Image id="image3" style="margin:auto;verticalCenter:0" source="assets/jproctor.jpg"/> - </js:Container> - - <js:Container width="100%"> - <js:Label text="Jane Proctor" id="feat_prod_3" style="margin:auto;fontWeight:'bold';fontSize:12"/> - </js:Container> - - </js:VContainer> - - </js:HContainer> - - </js:Container> - - </js:Container> - - </js:VContainer> - - </js:HContainer> - -</js:Container> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/ProductJSONItemConverter.as ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/ProductJSONItemConverter.as b/examples/flexjs/FlexJSStore/src/ProductJSONItemConverter.as deleted file mode 100755 index cb27bde..0000000 --- a/examples/flexjs/FlexJSStore/src/ProductJSONItemConverter.as +++ /dev/null @@ -1,41 +0,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. -// -//////////////////////////////////////////////////////////////////////////////// -package -{ - import org.apache.flex.collections.converters.JSONItemConverter; - - import samples.flexstore.Product; - - public class ProductJSONItemConverter extends JSONItemConverter - { - public function ProductJSONItemConverter() - { - super(); - } - - override public function convertItem(data:String):Object - { - var obj:Object = super.convertItem(data); - var product:Product = new Product(); - for (var p:String in obj) - product[p] = obj[p]; - return product; - } - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/ProductsView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/ProductsView.mxml b/examples/flexjs/FlexJSStore/src/ProductsView.mxml deleted file mode 100755 index 70fccd1..0000000 --- a/examples/flexjs/FlexJSStore/src/ProductsView.mxml +++ /dev/null @@ -1,121 +0,0 @@ -<?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. - ---> -<!-- width and height hard-coded in the root tag to better support the - Design view in FlexBuilder since we know the width and height from the - settings in flexstore.mxml --> -<js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:js="library://ns.apache.org/flexjs/basic" - xmlns:productsView="productsView.*" - width="990" height="550" - currentState="showFilter" - > - - <fx:Script> - <![CDATA[ - import org.apache.flex.events.Event; - import org.apache.flex.collections.LazyCollection; - import samples.flexstore.Product; - - private var _catalog:LazyCollection; - - [Bindable("catalogChange")] - public function get catalog():LazyCollection - { - return _catalog; - } - - public function set catalog(c:LazyCollection):void - { - _catalog = c; - if (filterPanel != null) - { - filterPanel.filter.count = c.length; - } - dispatchEvent(new org.apache.flex.events.Event("catalogChange")); - } - - public function addToCompare(product:Product):void - { - //setting the state before adding the product avoids jumpiness in the transition, not sure why - currentState = 'showFilter'; - filterPanel.productList.addProduct(product); - } - - public function addToCart(product:Product):void - { - //setting the state before adding the product avoids jumpiness in the transition, not sure why - currentState = 'showCart'; - cartPanel.productList.addProduct(product); - } - - - ]]> - </fx:Script> - <js:beads> - <js:ContainerDataBinding /> - </js:beads> - <js:Container - className="colorPanel" - height="100%" width="100%" - > - <js:beads> - <js:OneFlexibleChildHorizontalLayout flexibleChild="spacer" /> - </js:beads> - <productsView:Grip id="filterGrip" gripIcon="assets/icon_magnifier.png" - gripTip="Show filter panel" click="currentState = 'showFilter'"/> - - <productsView:ProductFilterPanel x="{filterGrip.width}" y="0" id="filterPanel" width="265" height="100%" - filter="catalogPanel.filter(event.filter, event.live)" - compare="catalogPanel.compare(filterPanel.productList.getProducts())" - initComplete="if (catalog) filterPanel.filter.count = catalog.length"/> - - <js:Spacer id="spacer" /> - - <productsView:ProductCart id="cartPanel" width="265" height="100%" /> - - <productsView:Grip id="cartGrip" gripIcon="assets/icon_cart_empty.png" - gripTip="Show cart" click="currentState = 'showCart'" /> - - </js:Container> - - <productsView:ProductCatalogPanel id="catalogPanel" y="4" width="685" height="540" - x.showFilter="288" x.showCart="0" - catalog="{catalog}" - compare="addToCompare(event.product)" - purchase="addToCart(event.product)" - cartCount="{cartPanel.numProducts}"> - </productsView:ProductCatalogPanel> - - <js:states> - <js:State name="showFilter" /> - <js:State name="showCart" /> - </js:states> - - <!-- - make sure to use transitions here instead of applying a Move effect - to the Panel itself which will result in odd behavior - --> - <js:transitions> - <js:Transition fromState="*" toState="*"> - <js:Move target="catalogPanel" /> - </js:Transition> - </js:transitions> - -</js:Container> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/SupportView.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/SupportView.mxml b/examples/flexjs/FlexJSStore/src/SupportView.mxml deleted file mode 100755 index ab3eea7..0000000 --- a/examples/flexjs/FlexJSStore/src/SupportView.mxml +++ /dev/null @@ -1,149 +0,0 @@ -<?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. - ---> -<!-- -This component is primarily static and is only meant to show what other -pages of the store could look like. - -Note that this page was put together in the Design view so you'll see more -hard coded locations and sizes. - -We did not have sizing issues here as much so you'll see more hardcoded -"y" values rather than "top." - -The width and height are hard-coded in the root tag to help the Design view. ---> -<js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" - xmlns:js="library://ns.apache.org/flexjs/basic" - xmlns="*" alpha="1.0" - width="990" height="550"> - - <fx:Script> - <![CDATA[ - import org.apache.flex.html.SimpleAlert; - ]]> - </fx:Script> - - <fx:Declarations> - <fx:Array id="locations"> - <fx:Object image="assets/support_mapmarker_a.png" name="601 Townsend St" /> - <fx:Object image="assets/support_mapmarker_b.png" name="Location B" /> - <fx:Object image="assets/support_mapmarker_c.png" name="Location C" /> - </fx:Array> - - </fx:Declarations> - - <js:HContainer x="0" y="0" width="100%" height="100%" className="colorPanel"> - - <js:VContainer width="32%" height="100%"> - <js:Container width="100%" height="420"> - - <js:Label y="10" text="Check Location" className="sectionHeader" x="20"/> - - <js:Container height="150" y="64" style="margin:auto"> - <js:beads> - <js:VerticalColumnLayout numColumns="2" /> - </js:beads> - <js:Label text="Address:"/> - <js:TextInput id="address"/> - - <js:Label text="City:" style="marginTop:20"/> - <js:TextInput id="city" style="marginTop:20"/> - - <js:Label text="State:" style="marginTop:20"/> - <js:DropDownList id="state" style="marginTop:20"> - <js:dataProvider> - <fx:Array> - <fx:String>California</fx:String> - <fx:String>Nevada</fx:String> - <fx:String>Oregon</fx:String> - <fx:String>Washington</fx:String> - </fx:Array> - </js:dataProvider> - </js:DropDownList> - - <js:Label text="ZIP Code:" style="marginTop:20"/> - <js:TextInput id="zip" style="marginTop:20"/> - - </js:Container> - - <js:Label y="38" text="Option1: Enter Address" style="margin:auto" className="instructions"/> - - <js:TextButton y="297" text="Locate" click="SimpleAlert.show('This feature is not implemented in this sample', 'Locate')" - style="margin:auto"/> - - <js:HContainer y="327" height="20" > - <js:style> - <js:SimpleCSSStyles margin="auto" verticalAlign="middle" /> - </js:style> - <js:HRule width="60" /> - <js:Label text="OR"/> - <js:HRule width="60" /> - </js:HContainer> - - <js:Label y="355" text="Option 2: Drag this marker into the map" style="margin:auto" className="instructions"/> - - <js:Image y="380" style="margin:auto" source="assets/support_mapmarker_plus.png"/> - - <js:HRule y="415" style="margin:auto" width="200" alpha="0.6"/> - - </js:Container> - - <js:Container width="100%" height="130"> - <js:VContainer width="80%" height="90%" > - <js:style> - <js:SimpleCSSStyles margin="auto" top="0"/> - </js:style> - <js:Label text="Location" className="instructions"/> - <js:List width="100%" dataProvider="{locations}"> - <js:itemRenderer> - <fx:Component> - <js:DataItemRenderer className="listItem" width="100%"> - <fx:Script> - <![CDATA[ - import samples.flexstore.Product; - [Bindable("__NoChangeEvent__")] - private function get product():Product - { - return data as Product; - } - ]]> - </fx:Script> - <js:Image width="21" height="25" source="{product.image}" /> - <js:Label width="100%" text="{product.name}" /> - </js:DataItemRenderer> - </fx:Component> - </js:itemRenderer> - </js:List> - </js:VContainer> - </js:Container> - - </js:VContainer> - - <js:Container width="68%" height="100%"> - <js:Image source="assets/427px-Bayarea_map.png"> - <js:style> - <js:SimpleCSSStyles left="12" top="12"/> - </js:style> - </js:Image> - </js:Container> - - </js:HContainer> - -</js:Container> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/427px-Bayarea_map.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/427px-Bayarea_map.png b/examples/flexjs/FlexJSStore/src/assets/427px-Bayarea_map.png deleted file mode 100644 index a183699..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/427px-Bayarea_map.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/akotter.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/akotter.jpg b/examples/flexjs/FlexJSStore/src/assets/akotter.jpg deleted file mode 100755 index 1124b71..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/akotter.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/bcrater.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/bcrater.jpg b/examples/flexjs/FlexJSStore/src/assets/bcrater.jpg deleted file mode 100755 index fd15d59..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/bcrater.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/beige_background.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/beige_background.jpg b/examples/flexjs/FlexJSStore/src/assets/beige_background.jpg deleted file mode 100755 index 8f034ba..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/beige_background.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/beige_dotted_map.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/beige_dotted_map.png b/examples/flexjs/FlexJSStore/src/assets/beige_dotted_map.png deleted file mode 100755 index e88d9ef..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/beige_dotted_map.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/blue_background.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/blue_background.jpg b/examples/flexjs/FlexJSStore/src/assets/blue_background.jpg deleted file mode 100755 index 361ce0e..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/blue_background.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/blue_dotted_map.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/blue_dotted_map.png b/examples/flexjs/FlexJSStore/src/assets/blue_dotted_map.png deleted file mode 100755 index 5fa6714..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/blue_dotted_map.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/button_cart_empty.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/button_cart_empty.png b/examples/flexjs/FlexJSStore/src/assets/button_cart_empty.png deleted file mode 100644 index 0e1a2b5..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/button_cart_empty.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/button_cart_full.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/button_cart_full.png b/examples/flexjs/FlexJSStore/src/assets/button_cart_full.png deleted file mode 100644 index 9c9eea0..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/button_cart_full.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/button_compare.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/button_compare.png b/examples/flexjs/FlexJSStore/src/assets/button_compare.png deleted file mode 100644 index c2ac969..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/button_compare.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/button_details.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/button_details.png b/examples/flexjs/FlexJSStore/src/assets/button_details.png deleted file mode 100644 index 3e6238c..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/button_details.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/button_tiles.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/button_tiles.png b/examples/flexjs/FlexJSStore/src/assets/button_tiles.png deleted file mode 100644 index 4266a22..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/button_tiles.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/grip.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/grip.png b/examples/flexjs/FlexJSStore/src/assets/grip.png deleted file mode 100755 index 64ee835..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/grip.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/icon_cart_empty.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/icon_cart_empty.png b/examples/flexjs/FlexJSStore/src/assets/icon_cart_empty.png deleted file mode 100644 index 562064b..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/icon_cart_empty.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/icon_compare.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/icon_compare.png b/examples/flexjs/FlexJSStore/src/assets/icon_compare.png deleted file mode 100644 index efc3ea1..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/icon_compare.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/icon_magnifier.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/icon_magnifier.png b/examples/flexjs/FlexJSStore/src/assets/icon_magnifier.png deleted file mode 100755 index 939f814..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/icon_magnifier.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/icon_tiles.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/icon_tiles.png b/examples/flexjs/FlexJSStore/src/assets/icon_tiles.png deleted file mode 100644 index dbf75b6..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/icon_tiles.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/jproctor.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/jproctor.jpg b/examples/flexjs/FlexJSStore/src/assets/jproctor.jpg deleted file mode 100755 index 1111787..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/jproctor.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/logo_blue.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/logo_blue.png b/examples/flexjs/FlexJSStore/src/assets/logo_blue.png deleted file mode 100755 index 85bad70..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/logo_blue.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/logo_orange.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/logo_orange.png b/examples/flexjs/FlexJSStore/src/assets/logo_orange.png deleted file mode 100755 index 0ce7dc4..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/logo_orange.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/abrilliam.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/abrilliam.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/abrilliam.jpg deleted file mode 100755 index 6954858..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/abrilliam.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/akotter.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/akotter.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/akotter.jpg deleted file mode 100755 index 1124b71..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/akotter.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/bcrater.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/bcrater.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/bcrater.jpg deleted file mode 100755 index fd15d59..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/bcrater.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/bleporte.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/bleporte.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/bleporte.jpg deleted file mode 100755 index c4769e8..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/bleporte.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/bvanbrocklin.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/bvanbrocklin.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/bvanbrocklin.jpg deleted file mode 100755 index 489fa2e..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/bvanbrocklin.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/ccarpenter.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/ccarpenter.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/ccarpenter.jpg deleted file mode 100755 index c1dc3d8..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/ccarpenter.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/clampberto.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/clampberto.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/clampberto.jpg deleted file mode 100755 index 9deacd2..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/clampberto.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/davenon.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/davenon.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/davenon.jpg deleted file mode 100755 index 6a2a142..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/davenon.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/dmcgoyal.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/dmcgoyal.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/dmcgoyal.jpg deleted file mode 100755 index 1124b71..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/dmcgoyal.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/dwillhelm.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/dwillhelm.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/dwillhelm.jpg deleted file mode 100755 index fd15d59..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/dwillhelm.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/esunderland.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/esunderland.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/esunderland.jpg deleted file mode 100755 index c4769e8..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/esunderland.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/jproctor.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/jproctor.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/jproctor.jpg deleted file mode 100755 index 1111787..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/jproctor.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/mfields.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/mfields.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/mfields.jpg deleted file mode 100755 index 489fa2e..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/mfields.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/pdempsey.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/pdempsey.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/pdempsey.jpg deleted file mode 100755 index 9deacd2..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/pdempsey.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/ptranep.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/ptranep.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/ptranep.jpg deleted file mode 100755 index 4b9a03b..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/ptranep.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/rcrawley.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/rcrawley.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/rcrawley.jpg deleted file mode 100755 index 9b60320..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/rcrawley.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/rdreifus.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/rdreifus.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/rdreifus.jpg deleted file mode 100755 index 6a2a142..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/rdreifus.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/pic/twong.jpg ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/pic/twong.jpg b/examples/flexjs/FlexJSStore/src/assets/pic/twong.jpg deleted file mode 100755 index 1124b71..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/pic/twong.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_a.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_a.png b/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_a.png deleted file mode 100755 index 20c21e1..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_a.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_b.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_b.png b/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_b.png deleted file mode 100755 index 069ccd8..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_b.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_c.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_c.png b/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_c.png deleted file mode 100755 index f6b587e..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_c.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_plus.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_plus.png b/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_plus.png deleted file mode 100755 index 4192088..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/support_mapmarker_plus.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/assets/trashcan.png ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/assets/trashcan.png b/examples/flexjs/FlexJSStore/src/assets/trashcan.png deleted file mode 100644 index 483a37c..0000000 Binary files a/examples/flexjs/FlexJSStore/src/assets/trashcan.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/beige.css ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/beige.css b/examples/flexjs/FlexJSStore/src/beige.css deleted file mode 100755 index 764b49c..0000000 --- a/examples/flexjs/FlexJSStore/src/beige.css +++ /dev/null @@ -1,171 +0,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. -// -//////////////////////////////////////////////////////////////////////////////// -*/ - -/* Style for color-specific state - Beige */ - -@namespace "library://ns.apache.org/flexjs/basic"; - -/* -//---------------------------- -// Global styles -//---------------------------- -*/ -.global -{ - highlightAlphas: .5, .25; - borderColor: #939A9D; - headerColors: #A65904, #E68701; - themeColor: #75B1CE; - rollOverColor: #D6E6EE; - selectionColor: #B8D5E4; -} - -/* -//---------------------------- -// Type selectors -//---------------------------- -*/ -Application -{ - backgroundColor: #EAE6DD; - backgroundImage: "assets/beige_background.jpg"; -} - -/* -//---------------------------- -// Apply to Panels and Alerts by default -//---------------------------- -*/ -.windowStatus { - color: #FFCC99; -} - -.windowStyles { /* catalog panel's title text */ - color: #FFCC99; -} - -/* -//---------------------------- -// Named styles -//---------------------------- -*/ - -.colorPanel /* for the background of some surfaces */ -{ - borderStyle: "solid"; - borderWidth: 0; - backgroundColor: #BCB29F; - backgroundAlpha: 0.4; - color: #170505; - cornerRadius: 4; - dropShadowEnabled: true; -} - -.homeProgramHeader /* in HomeView */ -{ - fontWeight: "bold"; - fontSize: 13; - color: #BE7E3F; -} - -.homeMap -{ - borderStyle: "solid"; - cornerRadius: 4; - backgroundColor: #BE7E3F; - alpha: 1; - dottedMap: "assets/beige_dotted_map.png"; -} - -.instructions -{ - alpha: .85; - color: #5C5857; -} - -.storeControlBar -{ - fillAlphas: .60, .40; - fillColors: #8F8879, #BCB29F; - highlightAlphas: .05, .25; - cornerRadius: 3; - shadowDistance: 4; - paddingLeft: 0; - paddingRight: 0; - paddingTop: 0; - paddingBottom: 0; - horizontalGap: 0; - storeLogo: "assets/logo_orange.png"; -} - -.storeButtonBar -{ - cornerRadius: 0; - buttonStyleName: "storeButton"; - themeColor: #A65904; -} - -.storeButton -{ - cornerRadius: 0; - fillColors: #8F8879, #BCB29F, #A65904, #E68701; - fillAlphas: 1, 1; - highlightAlphas: .5, .25; - fontWeight: "normal"; - /** need to port to ButtonView - selectedOverSkin: ClassReference("samples.flexstore.ButtonBarButtonSkin"); - selectedUpSkin: ClassReference("samples.flexstore.ButtonBarButtonSkin"); - overSkin: ClassReference("samples.flexstore.ButtonBarButtonSkin"); - **/ -} - -.catalogTitleButtonSelected -{ - color: #FFFFFF; - fontWeight: "bold"; -} - -.catalogTitleButtonDeselected -{ - color: #222222; - fontWeight: "bold"; -} - -.catalogTitleButtonHighlighted -{ - color: #FFCC99; - fontWeight: "bold"; -} - -.catalogPanel -{ - highlightAlphas: .5, .25; - headerColors: #A65904, #E68701; - borderAlpha: 1; - borderColor: #FFFFFF; - border-width: 1px; - borderThicknessRight: 1; - borderThicknessBottom: 1; - paddingRight: 0; - paddingBottom: 0; -} - - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/blue.css ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/src/blue.css b/examples/flexjs/FlexJSStore/src/blue.css deleted file mode 100755 index 58e98cd..0000000 --- a/examples/flexjs/FlexJSStore/src/blue.css +++ /dev/null @@ -1,165 +0,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. -// -//////////////////////////////////////////////////////////////////////////////// -*/ - -/* Style for color-specific state - Beige */ - -/* -//---------------------------- -// Global styles -//---------------------------- -*/ -.global -{ - highlightAlphas: .5, .25; - borderColor: #939A9D; - headerColors: #456F84, #9ABBC9; - themeColor: #75B1CE; - rollOverColor: #D6E6EE; - selectionColor: #B8D5E4; -} - -/* -//---------------------------- -// Type selectors -//---------------------------- -*/ -Application -{ - backgroundColor: #AAB2B7; - backgroundImage: Embed("assets/blue_background.jpg"); -} - -/* -//---------------------------- -// Apply to Panels and Alerts by default -//---------------------------- -*/ -.windowStatus { - color: #BDE9FA; -} - -.windowStyles { /* catalog panel's title text */ - color: #BDE9FA; -} - -/* -//---------------------------- -// Named styles -//---------------------------- -*/ - -.colorPanel /* for the background of some surfaces */ -{ - borderStyle: "solid"; - borderThickness: 0; - backgroundColor: #BDD6E2; - backgroundAlpha: 0.4; - color: #170505; - cornerRadius: 4; - dropShadowEnabled: true; -} - -.homeProgramHeader /* in HomeView */ -{ - fontWeight: "bold"; - fontSize: 13; - color: #7AA4B9; -} - -.homeMap -{ - borderStyle: "solid"; - cornerRadius: 4; - backgroundColor: #7AA4B9; - alpha: 1; - dottedMap: Embed("assets/blue_dotted_map.png"); -} - -.instructions -{ - alpha: .85; - color: #5C5857; -} - -.storeControlBar -{ - fillAlphas: .60, .40; - fillColors: #4A6F81, #BDD6E2; - highlightAlphas: .05, .25; - cornerRadius: 3; - shadowDistance: 4; - paddingLeft: 0; - paddingRight: 0; - paddingTop: 0; - paddingBottom: 0; - horizontalGap: 0; - storeLogo: Embed("assets/logo_blue.png"); -} - -.storeButtonBar -{ - cornerRadius: 0; - buttonStyleName: "storeButton"; - themeColor: #456F84; -} - -.storeButton -{ - cornerRadius: 0; - fillColors: #4A6F81, #BDD6E2, #456F84, #9ABBC9; - fillAlphas: 1, 1; - highlightAlphas: .5, .25; - fontWeight: "normal"; - selectedOverSkin: ClassReference("samples.flexstore.ButtonBarButtonSkin"); - selectedUpSkin: ClassReference("samples.flexstore.ButtonBarButtonSkin"); - overSkin: ClassReference("samples.flexstore.ButtonBarButtonSkin"); -} - -.catalogTitleButtonSelected -{ - color: #FFFFFF; - fontWeight: "bold"; -} - -.catalogTitleButtonDeselected -{ - color: #222222; - fontWeight: "bold"; -} - -.catalogTitleButtonHighlighted -{ - color: #BDE9FA; - fontWeight: "bold"; -} - -.catalogPanel -{ - highlightAlphas: .5, .25; - headerColors: #456F84, #9ABBC9; - borderAlpha: 1; - borderColor: #FFFFFF; - borderThicknessRight: 1; - borderThicknessBottom: 1; - paddingRight: 0; - paddingBottom: 0; -} -
