moved mx example files to mx directory
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/48f47e61 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/48f47e61 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/48f47e61 Branch: refs/heads/develop Commit: 48f47e61c186c18e20338d39cb02d12e0991368f Parents: ea4cc7a Author: Justin Mclean <jmcl...@apache.org> Authored: Sat Aug 9 12:16:56 2014 +1000 Committer: Justin Mclean <jmcl...@apache.org> Committed: Sat Aug 9 12:16:56 2014 +1000 ---------------------------------------------------------------------- .../src/charts/BubbleChartExample.mxml | 60 ------ .../src/charts/CandlestickChartExample.mxml | 87 -------- .../src/charts/Column_BarChartExample.mxml | 122 ----------- .../src/charts/DateTimeAxisExample.mxml | 68 ------ .../src/charts/GridLinesExample.mxml | 68 ------ .../src/charts/HLOCChartExample.mxml | 77 ------- .../src/charts/Line_AreaChartExample.mxml | 87 -------- .../TourDeFlex3/src/charts/LogAxisExample.mxml | 61 ------ .../TourDeFlex3/src/charts/PieChartExample.mxml | 85 -------- .../src/charts/PlotChartExample.mxml | 80 -------- .../src/charts/SeriesInterpolateExample.mxml | 96 --------- .../src/charts/SeriesSlideExample.mxml | 98 --------- .../src/charts/SeriesZoomExample.mxml | 98 --------- .../src/containers/AccordionExample.mxml | 53 ----- .../src/containers/DividedBoxExample.mxml | 39 ---- .../TourDeFlex3/src/containers/FormExample.mxml | 85 -------- .../src/containers/GridLayoutExample.mxml | 67 ------ .../TourDeFlex3/src/containers/HBoxExample.mxml | 39 ---- .../src/containers/HDividedBoxExample.mxml | 41 ---- .../SimpleApplicationControlBarExample.mxml | 57 ------ .../src/containers/SimpleBoxExample.mxml | 46 ----- .../src/containers/SimpleCanvasExample.mxml | 45 ---- .../src/containers/SimpleControlBarExample.mxml | 41 ---- .../src/containers/SimplePanelExample.mxml | 45 ---- .../containers/SimpleTitleWindowExample.mxml | 52 ----- .../src/containers/TabNavigatorExample.mxml | 54 ----- .../src/containers/TileLayoutExample.mxml | 42 ---- .../src/containers/TitleWindowApp.mxml | 63 ------ .../TourDeFlex3/src/containers/VBoxExample.mxml | 39 ---- .../src/containers/VDividedBoxExample.mxml | 41 ---- .../src/containers/ViewStackExample.mxml | 57 ------ .../src/containers/assets/ApacheFlexLogo.png | Bin 71228 -> 0 bytes .../src/controls/AdvancedDataGridExample.mxml | 76 ------- .../src/controls/ButtonBarExample.mxml | 55 ----- .../TourDeFlex3/src/controls/ButtonExample.mxml | 63 ------ .../src/controls/CheckBoxExample.mxml | 76 ------- .../src/controls/ColorPickerExample.mxml | 32 --- .../src/controls/DateChooserExample.mxml | 67 ------ .../src/controls/DateFieldExample.mxml | 57 ------ .../src/controls/HScrollBarExample.mxml | 55 ----- .../src/controls/HorizontalListExample.mxml | 67 ------ .../TourDeFlex3/src/controls/LabelExample.mxml | 47 ----- .../src/controls/LinkBarExample.mxml | 48 ----- .../src/controls/LinkButtonExample.mxml | 38 ---- TourDeFlex/TourDeFlex3/src/controls/Local.mxml | 25 --- .../src/controls/MenuBarExample.mxml | 77 ------- .../src/controls/NumericStepperExample.mxml | 42 ---- .../src/controls/OLAPDataGridExample.mxml | 205 ------------------- .../src/controls/PopUpButtonExample.mxml | 65 ------ .../src/controls/PopUpButtonMenuExample.mxml | 56 ----- .../src/controls/RadioButtonExample.mxml | 41 ---- .../src/controls/RadioButtonGroupExample.mxml | 61 ------ .../src/controls/RichTextEditorExample.mxml | 32 --- .../TourDeFlex3/src/controls/SimpleAlert.mxml | 74 ------- .../src/controls/SimpleComboBox.mxml | 53 ----- .../src/controls/SimpleDataGrid.mxml | 78 ------- .../TourDeFlex3/src/controls/SimpleHRule.mxml | 35 ---- .../TourDeFlex3/src/controls/SimpleImage.mxml | 30 --- .../src/controls/SimpleImageHSlider.mxml | 57 ------ .../src/controls/SimpleImageVSlider.mxml | 63 ------ .../TourDeFlex3/src/controls/SimpleList.mxml | 59 ------ .../TourDeFlex3/src/controls/SimpleLoader.mxml | 31 --- .../src/controls/SimpleMenuExample.mxml | 72 ------- .../src/controls/SimpleProgressBar.mxml | 57 ------ .../TourDeFlex3/src/controls/SimpleVRule.mxml | 31 --- .../TourDeFlex3/src/controls/SpacerExample.mxml | 36 ---- .../TourDeFlex3/src/controls/TabBarExample.mxml | 57 ------ .../src/controls/TextAreaExample.mxml | 37 ---- .../TourDeFlex3/src/controls/TextExample.mxml | 39 ---- .../src/controls/TextInputExample.mxml | 32 --- .../src/controls/TileListExample.mxml | 68 ------ .../src/controls/ToggleButtonBarExample.mxml | 55 ----- .../TourDeFlex3/src/controls/TreeExample.mxml | 67 ------ .../src/controls/VScrollBarExample.mxml | 55 ----- .../src/controls/VideoDisplayExample.mxml | 38 ---- .../src/controls/assets/ApacheFlexIcon.png | Bin 7983 -> 0 bytes .../src/controls/assets/ApacheFlexLogo.png | Bin 71228 -> 0 bytes .../src/controls/assets/buttonDisabled.gif | Bin 537 -> 0 bytes .../src/controls/assets/buttonDown.gif | Bin 592 -> 0 bytes .../src/controls/assets/buttonOver.gif | Bin 1175 -> 0 bytes .../src/controls/assets/buttonUp.gif | Bin 626 -> 0 bytes .../src/controls/assets/flexinstaller.mp4 | Bin 511625 -> 0 bytes .../TourDeFlex3/src/core/RepeaterExample.mxml | 51 ----- .../src/core/SimpleApplicationExample.mxml | 60 ------ .../src/effects/AddItemActionEffectExample.mxml | 100 --------- .../effects/AnimatePropertyEffectExample.mxml | 39 ---- .../src/effects/BlurEffectExample.mxml | 42 ---- .../src/effects/CompositeEffectExample.mxml | 96 --------- .../src/effects/DefaultListEffectExample.mxml | 77 ------- .../effects/DefaultTileListEffectExample.mxml | 79 ------- .../src/effects/DissolveEffectExample.mxml | 57 ------ .../src/effects/FadeEffectExample.mxml | 53 ----- .../src/effects/GlowEffectExample.mxml | 46 ----- .../src/effects/IrisEffectExample.mxml | 40 ---- .../src/effects/MoveEffectExample.mxml | 50 ----- .../src/effects/ParallelEffectExample.mxml | 51 ----- .../src/effects/PauseEffectExample.mxml | 47 ----- .../src/effects/ResizeEffectExample.mxml | 42 ---- .../src/effects/RotateEffectExample.mxml | 66 ------ .../src/effects/SequenceEffectExample.mxml | 47 ----- .../src/effects/SimpleEffectExample.mxml | 67 ------ .../src/effects/SimpleTweenEffectExample.mxml | 73 ------- .../src/effects/SoundEffectExample.mxml | 36 ---- .../src/effects/WipeDownExample.mxml | 45 ---- .../src/effects/WipeLeftExample.mxml | 45 ---- .../src/effects/WipeRightExample.mxml | 45 ---- .../TourDeFlex3/src/effects/WipeUpExample.mxml | 45 ---- .../src/effects/ZoomEffectExample.mxml | 56 ----- .../src/effects/assets/ApacheFlexLogo.png | Bin 71228 -> 0 bytes .../src/effects/assets/OpenSans-Regular.ttf | Bin 217360 -> 0 bytes .../TourDeFlex3/src/effects/assets/ping.mp3 | Bin 91582 -> 0 bytes .../formatters/CurrencyFormatterExample.mxml | 73 ------- .../src/formatters/DateFormatterExample.mxml | 67 ------ .../src/formatters/NumberFormatterExample.mxml | 70 ------- .../src/formatters/PhoneFormatterExample.mxml | 69 ------- .../src/formatters/SimpleFormatterExample.mxml | 67 ------ .../SwitchSymbolFormatterExample.mxml | 63 ------ .../src/formatters/ZipCodeFormatterExample.mxml | 68 ------ .../src/mx/charts/BubbleChartExample.mxml | 60 ++++++ .../src/mx/charts/CandlestickChartExample.mxml | 87 ++++++++ .../src/mx/charts/Column_BarChartExample.mxml | 122 +++++++++++ .../src/mx/charts/DateTimeAxisExample.mxml | 68 ++++++ .../src/mx/charts/GridLinesExample.mxml | 68 ++++++ .../src/mx/charts/HLOCChartExample.mxml | 77 +++++++ .../src/mx/charts/Line_AreaChartExample.mxml | 87 ++++++++ .../src/mx/charts/LogAxisExample.mxml | 61 ++++++ .../src/mx/charts/PieChartExample.mxml | 85 ++++++++ .../src/mx/charts/PlotChartExample.mxml | 80 ++++++++ .../src/mx/charts/SeriesInterpolateExample.mxml | 96 +++++++++ .../src/mx/charts/SeriesSlideExample.mxml | 98 +++++++++ .../src/mx/charts/SeriesZoomExample.mxml | 98 +++++++++ .../src/mx/containers/AccordionExample.mxml | 53 +++++ .../src/mx/containers/DividedBoxExample.mxml | 39 ++++ .../src/mx/containers/FormExample.mxml | 85 ++++++++ .../src/mx/containers/GridLayoutExample.mxml | 67 ++++++ .../src/mx/containers/HBoxExample.mxml | 39 ++++ .../src/mx/containers/HDividedBoxExample.mxml | 41 ++++ .../SimpleApplicationControlBarExample.mxml | 57 ++++++ .../src/mx/containers/SimpleBoxExample.mxml | 46 +++++ .../src/mx/containers/SimpleCanvasExample.mxml | 45 ++++ .../mx/containers/SimpleControlBarExample.mxml | 41 ++++ .../src/mx/containers/SimplePanelExample.mxml | 45 ++++ .../mx/containers/SimpleTitleWindowExample.mxml | 52 +++++ .../src/mx/containers/TabNavigatorExample.mxml | 54 +++++ .../src/mx/containers/TileLayoutExample.mxml | 42 ++++ .../src/mx/containers/TitleWindowApp.mxml | 63 ++++++ .../src/mx/containers/VBoxExample.mxml | 39 ++++ .../src/mx/containers/VDividedBoxExample.mxml | 41 ++++ .../src/mx/containers/ViewStackExample.mxml | 57 ++++++ .../src/mx/containers/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../mx/controls/AdvancedDataGridExample.mxml | 76 +++++++ .../src/mx/controls/ButtonBarExample.mxml | 55 +++++ .../src/mx/controls/ButtonExample.mxml | 63 ++++++ .../src/mx/controls/CheckBoxExample.mxml | 76 +++++++ .../src/mx/controls/ColorPickerExample.mxml | 32 +++ .../src/mx/controls/DateChooserExample.mxml | 67 ++++++ .../src/mx/controls/DateFieldExample.mxml | 57 ++++++ .../src/mx/controls/HScrollBarExample.mxml | 55 +++++ .../src/mx/controls/HorizontalListExample.mxml | 67 ++++++ .../src/mx/controls/LabelExample.mxml | 47 +++++ .../src/mx/controls/LinkBarExample.mxml | 48 +++++ .../src/mx/controls/LinkButtonExample.mxml | 38 ++++ .../TourDeFlex3/src/mx/controls/Local.mxml | 25 +++ .../src/mx/controls/MenuBarExample.mxml | 77 +++++++ .../src/mx/controls/NumericStepperExample.mxml | 42 ++++ .../src/mx/controls/OLAPDataGridExample.mxml | 205 +++++++++++++++++++ .../src/mx/controls/PopUpButtonExample.mxml | 65 ++++++ .../src/mx/controls/PopUpButtonMenuExample.mxml | 56 +++++ .../src/mx/controls/RadioButtonExample.mxml | 41 ++++ .../mx/controls/RadioButtonGroupExample.mxml | 61 ++++++ .../src/mx/controls/RichTextEditorExample.mxml | 32 +++ .../src/mx/controls/SimpleAlert.mxml | 74 +++++++ .../src/mx/controls/SimpleComboBox.mxml | 53 +++++ .../src/mx/controls/SimpleDataGrid.mxml | 78 +++++++ .../src/mx/controls/SimpleHRule.mxml | 35 ++++ .../src/mx/controls/SimpleImage.mxml | 30 +++ .../src/mx/controls/SimpleImageHSlider.mxml | 57 ++++++ .../src/mx/controls/SimpleImageVSlider.mxml | 63 ++++++ .../TourDeFlex3/src/mx/controls/SimpleList.mxml | 59 ++++++ .../src/mx/controls/SimpleLoader.mxml | 31 +++ .../src/mx/controls/SimpleMenuExample.mxml | 72 +++++++ .../src/mx/controls/SimpleProgressBar.mxml | 57 ++++++ .../src/mx/controls/SimpleVRule.mxml | 31 +++ .../src/mx/controls/SpacerExample.mxml | 36 ++++ .../src/mx/controls/TabBarExample.mxml | 57 ++++++ .../src/mx/controls/TextAreaExample.mxml | 37 ++++ .../src/mx/controls/TextExample.mxml | 39 ++++ .../src/mx/controls/TextInputExample.mxml | 32 +++ .../src/mx/controls/TileListExample.mxml | 68 ++++++ .../src/mx/controls/ToggleButtonBarExample.mxml | 55 +++++ .../src/mx/controls/TreeExample.mxml | 67 ++++++ .../src/mx/controls/VScrollBarExample.mxml | 55 +++++ .../src/mx/controls/VideoDisplayExample.mxml | 38 ++++ .../src/mx/controls/assets/ApacheFlexIcon.png | Bin 0 -> 7983 bytes .../src/mx/controls/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../src/mx/controls/assets/buttonDisabled.gif | Bin 0 -> 537 bytes .../src/mx/controls/assets/buttonDown.gif | Bin 0 -> 592 bytes .../src/mx/controls/assets/buttonOver.gif | Bin 0 -> 1175 bytes .../src/mx/controls/assets/buttonUp.gif | Bin 0 -> 626 bytes .../src/mx/controls/assets/flexinstaller.mp4 | Bin 0 -> 511625 bytes .../src/mx/core/RepeaterExample.mxml | 51 +++++ .../src/mx/core/SimpleApplicationExample.mxml | 60 ++++++ .../mx/effects/AddItemActionEffectExample.mxml | 100 +++++++++ .../effects/AnimatePropertyEffectExample.mxml | 39 ++++ .../src/mx/effects/BlurEffectExample.mxml | 42 ++++ .../src/mx/effects/CompositeEffectExample.mxml | 96 +++++++++ .../mx/effects/DefaultListEffectExample.mxml | 77 +++++++ .../effects/DefaultTileListEffectExample.mxml | 79 +++++++ .../src/mx/effects/DissolveEffectExample.mxml | 57 ++++++ .../src/mx/effects/FadeEffectExample.mxml | 53 +++++ .../src/mx/effects/GlowEffectExample.mxml | 46 +++++ .../src/mx/effects/IrisEffectExample.mxml | 40 ++++ .../src/mx/effects/MoveEffectExample.mxml | 50 +++++ .../src/mx/effects/ParallelEffectExample.mxml | 51 +++++ .../src/mx/effects/PauseEffectExample.mxml | 47 +++++ .../src/mx/effects/ResizeEffectExample.mxml | 42 ++++ .../src/mx/effects/RotateEffectExample.mxml | 66 ++++++ .../src/mx/effects/SequenceEffectExample.mxml | 47 +++++ .../src/mx/effects/SimpleEffectExample.mxml | 67 ++++++ .../mx/effects/SimpleTweenEffectExample.mxml | 73 +++++++ .../src/mx/effects/SoundEffectExample.mxml | 36 ++++ .../src/mx/effects/WipeDownExample.mxml | 45 ++++ .../src/mx/effects/WipeLeftExample.mxml | 45 ++++ .../src/mx/effects/WipeRightExample.mxml | 45 ++++ .../src/mx/effects/WipeUpExample.mxml | 45 ++++ .../src/mx/effects/ZoomEffectExample.mxml | 56 +++++ .../src/mx/effects/assets/ApacheFlexLogo.png | Bin 0 -> 71228 bytes .../src/mx/effects/assets/OpenSans-Regular.ttf | Bin 0 -> 217360 bytes .../TourDeFlex3/src/mx/effects/assets/ping.mp3 | Bin 0 -> 91582 bytes .../mx/formatters/CurrencyFormatterExample.mxml | 73 +++++++ .../src/mx/formatters/DateFormatterExample.mxml | 67 ++++++ .../mx/formatters/NumberFormatterExample.mxml | 70 +++++++ .../mx/formatters/PhoneFormatterExample.mxml | 69 +++++++ .../mx/formatters/SimpleFormatterExample.mxml | 67 ++++++ .../SwitchSymbolFormatterExample.mxml | 63 ++++++ .../mx/formatters/ZipCodeFormatterExample.mxml | 68 ++++++ .../printing/AdvancedPrintDataGridExample.mxml | 105 ++++++++++ .../src/mx/printing/FormPrintFooter.mxml | 32 +++ .../src/mx/printing/FormPrintHeader.mxml | 25 +++ .../src/mx/printing/FormPrintView.mxml | 77 +++++++ .../src/mx/printing/PrintDataGridExample.mxml | 143 +++++++++++++ .../src/mx/states/StatesExample.mxml | 56 +++++ .../src/mx/states/TransitionExample.mxml | 82 ++++++++ .../validators/CreditCardValidatorExample.mxml | 68 ++++++ .../mx/validators/CurrencyValidatorExample.mxml | 45 ++++ .../src/mx/validators/DateValidatorExample.mxml | 52 +++++ .../mx/validators/EmailValidatorExample.mxml | 45 ++++ .../mx/validators/NumberValidatorExample.mxml | 46 +++++ .../validators/PhoneNumberValidatorExample.mxml | 45 ++++ .../mx/validators/RegExValidatorExample.mxml | 85 ++++++++ .../mx/validators/SimpleValidatorExample.mxml | 76 +++++++ .../SocialSecurityValidatorExample.mxml | 45 ++++ .../mx/validators/StringValidatorExample.mxml | 48 +++++ .../mx/validators/ZipCodeValidatorExample.mxml | 45 ++++ .../printing/AdvancedPrintDataGridExample.mxml | 105 ---------- .../src/printing/FormPrintFooter.mxml | 32 --- .../src/printing/FormPrintHeader.mxml | 25 --- .../TourDeFlex3/src/printing/FormPrintView.mxml | 77 ------- .../src/printing/PrintDataGridExample.mxml | 143 ------------- .../TourDeFlex3/src/states/StatesExample.mxml | 56 ----- .../src/states/TransitionExample.mxml | 82 -------- .../validators/CreditCardValidatorExample.mxml | 68 ------ .../validators/CurrencyValidatorExample.mxml | 45 ---- .../src/validators/DateValidatorExample.mxml | 52 ----- .../src/validators/EmailValidatorExample.mxml | 45 ---- .../src/validators/NumberValidatorExample.mxml | 46 ----- .../validators/PhoneNumberValidatorExample.mxml | 45 ---- .../src/validators/RegExValidatorExample.mxml | 85 -------- .../src/validators/SimpleValidatorExample.mxml | 76 ------- .../SocialSecurityValidatorExample.mxml | 45 ---- .../src/validators/StringValidatorExample.mxml | 48 ----- .../src/validators/ZipCodeValidatorExample.mxml | 45 ---- 272 files changed, 7454 insertions(+), 7454 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/BubbleChartExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/BubbleChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/BubbleChartExample.mxml deleted file mode 100755 index 8c90a2b..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/BubbleChartExample.mxml +++ /dev/null @@ -1,60 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the BubbleChart control. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - <fx:Script> - <![CDATA[ - import mx.collections.ArrayCollection; - - [Bindable] - private var expensesAC:ArrayCollection = new ArrayCollection( [ - { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 }, - { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 }, - { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 }, - { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 }, - { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]); - ]]> - </fx:Script> - - <fx:Declarations> - <!-- Define custom color and line style for the bubbles. --> - <mx:SolidColor id="sc1" color="blue" alpha=".3"/> - <mx:SolidColorStroke id="stroke1" color="blue" weight="1"/> - </fx:Declarations> - - <mx:Panel title="BubbleChart Control Example" height="100%" width="100%"> - <mx:BubbleChart id="bubblechart" - height="100%" width="100%" - paddingRight="5" paddingLeft="5" - showDataTips="true" maxRadius="20" - dataProvider="{expensesAC}"> - <mx:series> - <mx:BubbleSeries - displayName="Profit/Expenses/Amount" - xField="Profit" - yField="Expenses" - radiusField="Amount" - fill="{sc1}" - stroke="{stroke1}" - /> - </mx:series> - </mx:BubbleChart> - <mx:Legend dataProvider="{bubblechart}"/> - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/CandlestickChartExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/CandlestickChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/CandlestickChartExample.mxml deleted file mode 100755 index 665bc26..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/CandlestickChartExample.mxml +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the CandlestickChart control. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - <fx:Script> - <![CDATA[ - import mx.collections.ArrayCollection; - - [Bindable] - private var expensesAC:ArrayCollection = new ArrayCollection( [ - { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31}, - { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34}, - { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63}, - { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98}, - { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95}, - { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6}, - { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84}, - { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12}, - { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69}, - { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]); - ]]> - </fx:Script> - - <fx:Declarations> - <!-- Define custom colors for the candles. --> - <mx:SolidColor id="up" color="green" alpha=".8"/> - <mx:SolidColor id="down" color="red" alpha=".8"/> - - <!-- Define custom Stroke for the candle wick. --> - <mx:SolidColorStroke id="wick" color="black" weight="2"/> - - <!-- Define custom Stroke for the candle box. --> - <mx:SolidColorStroke id="box" color="black" weight="1"/> - </fx:Declarations> - - <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%"> - <mx:CandlestickChart id="candlestickchart" - height="100%" - width="100%" - paddingRight="5" - paddingLeft="5" - showDataTips="true" - dataProvider="{expensesAC}" - > - <mx:verticalAxis> - <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/> - </mx:verticalAxis> - - <mx:horizontalAxis> - <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/> - </mx:horizontalAxis> - - <mx:horizontalAxisRenderers> - <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/> - </mx:horizontalAxisRenderers> - - <mx:series> - <mx:CandlestickSeries - openField="Open" - highField="High" - lowField="Low" - closeField="Close" - fill="{up}" - declineFill="{down}" - stroke="{wick}" - boxStroke="{box}" - /> - </mx:series> - </mx:CandlestickChart> - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/Column_BarChartExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/Column_BarChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/Column_BarChartExample.mxml deleted file mode 100755 index b6cad9a..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/Column_BarChartExample.mxml +++ /dev/null @@ -1,122 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the ColumnChart and BarChart controls. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - <fx:Script> - <![CDATA[ - import mx.collections.ArrayCollection; - - [Bindable] - private var medalsAC:ArrayCollection = new ArrayCollection( [ - { Country: "USA", Gold: 35, Silver:39, Bronze: 29 }, - { Country: "China", Gold: 32, Silver:17, Bronze: 14 }, - { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]); - ]]> - </fx:Script> - - <fx:Declarations> - <!-- Define custom colors for use as fills. --> - <mx:SolidColor id="sc1" color="yellow" alpha=".8"/> - <mx:SolidColor id="sc2" color="0xCCCCCC" alpha=".6"/> - <mx:SolidColor id="sc3" color="0xFFCC66" alpha=".6"/> - - <!-- Define custom Strokes for the columns. --> - <mx:SolidColorStroke id="s1" color="yellow" weight="2"/> - <mx:SolidColorStroke id="s2" color="0xCCCCCC" weight="2"/> - <mx:SolidColorStroke id="s3" color="0xFFCC66" weight="2"/> - </fx:Declarations> - - <mx:Panel title="ColumnChart and BarChart Controls Example" - height="100%" width="100%" layout="horizontal"> - <mx:ColumnChart id="column" - height="100%" - width="45%" - paddingLeft="5" - paddingRight="5" - showDataTips="true" - dataProvider="{medalsAC}" - > - <mx:horizontalAxis> - <mx:CategoryAxis categoryField="Country"/> - </mx:horizontalAxis> - - <mx:series> - <mx:ColumnSeries - xField="Country" - yField="Gold" - displayName="Gold" - fill="{sc1}" - stroke="{s1}" - /> - <mx:ColumnSeries - xField="Country" - yField="Silver" - displayName="Silver" - fill="{sc2}" - stroke="{s2}" - /> - <mx:ColumnSeries - xField="Country" - yField="Bronze" - displayName="Bronze" - fill="{sc3}" - stroke="{s3}" - /> - </mx:series> - </mx:ColumnChart> - - <mx:Legend dataProvider="{column}"/> - - <mx:BarChart id="bar" height="100%" width="45%" - paddingLeft="5" paddingRight="5" - showDataTips="true" dataProvider="{medalsAC}"> - - <mx:verticalAxis> - <mx:CategoryAxis categoryField="Country"/> - </mx:verticalAxis> - - <mx:series> - <mx:BarSeries - yField="Country" - xField="Gold" - displayName="Gold" - fill="{sc1}" - stroke="{s1}" - /> - <mx:BarSeries - yField="Country" - xField="Silver" - displayName="Silver" - fill="{sc2}" - stroke="{s2}" - /> - <mx:BarSeries - yField="Country" - xField="Bronze" - displayName="Bronze" - fill="{sc3}" - stroke="{s3}" - /> - </mx:series> - </mx:BarChart> - - <mx:Legend dataProvider="{bar}"/> - - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/DateTimeAxisExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/DateTimeAxisExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/DateTimeAxisExample.mxml deleted file mode 100755 index 29d06da..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/DateTimeAxisExample.mxml +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the DateTimeAxis class. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Script> - <![CDATA[ - - import mx.collections.ArrayCollection; - - [Bindable] - public var stockDataAC:ArrayCollection = new ArrayCollection( [ - {date: "2005, 7, 27", close: 41.71}, - {date: "2005, 7, 28", close: 42.21}, - {date: "2005, 7, 29", close: 42.11}, - {date: "2005, 8, 1", close: 42.71}, - {date: "2005, 8, 2", close: 42.99}, - {date: "2005, 8, 3", close: 44} ]); - - public function myParseFunction(s:String):Date { - // Get an array of Strings from the comma-separated String passed in. - var a:Array = s.split(","); - // Create the new Date object. Subtract one from - // the month property because months are zero-based in - // the Date constructor. - var newDate:Date = new Date(a[0],a[1]-1,a[2]); - return newDate; - } - ]]> - </fx:Script> - - <mx:Panel title="DateTimeAxis Example" height="100%" width="100%"> - - <mx:LineChart id="mychart" height="100%" width="100%" - paddingRight="5" paddingLeft="5" - showDataTips="true" dataProvider="{stockDataAC}"> - - <mx:horizontalAxis> - <mx:DateTimeAxis dataUnits="days" parseFunction="myParseFunction"/> - </mx:horizontalAxis> - - <mx:verticalAxis> - <mx:LinearAxis baseAtZero="false" /> - </mx:verticalAxis> - - <mx:series> - <mx:LineSeries yField="close" xField="date" displayName="AAPL"/> - </mx:series> - </mx:LineChart> - - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/GridLinesExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/GridLinesExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/GridLinesExample.mxml deleted file mode 100755 index 659cff2..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/GridLinesExample.mxml +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the GridLines class. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Script> - <![CDATA[ - - import mx.collections.ArrayCollection; - - [Bindable] - private var expensesAC:ArrayCollection = new ArrayCollection( [ - { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 }, - { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 }, - { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 }, - { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 }, - { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]); - ]]> - </fx:Script> - - <mx:Panel title="GridLines Example" height="100%" width="100%"> - - <mx:LineChart id="linechart" height="100%" width="100%" - paddingLeft="5" paddingRight="5" - showDataTips="true" dataProvider="{expensesAC}"> - - <mx:horizontalAxis> - <mx:CategoryAxis categoryField="Month"/> - </mx:horizontalAxis> - - <mx:backgroundElements> - <mx:GridLines gridDirection="horizontal"> - <mx:horizontalStroke> - <mx:SolidColorStroke weight="1"/> - </mx:horizontalStroke> - <mx:horizontalFill> - <mx:SolidColor color="0xCCCCCC" alpha=".66"/> - </mx:horizontalFill> - </mx:GridLines> - </mx:backgroundElements> - - <mx:series> - <mx:LineSeries yField="Profit" form="curve" displayName="Profit"/> - <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses"/> - <mx:LineSeries yField="Amount" form="curve" displayName="Amount"/> - </mx:series> - </mx:LineChart> - - <mx:Legend dataProvider="{linechart}"/> - - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/HLOCChartExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/HLOCChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/HLOCChartExample.mxml deleted file mode 100755 index 46598c8..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/HLOCChartExample.mxml +++ /dev/null @@ -1,77 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the HLOCChart control. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - <fx:Script> - <![CDATA[ - import mx.collections.ArrayCollection; - - [Bindable] - private var stockDataAC:ArrayCollection = new ArrayCollection( [ - { Date: "25-Jul", Open: 40.55, High: 40.75, Low: 40.24, Close:40.31}, - { Date: "26-Jul", Open: 40.15, High: 40.78, Low: 39.97, Close:40.34}, - { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63}, - { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98}, - { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95}, - { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6}, - { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84}, - { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12}, - { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69}, - { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]); - ]]> - </fx:Script> - - <fx:Declarations> - <!-- Define custom Stroke for the wick and ticks. --> - <mx:SolidColorStroke id="s1" color="0x000000" weight="5" joints="bevel" caps="square"/> - </fx:Declarations> - - <mx:Panel title="HLOCChart Control Example" height="100%" width="100%"> - <mx:HLOCChart id="hlocchart" height="100%" width="100%" - paddingRight="5" paddingLeft="5" - showDataTips="true" dataProvider="{stockDataAC}"> - - <mx:verticalAxis> - <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/> - </mx:verticalAxis> - - <mx:horizontalAxis> - <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/> - </mx:horizontalAxis> - - <mx:horizontalAxisRenderers> - <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/> - </mx:horizontalAxisRenderers> - - <mx:series> - <mx:HLOCSeries - openField="Open" - highField="High" - lowField="Low" - closeField="Close" - stroke="{s1}" - openTickStroke="{s1}" - closeTickStroke="{s1}" - openTickLength="7" - closeTickLength="7" - /> - </mx:series> - </mx:HLOCChart> - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/Line_AreaChartExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/Line_AreaChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/Line_AreaChartExample.mxml deleted file mode 100755 index 06c94aa..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/Line_AreaChartExample.mxml +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the LineChart and AreaChart controls. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Script> - <![CDATA[ - - import mx.collections.ArrayCollection; - - [Bindable] - private var expensesAC:ArrayCollection = new ArrayCollection( [ - { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 }, - { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 }, - { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 }, - { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 }, - { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]); - ]]> - </fx:Script> - - <fx:Declarations> - <!-- Define custom colors for use as fills in the AreaChart control. --> - <mx:SolidColor id="sc1" color="blue" alpha=".3"/> - <mx:SolidColor id="sc2" color="red" alpha=".3"/> - <mx:SolidColor id="sc3" color="green" alpha=".3"/> - - <!-- Define custom Strokes. --> - <mx:SolidColorStroke id = "s1" color="blue" weight="2"/> - <mx:SolidColorStroke id = "s2" color="red" weight="2"/> - <mx:SolidColorStroke id = "s3" color="green" weight="2"/> - </fx:Declarations> - - <mx:Panel title="LineChart and AreaChart Controls Example" - height="100%" width="100%" layout="horizontal"> - - <mx:LineChart id="linechart" height="100%" width="45%" - paddingLeft="5" paddingRight="5" - showDataTips="true" dataProvider="{expensesAC}"> - - <mx:horizontalAxis> - <mx:CategoryAxis categoryField="Month"/> - </mx:horizontalAxis> - - <mx:series> - <mx:LineSeries yField="Profit" form="curve" displayName="Profit" lineStroke="{s1}"/> - <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses" lineStroke="{s2}"/> - <mx:LineSeries yField="Amount" form="curve" displayName="Amount" lineStroke="{s3}"/> - </mx:series> - </mx:LineChart> - - <mx:Legend dataProvider="{linechart}"/> - - <mx:AreaChart id="Areachart" height="100%" width="45%" - paddingLeft="5" paddingRight="5" - showDataTips="true" dataProvider="{expensesAC}"> - - <mx:horizontalAxis> - <mx:CategoryAxis categoryField="Month"/> - </mx:horizontalAxis> - - <mx:series> - <mx:AreaSeries yField="Profit" form="curve" displayName="Profit" areaStroke="{s1}" areaFill="{sc1}"/> - <mx:AreaSeries yField="Expenses" form="curve" displayName="Expenses" areaStroke="{s2}" areaFill="{sc2}"/> - <mx:AreaSeries yField="Amount" form="curve" displayName="Amount" areaStroke="{s3}" areaFill="{sc3}"/> - </mx:series> - </mx:AreaChart> - - <mx:Legend dataProvider="{Areachart}"/> - - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/LogAxisExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/LogAxisExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/LogAxisExample.mxml deleted file mode 100755 index d3bf38a..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/LogAxisExample.mxml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the LogAxis class. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Script> - <![CDATA[ - - import mx.collections.ArrayCollection; - - [Bindable] - private var expensesAC:ArrayCollection = new ArrayCollection( [ - { Month: "Jan", Profit: 20000, Expenses: 1500, Amount: 450 }, - { Month: "Feb", Profit: 1000, Expenses: 15000, Amount: 600 }, - { Month: "Mar", Profit: 15000, Expenses: 5000, Amount: 300 }, - { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 }, - { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]); - ]]> - </fx:Script> - - <mx:Panel title="LogAxis Example" height="100%" width="100%"> - - <mx:LineChart id="linechart" height="100%" width="100%" - paddingLeft="5" paddingRight="5" - showDataTips="true" dataProvider="{expensesAC}"> - - <mx:horizontalAxis> - <mx:CategoryAxis categoryField="Month"/> - </mx:horizontalAxis> - - <mx:verticalAxis> - <mx:LogAxis interval="10"/> - </mx:verticalAxis> - - <mx:series> - <mx:LineSeries yField="Profit" form="curve" displayName="Profit"/> - <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses"/> - <mx:LineSeries yField="Amount" form="curve" displayName="Amount"/> - </mx:series> - </mx:LineChart> - - <mx:Legend dataProvider="{linechart}"/> - - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/PieChartExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/PieChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/PieChartExample.mxml deleted file mode 100755 index 3acef1c..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/PieChartExample.mxml +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the PieChart control. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - <fx:Script> - <![CDATA[ - import mx.collections.ArrayCollection; - - [Bindable] - private var medalsAC:ArrayCollection = new ArrayCollection( [ - { Country: "USA", Gold: 35, Silver:39, Bronze: 29 }, - { Country: "China", Gold: 32, Silver:17, Bronze: 14 }, - { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]); - - private function displayGold(data:Object, field:String, index:Number, percentValue:Number):String { - var temp:String= (" " + percentValue).substr(0,6); - return data.Country + ": " + '\n' + "Total Gold: " + data.Gold + '\n' + temp + "%"; - } - ]]> - </fx:Script> - - <fx:Declarations> - <!-- Define custom colors for use as pie wedge fills. --> - <mx:SolidColor id="sc1" color="blue" alpha=".6"/> - <mx:SolidColor id="sc2" color="red" alpha=".6"/> - <mx:SolidColor id="sc3" color="0x663300" alpha=".6"/> - - <!-- This Stroke is used for the callout lines. --> - <mx:SolidColorStroke id="callouts" weight="2" color="0x999999" alpha=".8" caps="square"/> - - <!-- This Stroke is used to separate the wedges in the pie. --> - <mx:SolidColorStroke id="radial" weight="1" color="0xFFFFCC" alpha=".3"/> - - <!-- This Stroke is used for the outer border of the pie. --> - <mx:SolidColorStroke id="pieborder" color="0x000000" weight="2" alpha=".5"/> - </fx:Declarations> - - <mx:Panel title="Olympics 2004 Medals Tally Panel" height="100%" width="100%"> - <mx:PieChart id="chart" - height="100%" - width="100%" - paddingRight="5" - paddingLeft="5" - showDataTips="true" - dataProvider="{medalsAC}" - > - <!-- - --> - <mx:series> - <mx:PieSeries - nameField="Country" - labelPosition="callout" - field="Gold" - labelFunction="displayGold" - calloutStroke="{callouts}" - radialStroke="{radial}" - stroke="{pieborder}" - fills="{[sc1, sc2, sc3]}" - > - <!-- Clear the drop shadow filters from the chart. --> - <mx:filters> - <fx:Array/> - </mx:filters> - </mx:PieSeries> - </mx:series> - </mx:PieChart> - <mx:Legend dataProvider="{chart}"/> - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/PlotChartExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/PlotChartExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/PlotChartExample.mxml deleted file mode 100755 index 0378e1a..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/PlotChartExample.mxml +++ /dev/null @@ -1,80 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the PlotChart control. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - <fx:Script> - <![CDATA[ - import mx.collections.ArrayCollection; - - [Bindable] - private var expensesAC:ArrayCollection = new ArrayCollection( [ - { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 }, - { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 }, - { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 } ]); - ]]> - </fx:Script> - - <fx:Declarations> - <!-- Define custom colors for use as plot point fills. --> - <mx:SolidColor id="sc1" color="blue" alpha=".3"/> - <mx:SolidColor id="sc2" color="red" alpha=".3"/> - <mx:SolidColor id="sc3" color="green" alpha=".3"/> - - <!-- Define custom Strokes. --> - <mx:SolidColorStroke id="s1" color="blue" weight="1"/> - <mx:SolidColorStroke id="s2" color="red" weight="1"/> - <mx:SolidColorStroke id="s3" color="green" weight="1"/> - </fx:Declarations> - - <mx:Panel title="PlotChart Control Example" height="100%" width="100%"> - <mx:PlotChart id="plot" - height="100%" - width="100%" - paddingLeft="5" - paddingRight="5" - showDataTips="true" - dataProvider="{expensesAC}" - > - <mx:series> - <mx:PlotSeries - xField="Expenses" - yField="Profit" - displayName="Plot 1" - fill="{sc1}" - stroke="{s1}" - /> - <mx:PlotSeries - xField="Amount" - yField="Expenses" - displayName="Plot 2" - fill="{sc2}" - stroke="{s2}" - /> - <mx:PlotSeries - xField="Profit" - yField="Amount" - displayName="Plot 3" - fill="{sc3}" - stroke="{s3}" - /> - </mx:series> - </mx:PlotChart> - <mx:Legend dataProvider="{plot}"/> - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/SeriesInterpolateExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/SeriesInterpolateExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/SeriesInterpolateExample.mxml deleted file mode 100755 index 11896e5..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/SeriesInterpolateExample.mxml +++ /dev/null @@ -1,96 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the CandlestickChart control. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Script> - <![CDATA[ - - import mx.collections.ArrayCollection; - - [Bindable] - private var companyAAC:ArrayCollection = new ArrayCollection( [ - { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31}, - { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34}, - { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63}, - { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98}, - { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95}, - { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6}, - { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84}, - { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12}, - { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69}, - { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]); - - [Bindable] - private var companyBAC:ArrayCollection = new ArrayCollection( [ - { Date: "25-Jul", Open: 18.50, High: 19, Low: 18.48, Close:18.86}, - { Date: "26-Jul", Open: 19.56, High: 19.98, Low: 18.6, Close:18.69}, - { Date: "27-Jul", Open: 20.81, High: 20.99, Low: 20.03, Close:20.12}, - { Date: "28-Jul", Open: 20.70, High: 21.00, Low: 19.5, Close:20.84}, - { Date: "29-Jul", Open: 21.7, High: 21.79, Low: 20.45, Close:20.6}, - { Date: "1-Aug", Open: 22.45, High: 22.65, Low: 21.65, Close:21.95}, - { Date: "2-Aug", Open: 22.56, High: 22.6, Low: 22.05, Close:22.98}, - { Date: "3-Aug", Open: 22.42, High: 22.70, Low: 22.1, Close:22.63}, - { Date: "4-Aug", Open: 21.67, High: 22.82, Low: 21.67, Close:22.34}, - { Date: "5-Aug", Open: 22.44, High: 22.85, Low: 22.12, Close:22.31} ]); - ]]> - </fx:Script> - - <fx:Declarations> - <mx:SeriesInterpolate id="interpolateIn" duration="1000"/> - </fx:Declarations> - - <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%" - paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"> - - <mx:CandlestickChart id="candlestickchart" height="100%" width="100%" - paddingRight="5" paddingLeft="5" - showDataTips="true" dataProvider="{companyAAC}"> - - <mx:verticalAxis> - <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/> - </mx:verticalAxis> - - <mx:horizontalAxis> - <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/> - </mx:horizontalAxis> - - <mx:horizontalAxisRenderers> - <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/> - </mx:horizontalAxisRenderers> - - <mx:series> - <mx:CandlestickSeries - openField="Open" highField="High" - lowField="Low" closeField="Close" - showDataEffect="{interpolateIn}"/> - </mx:series> - </mx:CandlestickChart> - - <mx:Label width="100%" color="blue" - text="Choose a company to view recent stock data."/> - - <mx:HBox> - <mx:RadioButton groupName="stocks" label="View Company A" - selected="true" click="candlestickchart.dataProvider=companyAAC;"/> - <mx:RadioButton groupName="stocks" label="View Company B" - click="candlestickchart.dataProvider=companyBAC;"/> - </mx:HBox> - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/SeriesSlideExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/SeriesSlideExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/SeriesSlideExample.mxml deleted file mode 100755 index 64578ce..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/SeriesSlideExample.mxml +++ /dev/null @@ -1,98 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the CandlestickChart control. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Script> - <![CDATA[ - - import mx.collections.ArrayCollection; - - [Bindable] - private var companyAAC:ArrayCollection = new ArrayCollection( [ - { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31}, - { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34}, - { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63}, - { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98}, - { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95}, - { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6}, - { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84}, - { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12}, - { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69}, - { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]); - - [Bindable] - private var companyBAC:ArrayCollection = new ArrayCollection( [ - { Date: "25-Jul", Open: 18.50, High: 19, Low: 18.48, Close:18.86}, - { Date: "26-Jul", Open: 19.56, High: 19.98, Low: 18.6, Close:18.69}, - { Date: "27-Jul", Open: 20.81, High: 20.99, Low: 20.03, Close:20.12}, - { Date: "28-Jul", Open: 20.70, High: 21.00, Low: 19.5, Close:20.84}, - { Date: "29-Jul", Open: 21.7, High: 21.79, Low: 20.45, Close:20.6}, - { Date: "1-Aug", Open: 22.45, High: 22.65, Low: 21.65, Close:21.95}, - { Date: "2-Aug", Open: 22.56, High: 22.6, Low: 22.05, Close:22.98}, - { Date: "3-Aug", Open: 22.42, High: 22.70, Low: 22.1, Close:22.63}, - { Date: "4-Aug", Open: 21.67, High: 22.82, Low: 21.67, Close:22.34}, - { Date: "5-Aug", Open: 22.44, High: 22.85, Low: 22.12, Close:22.31} ]); - ]]> - </fx:Script> - - <fx:Declarations> - <mx:SeriesSlide id="slideIn" duration="1000" direction="up"/> - <mx:SeriesSlide id="slideOut" duration="1000" direction="down"/> - </fx:Declarations> - - <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%" - paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"> - - <mx:CandlestickChart id="candlestickchart" height="100%" width="100%" - paddingRight="5" paddingLeft="5" - showDataTips="true" dataProvider="{companyAAC}"> - - <mx:verticalAxis> - <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/> - </mx:verticalAxis> - - <mx:horizontalAxis> - <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/> - </mx:horizontalAxis> - - <mx:horizontalAxisRenderers> - <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/> - </mx:horizontalAxisRenderers> - - <mx:series> - <mx:CandlestickSeries - openField="Open" highField="High" - lowField="Low" closeField="Close" - showDataEffect="{slideIn}" - hideDataEffect="{slideOut}"/> - </mx:series> - </mx:CandlestickChart> - - <mx:Label width="100%" color="blue" - text="Choose a company to view recent stock data."/> - - <mx:HBox> - <mx:RadioButton groupName="stocks" label="View Company A" - selected="true" click="candlestickchart.dataProvider=companyAAC;"/> - <mx:RadioButton groupName="stocks" label="View Company B" - click="candlestickchart.dataProvider=companyBAC;"/> - </mx:HBox> - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/charts/SeriesZoomExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/charts/SeriesZoomExample.mxml b/TourDeFlex/TourDeFlex3/src/charts/SeriesZoomExample.mxml deleted file mode 100755 index f0a72a6..0000000 --- a/TourDeFlex/TourDeFlex3/src/charts/SeriesZoomExample.mxml +++ /dev/null @@ -1,98 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the CandlestickChart control. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Script> - <![CDATA[ - - import mx.collections.ArrayCollection; - - [Bindable] - private var companyAAC:ArrayCollection = new ArrayCollection( [ - { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31}, - { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34}, - { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63}, - { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98}, - { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95}, - { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6}, - { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84}, - { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12}, - { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69}, - { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]); - - [Bindable] - private var companyBAC:ArrayCollection = new ArrayCollection( [ - { Date: "25-Jul", Open: 18.50, High: 19, Low: 18.48, Close:18.86}, - { Date: "26-Jul", Open: 19.56, High: 19.98, Low: 18.6, Close:18.69}, - { Date: "27-Jul", Open: 20.81, High: 20.99, Low: 20.03, Close:20.12}, - { Date: "28-Jul", Open: 20.70, High: 21.00, Low: 19.5, Close:20.84}, - { Date: "29-Jul", Open: 21.7, High: 21.79, Low: 20.45, Close:20.6}, - { Date: "1-Aug", Open: 22.45, High: 22.65, Low: 21.65, Close:21.95}, - { Date: "2-Aug", Open: 22.56, High: 22.6, Low: 22.05, Close:22.98}, - { Date: "3-Aug", Open: 22.42, High: 22.70, Low: 22.1, Close:22.63}, - { Date: "4-Aug", Open: 21.67, High: 22.82, Low: 21.67, Close:22.34}, - { Date: "5-Aug", Open: 22.44, High: 22.85, Low: 22.12, Close:22.31} ]); - ]]> - </fx:Script> - - <fx:Declarations> - <mx:SeriesZoom id="zoomIn" duration="1000"/> - <mx:SeriesZoom id="zoomOut" duration="1000"/> - </fx:Declarations> - - <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%" - paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"> - - <mx:CandlestickChart id="candlestickchart" height="100%" width="100%" - paddingRight="5" paddingLeft="5" - showDataTips="true" dataProvider="{companyAAC}"> - - <mx:verticalAxis> - <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/> - </mx:verticalAxis> - - <mx:horizontalAxis> - <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/> - </mx:horizontalAxis> - - <mx:horizontalAxisRenderers> - <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/> - </mx:horizontalAxisRenderers> - - <mx:series> - <mx:CandlestickSeries - openField="Open" highField="High" - lowField="Low" closeField="Close" - showDataEffect="{zoomIn}" - hideDataEffect="{zoomOut}"/> - </mx:series> - </mx:CandlestickChart> - - <mx:Label width="100%" color="blue" - text="Choose a company to view recent stock data."/> - - <mx:HBox> - <mx:RadioButton groupName="stocks" label="View Company A" - selected="true" click="candlestickchart.dataProvider=companyAAC;"/> - <mx:RadioButton groupName="stocks" label="View Company B" - click="candlestickchart.dataProvider=companyBAC;"/> - </mx:HBox> - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/containers/AccordionExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/containers/AccordionExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/AccordionExample.mxml deleted file mode 100755 index 5bb5967..0000000 --- a/TourDeFlex/TourDeFlex3/src/containers/AccordionExample.mxml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the Accordion layout container. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <mx:Panel title="Accordion Container Example" height="90%" width="90%" - paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"> - - <mx:Label width="100%" color="blue" - text="Select an Accordion navigator button to change the panel."/> - - <mx:Accordion id="accordion" width="100%" height="100%"> - <!-- Define each panel using a VBox container. --> - <mx:VBox label="Accordion Button for Panel 1"> - <mx:Label text="Accordion container panel 1"/> - </mx:VBox> - - <mx:VBox label="Accordion Button for Panel 2"> - <mx:Label text="Accordion container panel 2"/> - </mx:VBox> - - <mx:VBox label="Accordion Button for Panel 3"> - <mx:Label text="Accordion container panel 3"/> - </mx:VBox> - </mx:Accordion> - - <mx:Label width="100%" color="blue" - text="Programmatically select the panel using a Button control."/> - - <mx:HBox> - <mx:Button label="Select Panel 1" click="accordion.selectedIndex=0;"/> - <mx:Button label="Select Panel 2" click="accordion.selectedIndex=1;"/> - <mx:Button label="Select Panel 3" click="accordion.selectedIndex=2;"/> - </mx:HBox> - - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/containers/DividedBoxExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/containers/DividedBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/DividedBoxExample.mxml deleted file mode 100755 index fed477a..0000000 --- a/TourDeFlex/TourDeFlex3/src/containers/DividedBoxExample.mxml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the DividedBox layout container. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <mx:Panel title="DividedBox Container Example" height="95%" width="95%" - paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"> - - <mx:Text width="100%" color="blue" - text="A horizontal DividedBox container. Drag the divider side to side to resize the children."/> - - <mx:DividedBox direction="horizontal" width="100%" height="100%"> - - <mx:Panel title="Panel 1" width="25%" height="100%" backgroundColor="0xCCCCCC"> - </mx:Panel> - - <mx:Panel title="Panel 2" width="25%" height="100%" backgroundColor="0xCCCCCC"> - </mx:Panel> - - </mx:DividedBox> - - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/containers/FormExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/containers/FormExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/FormExample.mxml deleted file mode 100755 index 3211912..0000000 --- a/TourDeFlex/TourDeFlex3/src/containers/FormExample.mxml +++ /dev/null @@ -1,85 +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. - --> - -<!-- Simple example to demonstrate Form layout container. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <fx:Declarations> - <fx:Model id="checkModel"> - <User> - <FirstName>{fname.text}</FirstName> - <DOB>{dob.text}</DOB> - <Email>{email.text}</Email> - <Age>{age.text}</Age> - <SSN>{ssn.text}</SSN> - <Zip>{zip.text}</Zip> - <Phone>{phone.text}</Phone> - </User> - </fx:Model> - - <mx:StringValidator source="{fname}" property="text" minLength="4" maxLength="12"/> - <mx:PhoneNumberValidator source="{phone}" property="text"/> - <mx:DateValidator source="{dob}" property="text"/> - <mx:EmailValidator source="{email}" property="text"/> - <mx:NumberValidator source="{age}" property="text" integerError="Enter Integer value" - minValue="18" maxValue="100" domain="int"/> - <mx:SocialSecurityValidator source="{ssn}" property="text"/> - <mx:ZipCodeValidator source="{zip}" property="text"/> - </fx:Declarations> - - <mx:Panel title="Form Container Example" height="75%" width="75%" - paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"> - - <mx:Text width="100%" color="blue" - text="Moving from one form field to another triggers the validator."/> - - <mx:Form width="100%" height="100%"> - <mx:FormHeading label="Enter values into the form."/> - - <mx:FormItem label="First name"> - <mx:TextInput id="fname" width="200"/> - </mx:FormItem> - - <mx:FormItem label="Date of birth (mm/dd/yyyy)"> - <mx:TextInput id="dob" width="200"/> - </mx:FormItem> - - <mx:FormItem label="E-mail address"> - <mx:TextInput id="email" width="200"/> - </mx:FormItem> - - <mx:FormItem label="Age"> - <mx:TextInput id="age" width="200"/> - </mx:FormItem> - - <mx:FormItem label="SSN"> - <mx:TextInput id="ssn" width="200"/> - </mx:FormItem> - - <mx:FormItem label="Zip"> - <mx:TextInput id="zip" width="200"/> - </mx:FormItem> - - <mx:FormItem label="Phone"> - <mx:TextInput id="phone" width="200"/> - </mx:FormItem> - </mx:Form> - - </mx:Panel> - -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/containers/GridLayoutExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/containers/GridLayoutExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/GridLayoutExample.mxml deleted file mode 100755 index ee9277c..0000000 --- a/TourDeFlex/TourDeFlex3/src/containers/GridLayoutExample.mxml +++ /dev/null @@ -1,67 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the Grid layout container.--> -<mx:Application borderStyle="none" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <mx:Panel title="Grid Container Example" height="75%" width="75%" - paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"> - - <mx:Label width="100%" color="blue" - text="A 3 by 3 Grid container of Button controls."/> - - <mx:Grid> - <mx:GridRow> - <mx:GridItem> - <mx:Button label="Row 1 Col 1" width="100"/> - </mx:GridItem> - <mx:GridItem> - <mx:Button label="Row 1 Col 2" width="100"/> - </mx:GridItem> - <mx:GridItem> - <mx:Button label="Row 1 Col 3" width="100"/> - </mx:GridItem> - </mx:GridRow> - - <mx:GridRow> - <mx:GridItem> - <mx:Button label="Row 2 Col 1" width="100"/> - </mx:GridItem> - <mx:GridItem> - <mx:Button label="Row 2 Col 2" width="100"/> - </mx:GridItem> - <mx:GridItem> - <mx:Button label="Row 2 Col 3" width="100"/> - </mx:GridItem> - </mx:GridRow> - - <mx:GridRow> - <mx:GridItem> - <mx:Button label="Row 3 Col 1" width="100"/> - </mx:GridItem> - <mx:GridItem> - <mx:Button label="Row 3 Col 2" width="100"/> - </mx:GridItem> - <mx:GridItem> - <mx:Button label="Row 3 Col 3" width="100"/> - </mx:GridItem> - </mx:GridRow> - </mx:Grid> - - </mx:Panel> -</mx:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/48f47e61/TourDeFlex/TourDeFlex3/src/containers/HBoxExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/containers/HBoxExample.mxml b/TourDeFlex/TourDeFlex3/src/containers/HBoxExample.mxml deleted file mode 100755 index 81295b4..0000000 --- a/TourDeFlex/TourDeFlex3/src/containers/HBoxExample.mxml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- Simple example to demonstrate the HBox layout container. --> -<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"> - - <mx:Panel title="HBox Container Example" height="75%" width="75%" - paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"> - - <mx:Label width="100%" color="blue" - text="An HBox container with horizontally aligned children."/> - - <mx:HBox borderStyle="solid" paddingTop="10" paddingBottom="10" - paddingLeft="10" paddingRight="10"> - - <mx:Button label="Button 1"/> - <mx:Button label="Button 2"/> - <mx:Button label="Button 3"/> - <mx:ComboBox/> - - </mx:HBox> - - </mx:Panel> -</mx:Application> \ No newline at end of file