You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/04/15 23:43:21 UTC
[16/55] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - move
AS classes from FlexJSJX to final home. Build scripts will be fixed up in a
later commit
move AS classes from FlexJSJX to final home. Build scripts will be fixed up in a later commit
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/72b21f62
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/72b21f62
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/72b21f62
Branch: refs/heads/develop
Commit: 72b21f6245490bd742178978b8f760d1d77f126b
Parents: abb124b
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 10 23:12:44 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 10 23:12:44 2015 -0700
----------------------------------------------------------------------
.../as/projects/FlexJSJX/basic-manifest.xml | 95 ---
frameworks/as/projects/FlexJSJX/build.xml | 79 ---
.../as/projects/FlexJSJX/compile-config.xml | 76 ---
frameworks/as/projects/FlexJSJX/defaults.css | 139 ----
.../as/projects/FlexJSJX/src/FlexJSJXClasses.as | 95 ---
.../src/org/apache/flex/charts/BarChart.as | 49 --
.../src/org/apache/flex/charts/ColumnChart.as | 48 --
.../src/org/apache/flex/charts/LineChart.as | 48 --
.../src/org/apache/flex/charts/PieChart.as | 47 --
.../org/apache/flex/charts/StackedBarChart.as | 48 --
.../apache/flex/charts/StackedColumnChart.as | 48 --
.../apache/flex/charts/beads/AxisBaseBead.as | 229 -------
.../charts/beads/ChartItemRendererFactory.as | 147 ----
.../org/apache/flex/charts/beads/ChartView.as | 161 -----
.../DataItemRendererFactoryForSeriesData.as | 127 ----
.../org/apache/flex/charts/beads/DataTipBead.as | 162 -----
.../charts/beads/HorizontalCategoryAxisBead.as | 182 -----
.../charts/beads/HorizontalLinearAxisBead.as | 236 -------
.../charts/beads/VerticalCategoryAxisBead.as | 188 ------
.../flex/charts/beads/VerticalLinearAxisBead.as | 226 -------
.../flex/charts/beads/layouts/BarChartLayout.as | 149 -----
.../charts/beads/layouts/ChartBaseLayout.as | 146 ----
.../charts/beads/layouts/ColumnChartLayout.as | 140 ----
.../layouts/LineChartCategoryVsLinearLayout.as | 147 ----
.../layouts/LineChartLinearVsLinearLayout.as | 161 -----
.../flex/charts/beads/layouts/PieChartLayout.as | 135 ----
.../beads/layouts/StackedBarChartLayout.as | 159 -----
.../beads/layouts/StackedColumnChartLayout.as | 156 -----
.../flex/charts/optimized/SVGBoxItemRenderer.as | 166 -----
.../flex/charts/optimized/SVGChartAxisGroup.as | 142 ----
.../flex/charts/optimized/SVGChartDataGroup.as | 183 -----
.../optimized/SVGLineSegmentItemRenderer.as | 201 ------
.../charts/optimized/SVGWedgeItemRenderer.as | 281 --------
.../flex/charts/supportClasses/BarSeries.as | 103 ---
.../charts/supportClasses/BoxItemRenderer.as | 254 -------
.../flex/charts/supportClasses/ColumnSeries.as | 93 ---
.../supportClasses/ILineSegmentItemRenderer.as | 57 --
.../charts/supportClasses/IWedgeItemRenderer.as | 113 ----
.../supportClasses/LineSegmentItemRenderer.as | 194 ------
.../flex/charts/supportClasses/LineSeries.as | 114 ----
.../flex/charts/supportClasses/PieSeries.as | 85 ---
.../charts/supportClasses/WedgeItemRenderer.as | 272 --------
.../apache/flex/core/ApplicationDataBinding.as | 328 ---------
.../org/apache/flex/core/BindableCSSStyles.as | 109 ---
.../apache/flex/core/ContainerDataBinding.as | 381 -----------
.../src/org/apache/flex/core/DropType.as | 64 --
.../src/org/apache/flex/core/IDataGridLayout.as | 55 --
.../src/org/apache/flex/core/IDataGridModel.as | 44 --
.../flex/core/IDataGridPresentationModel.as | 45 --
.../org/apache/flex/core/IDateChooserModel.as | 101 ---
.../org/apache/flex/core/MXMLBeadViewBase.as | 320 ---------
.../flex/core/MXMLBeadViewBaseDataBinding.as | 327 ---------
.../org/apache/flex/core/ParentDocumentBead.as | 127 ----
.../src/org/apache/flex/core/SimpleCSSStyles.as | 79 ---
.../flex/core/StatesWithTransitionsImpl.as | 299 ---------
.../src/org/apache/flex/effects/Effect.as | 263 --------
.../src/org/apache/flex/effects/Fade.as | 165 -----
.../src/org/apache/flex/effects/IEffect.as | 136 ----
.../src/org/apache/flex/effects/Move.as | 240 -------
.../src/org/apache/flex/effects/Parallel.as | 152 -----
.../src/org/apache/flex/effects/Resize.as | 197 ------
.../src/org/apache/flex/effects/Sequence.as | 152 -----
.../src/org/apache/flex/effects/Tween.as | 665 -------------------
.../src/org/apache/flex/effects/Wipe.as | 156 -----
.../src/org/apache/flex/html/DataGrid.as | 144 ----
.../src/org/apache/flex/html/DateChooser.as | 74 ---
.../src/org/apache/flex/html/DateField.as | 90 ---
.../src/org/apache/flex/html/ImageButton.as | 60 --
.../flex/html/accessories/CurrencyFormatter.as | 215 ------
.../html/accessories/DateFormatMMDDYYYYBead.as | 158 -----
.../flex/html/accessories/NumberFormatter.as | 210 ------
.../apache/flex/html/accessories/ToolTipBead.as | 141 ----
.../flex/html/beads/DataGridColumnView.as | 104 ---
.../org/apache/flex/html/beads/DataGridView.as | 229 -------
.../DataItemRendererFactoryForColumnData.as | 142 ----
.../apache/flex/html/beads/DateChooserView.as | 256 -------
.../org/apache/flex/html/beads/DateFieldView.as | 186 ------
.../flex/html/beads/FormatableLabelView.as | 90 ---
.../flex/html/beads/FormatableTextInputView.as | 91 ---
.../org/apache/flex/html/beads/IDataGridView.as | 36 -
.../flex/html/beads/TitleBarMeasurementBead.as | 108 ---
.../apache/flex/html/beads/TitleBarView.mxml | 59 --
.../controllers/DateChooserMouseController.as | 126 ----
.../controllers/DateFieldMouseController.as | 97 ---
.../beads/controllers/DragMouseController.as | 261 --------
.../beads/controllers/DropMouseController.as | 181 -----
.../flex/html/beads/layouts/DataGridLayout.as | 154 -----
.../FlexibleFirstChildHorizontalLayout.as | 245 -------
.../html/beads/layouts/LayoutChangeNotifier.as | 103 ---
.../layouts/OneFlexibleChildVerticalLayout.as | 432 ------------
.../html/beads/layouts/VerticalColumnLayout.as | 151 -----
.../flex/html/beads/models/DataGridModel.as | 72 --
.../beads/models/DataGridPresentationModel.as | 86 ---
.../flex/html/beads/models/DateChooserModel.as | 189 ------
.../flex/html/supportClasses/DataGridColumn.as | 127 ----
.../html/supportClasses/DateChooserButton.as | 67 --
.../html/supportClasses/GraphicsItemRenderer.as | 295 --------
.../src/org/apache/flex/mobile/IView.as | 43 --
.../src/org/apache/flex/mobile/IViewManager.as | 42 --
.../apache/flex/mobile/StackedViewManager.as | 291 --------
.../org/apache/flex/mobile/TabbedViewManager.as | 257 -------
.../FlexJSJX/src/org/apache/flex/mobile/View.as | 80 ---
.../flex/mobile/beads/StackedViewManagerView.as | 184 -----
.../flex/mobile/beads/TabbedViewManagerView.as | 184 -----
.../apache/flex/mobile/chrome/NavigationBar.as | 103 ---
.../src/org/apache/flex/mobile/chrome/TabBar.as | 80 ---
.../org/apache/flex/mobile/chrome/ToolBar.as | 81 ---
.../flex/mobile/models/ViewManagerModel.as | 257 -------
.../src/org/apache/flex/states/Transition.as | 80 ---
.../tests/FlexUnitFlexJSApplication.mxml | 46 --
frameworks/as/projects/FlexJSJX/tests/build.xml | 141 ----
.../tests/flexUnitTests/DataGridColumnTester.as | 27 -
.../flexUnitTests/DataGridColumnTesterTest.as | 55 --
.../projects/Charts/asjs/ChartsClasses.as | 95 +++
.../asjs/src/org/apache/flex/charts/BarChart.as | 49 ++
.../src/org/apache/flex/charts/ColumnChart.as | 48 ++
.../src/org/apache/flex/charts/LineChart.as | 48 ++
.../asjs/src/org/apache/flex/charts/PieChart.as | 47 ++
.../org/apache/flex/charts/StackedBarChart.as | 48 ++
.../apache/flex/charts/StackedColumnChart.as | 48 ++
.../apache/flex/charts/beads/AxisBaseBead.as | 229 +++++++
.../charts/beads/ChartItemRendererFactory.as | 147 ++++
.../org/apache/flex/charts/beads/ChartView.as | 161 +++++
.../DataItemRendererFactoryForSeriesData.as | 127 ++++
.../org/apache/flex/charts/beads/DataTipBead.as | 162 +++++
.../charts/beads/HorizontalCategoryAxisBead.as | 182 +++++
.../charts/beads/HorizontalLinearAxisBead.as | 236 +++++++
.../charts/beads/VerticalCategoryAxisBead.as | 188 ++++++
.../flex/charts/beads/VerticalLinearAxisBead.as | 226 +++++++
.../flex/charts/beads/layouts/BarChartLayout.as | 149 +++++
.../charts/beads/layouts/ChartBaseLayout.as | 146 ++++
.../charts/beads/layouts/ColumnChartLayout.as | 140 ++++
.../layouts/LineChartCategoryVsLinearLayout.as | 147 ++++
.../layouts/LineChartLinearVsLinearLayout.as | 161 +++++
.../flex/charts/beads/layouts/PieChartLayout.as | 135 ++++
.../beads/layouts/StackedBarChartLayout.as | 159 +++++
.../beads/layouts/StackedColumnChartLayout.as | 156 +++++
.../flex/charts/optimized/SVGBoxItemRenderer.as | 166 +++++
.../flex/charts/optimized/SVGChartAxisGroup.as | 142 ++++
.../flex/charts/optimized/SVGChartDataGroup.as | 183 +++++
.../optimized/SVGLineSegmentItemRenderer.as | 201 ++++++
.../charts/optimized/SVGWedgeItemRenderer.as | 281 ++++++++
.../flex/charts/supportClasses/BarSeries.as | 103 +++
.../charts/supportClasses/BoxItemRenderer.as | 254 +++++++
.../flex/charts/supportClasses/ColumnSeries.as | 93 +++
.../supportClasses/ILineSegmentItemRenderer.as | 57 ++
.../charts/supportClasses/IWedgeItemRenderer.as | 113 ++++
.../supportClasses/LineSegmentItemRenderer.as | 194 ++++++
.../flex/charts/supportClasses/LineSeries.as | 114 ++++
.../flex/charts/supportClasses/PieSeries.as | 85 +++
.../charts/supportClasses/WedgeItemRenderer.as | 272 ++++++++
.../projects/Core/asjs/basic-manifest.xml | 95 +++
frameworks/projects/Core/asjs/build.xml | 79 +++
.../projects/Core/asjs/compile-config.xml | 76 +++
frameworks/projects/Core/asjs/defaults.css | 139 ++++
.../projects/Core/asjs/src/CoreClasses.as | 95 +++
.../apache/flex/core/ApplicationDataBinding.as | 328 +++++++++
.../org/apache/flex/core/BindableCSSStyles.as | 109 +++
.../apache/flex/core/ContainerDataBinding.as | 381 +++++++++++
.../asjs/src/org/apache/flex/core/DropType.as | 64 ++
.../src/org/apache/flex/core/IDataGridLayout.as | 55 ++
.../src/org/apache/flex/core/IDataGridModel.as | 44 ++
.../flex/core/IDataGridPresentationModel.as | 45 ++
.../org/apache/flex/core/IDateChooserModel.as | 101 +++
.../org/apache/flex/core/MXMLBeadViewBase.as | 320 +++++++++
.../flex/core/MXMLBeadViewBaseDataBinding.as | 327 +++++++++
.../org/apache/flex/core/ParentDocumentBead.as | 127 ++++
.../src/org/apache/flex/core/SimpleCSSStyles.as | 79 +++
.../flex/core/StatesWithTransitionsImpl.as | 299 +++++++++
.../asjs/tests/FlexUnitFlexJSApplication.mxml | 46 ++
frameworks/projects/Core/asjs/tests/build.xml | 141 ++++
.../tests/flexUnitTests/DataGridColumnTester.as | 27 +
.../flexUnitTests/DataGridColumnTesterTest.as | 55 ++
.../projects/Effects/asjs/EffectsClasses.as | 95 +++
.../asjs/src/org/apache/flex/effects/Effect.as | 263 ++++++++
.../asjs/src/org/apache/flex/effects/Fade.as | 165 +++++
.../asjs/src/org/apache/flex/effects/IEffect.as | 136 ++++
.../asjs/src/org/apache/flex/effects/Move.as | 240 +++++++
.../src/org/apache/flex/effects/Parallel.as | 152 +++++
.../asjs/src/org/apache/flex/effects/Resize.as | 197 ++++++
.../src/org/apache/flex/effects/Sequence.as | 152 +++++
.../asjs/src/org/apache/flex/effects/Tween.as | 665 +++++++++++++++++++
.../asjs/src/org/apache/flex/effects/Wipe.as | 156 +++++
.../src/org/apache/flex/states/Transition.as | 80 +++
frameworks/projects/HTML/asjs/HTMLClasses.as | 95 +++
.../asjs/src/org/apache/flex/html/DataGrid.as | 144 ++++
.../src/org/apache/flex/html/DateChooser.as | 74 +++
.../asjs/src/org/apache/flex/html/DateField.as | 90 +++
.../src/org/apache/flex/html/ImageButton.as | 60 ++
.../flex/html/accessories/CurrencyFormatter.as | 215 ++++++
.../html/accessories/DateFormatMMDDYYYYBead.as | 158 +++++
.../flex/html/accessories/NumberFormatter.as | 210 ++++++
.../apache/flex/html/accessories/ToolTipBead.as | 141 ++++
.../flex/html/beads/DataGridColumnView.as | 104 +++
.../org/apache/flex/html/beads/DataGridView.as | 229 +++++++
.../DataItemRendererFactoryForColumnData.as | 142 ++++
.../apache/flex/html/beads/DateChooserView.as | 256 +++++++
.../org/apache/flex/html/beads/DateFieldView.as | 186 ++++++
.../flex/html/beads/FormatableLabelView.as | 90 +++
.../flex/html/beads/FormatableTextInputView.as | 91 +++
.../org/apache/flex/html/beads/IDataGridView.as | 36 +
.../flex/html/beads/TitleBarMeasurementBead.as | 108 +++
.../apache/flex/html/beads/TitleBarView.mxml | 59 ++
.../controllers/DateChooserMouseController.as | 126 ++++
.../controllers/DateFieldMouseController.as | 97 +++
.../beads/controllers/DragMouseController.as | 261 ++++++++
.../beads/controllers/DropMouseController.as | 181 +++++
.../flex/html/beads/layouts/DataGridLayout.as | 154 +++++
.../FlexibleFirstChildHorizontalLayout.as | 245 +++++++
.../html/beads/layouts/LayoutChangeNotifier.as | 103 +++
.../layouts/OneFlexibleChildVerticalLayout.as | 432 ++++++++++++
.../html/beads/layouts/VerticalColumnLayout.as | 151 +++++
.../flex/html/beads/models/DataGridModel.as | 72 ++
.../beads/models/DataGridPresentationModel.as | 86 +++
.../flex/html/beads/models/DateChooserModel.as | 189 ++++++
.../flex/html/supportClasses/DataGridColumn.as | 127 ++++
.../html/supportClasses/DateChooserButton.as | 67 ++
.../html/supportClasses/GraphicsItemRenderer.as | 295 ++++++++
.../projects/Mobile/asjs/MobileClasses.as | 95 +++
.../asjs/src/org/apache/flex/mobile/IView.as | 43 ++
.../src/org/apache/flex/mobile/IViewManager.as | 42 ++
.../apache/flex/mobile/StackedViewManager.as | 291 ++++++++
.../org/apache/flex/mobile/TabbedViewManager.as | 257 +++++++
.../asjs/src/org/apache/flex/mobile/View.as | 80 +++
.../flex/mobile/beads/StackedViewManagerView.as | 184 +++++
.../flex/mobile/beads/TabbedViewManagerView.as | 184 +++++
.../apache/flex/mobile/chrome/NavigationBar.as | 103 +++
.../src/org/apache/flex/mobile/chrome/TabBar.as | 80 +++
.../org/apache/flex/mobile/chrome/ToolBar.as | 81 +++
.../flex/mobile/models/ViewManagerModel.as | 257 +++++++
230 files changed, 17596 insertions(+), 17216 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/basic-manifest.xml b/frameworks/as/projects/FlexJSJX/basic-manifest.xml
deleted file mode 100644
index fcbf10f..0000000
--- a/frameworks/as/projects/FlexJSJX/basic-manifest.xml
+++ /dev/null
@@ -1,95 +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.
-
--->
-
-
-<componentPackage>
-
- <component id="StackedViewManager" class="org.apache.flex.mobile.StackedViewManager" />
- <component id="TabbedViewManager" class="org.apache.flex.mobile.TabbedViewManager" />
- <component id="View" class="org.apache.flex.mobile.View" />
- <component id="NavigationBar" class="org.apache.flex.mobile.chrome.NavigationBar" />
- <component id="ToolBar" class="org.apache.flex.mobile.chrome.ToolBar" />
- <component id="TabBar" class="org.apache.flex.mobile.chrome.TabBar" />
-
- <component id="DataGrid" class="org.apache.flex.html.DataGrid"/>
- <component id="DataGridColumn" class="org.apache.flex.html.supportClasses.DataGridColumn"/>
- <component id="DataGridLayout" class="org.apache.flex.html.beads.layouts.DataGridLayout" />
- <component id="FormatableLabelView" class="org.apache.flex.html.beads.FormatableLabelView"/>
- <component id="FormatableTextInputView" class="org.apache.flex.html.beads.FormatableTextInputView"/>
-
- <component id="DateChooser" class="org.apache.flex.html.DateChooser"/>
- <component id="DateField" class="org.apache.flex.html.DateField"/>
- <component id="BarChart" class="org.apache.flex.charts.BarChart" />
- <component id="BarSeries" class="org.apache.flex.charts.supportClasses.BarSeries" />
- <component id="ColumnChart" class="org.apache.flex.charts.ColumnChart" />
- <component id="ColumnSeries" class="org.apache.flex.charts.supportClasses.ColumnSeries" />
- <component id="LineChart" class="org.apache.flex.charts.LineChart" />
- <component id="LineSeries" class="org.apache.flex.charts.supportClasses.LineSeries" />
- <component id="PieChart" class="org.apache.flex.charts.PieChart" />
- <component id="PieSeries" class="org.apache.flex.charts.supportClasses.PieSeries" />
- <component id="StackedColumnChart" class="org.apache.flex.charts.StackedColumnChart" />
- <component id="StackedBarChart" class="org.apache.flex.charts.StackedBarChart" />
- <component id="DataTipBead" class="org.apache.flex.charts.beads.DataTipBead" />
- <component id="HorizontalCategoryAxisBead" class="org.apache.flex.charts.beads.HorizontalCategoryAxisBead" />
- <component id="HorizontalLinearAxisBead" class="org.apache.flex.charts.beads.HorizontalLinearAxisBead" />
- <component id="VerticalCategoryAxisBead" class="org.apache.flex.charts.beads.VerticalCategoryAxisBead" />
- <component id="VerticalLinearAxisBead" class="org.apache.flex.charts.beads.VerticalLinearAxisBead" />
-
- <component id="BoxItemRenderer" class="org.apache.flex.charts.supportClasses.BoxItemRenderer" />
- <component id="WedgeItemRenderer" class="org.apache.flex.charts.supportClasses.WedgeItemRenderer" />
- <component id="LineSegmentItemRenderer" class="org.apache.flex.charts.supportClasses.LineSegmentItemRenderer" />
-
- <component id="LineChartCategoryVsLinearLayout" class="org.apache.flex.charts.beads.layouts.LineChartCategoryVsLinearLayout" />
- <component id="LineChartLinearVsLinearLayout" class="org.apache.flex.charts.beads.layouts.LineChartLinearVsLinearLayout" />
- <component id="VerticalColumnLayout" class="org.apache.flex.html.beads.layouts.VerticalColumnLayout" />
-
- <component id="SVGChartDataGroup" class="org.apache.flex.charts.optimized.SVGChartDataGroup"/>
- <component id="SVGBoxItemRenderer" class="org.apache.flex.charts.optimized.SVGBoxItemRenderer"/>
- <component id="SVGWedgeItemRenderer" class="org.apache.flex.charts.optimized.SVGWedgeItemRenderer"/>
- <component id="SVGLineSegmentItemRenderer" class="org.apache.flex.charts.optimized.SVGLineSegmentItemRenderer"/>
-
- <component id="DragMouseController" class="org.apache.flex.html.beads.controllers.DragMouseController" />
- <component id="DropMouseController" class="org.apache.flex.html.beads.controllers.DropMouseController" />
-
- <component id="Fade" class="org.apache.flex.effects.Fade"/>
- <component id="Move" class="org.apache.flex.effects.Move"/>
- <component id="Resize" class="org.apache.flex.effects.Resize"/>
- <component id="Wipe" class="org.apache.flex.effects.Wipe"/>
- <component id="Sequence" class="org.apache.flex.effects.Sequence"/>
- <component id="Parallel" class="org.apache.flex.effects.Parallel"/>
- <component id="Transition" class="org.apache.flex.states.Transition" />
-
- <component id="NumberFormatter" class="org.apache.flex.html.accessories.NumberFormatter"/>
- <component id="CurrencyFormatter" class="org.apache.flex.html.accessories.CurrencyFormatter"/>
- <component id="ToolTipBead" class="org.apache.flex.html.accessories.ToolTipBead" />
-
- <component id="BindableCSSStyles" class="org.apache.flex.core.BindableCSSStyles"/>
- <component id="SimpleCSSStyles" class="org.apache.flex.core.SimpleCSSStyles"/>
- <component id="MXMLBeadViewBase" class="org.apache.flex.core.MXMLBeadViewBase"/>
- <component id="MXMLBeadViewBaseDataBinding" class="org.apache.flex.core.MXMLBeadViewBaseDataBinding"/>
- <component id="ApplicationDataBinding" class="org.apache.flex.core.ApplicationDataBinding"/>
- <component id="ContainerDataBinding" class="org.apache.flex.core.ContainerDataBinding"/>
- <component id="LayoutChangeNotifier" class="org.apache.flex.html.beads.layouts.LayoutChangeNotifier"/>
- <component id="ImageButton" class="org.apache.flex.html.ImageButton"/>
- <component id="ParentDocumentBead" class="org.apache.flex.core.ParentDocumentBead"/>
- <component id="FlexibleFirstChildHorizontalLayout" class="org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout"/>
- <component id="OneFlexibleChildVerticalLayout" class="org.apache.flex.html.beads.layouts.OneFlexibleChildVerticalLayout"/>
-
-</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/build.xml b/frameworks/as/projects/FlexJSJX/build.xml
deleted file mode 100644
index fc8eddb..0000000
--- a/frameworks/as/projects/FlexJSJX/build.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-
-
-<project name="flexjsjx" default="main" basedir=".">
- <property name="FLEXJS_HOME" location="../../../.."/>
-
- <property file="${FLEXJS_HOME}/env.properties"/>
- <property environment="env"/>
- <property file="${FLEXJS_HOME}/build.properties"/>
- <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
- <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
-
- <target name="main" depends="clean,compile,test" description="Clean build of FlexJSJX.swc">
- </target>
-
- <target name="test" unless="is.jenkins">
- <ant dir="tests" />
- </target>
-
- <target name="clean">
- <delete failonerror="false">
- <fileset dir="${FLEXJS_HOME}/frameworks/as/libs">
- <include name="FlexJSJX.swc"/>
- </fileset>
- </delete>
- </target>
-
- <path id="lib.path">
- <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
- </path>
-
- <target name="compile" description="Compiles FlexJSJX.swc">
- <echo message="Compiling libs/FlexJSJX.swc"/>
- <echo message="FLEX_HOME: ${FLEX_HOME}"/>
- <echo message="FALCON_HOME: ${FALCON_HOME}"/>
-
- <!-- Load the <compc> task. We can't do this at the <project> level -->
- <!-- because targets that run before flexTasks.jar gets built would fail. -->
- <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
- <!--
- Link in the classes (and their dependencies) for the MXML tags
- listed in this project's manifest.xml.
- Also link the additional classes (and their dependencies)
- listed in FlexJSJXClasses.as,
- because these aren't referenced by the manifest classes.
- Keep the standard metadata when compiling.
- Include the appropriate CSS files and assets in the SWC.
- Don't include any resources in the SWC.
- Write a bundle list of referenced resource bundles
- into the file bundles.properties in this directory.
- -->
- <compc fork="true"
- output="${FLEXJS_HOME}/frameworks/as/libs/FlexJSJX.swc">
- <jvmarg line="${compc.jvm.args}"/>
- <load-config filename="compile-config.xml" />
- <arg value="+playerglobal.version=${playerglobal.version}" />
- <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
- </compc>
- </target>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/compile-config.xml b/frameworks/as/projects/FlexJSJX/compile-config.xml
deleted file mode 100644
index 31a8edd..0000000
--- a/frameworks/as/projects/FlexJSJX/compile-config.xml
+++ /dev/null
@@ -1,76 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element>
- <path-element>../../libs/FlexJSUI.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>src</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
-
- <include-classes>
- <class>FlexJSJXClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/defaults.css b/frameworks/as/projects/FlexJSJX/defaults.css
deleted file mode 100644
index 1cbc544..0000000
--- a/frameworks/as/projects/FlexJSJX/defaults.css
+++ /dev/null
@@ -1,139 +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.
- *
- */
-
-@namespace "library://ns.apache.org/flexjs/basic";
-
-StackedViewManager {
- IBeadModel: ClassReference("org.apache.flex.mobile.models.ViewManagerModel");
- IBeadView: ClassReference("org.apache.flex.mobile.beads.StackedViewManagerView");
-}
-
-TabbedViewManager {
- IBeadModel: ClassReference("org.apache.flex.mobile.models.ViewManagerModel");
- IBeadView: ClassReference("org.apache.flex.mobile.beads.TabbedViewManagerView");
-}
-
-BarChart
-{
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
- IBeadView: ClassReference("org.apache.flex.charts.beads.ChartView");
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
- IBeadLayout: ClassReference("org.apache.flex.charts.beads.layouts.BarChartLayout");
- IDataGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartDataGroup");
- IDataProviderItemRendererMapper: ClassReference("org.apache.flex.charts.beads.DataItemRendererFactoryForSeriesData");
- IItemRenderer: ClassReference("org.apache.flex.charts.supportClasses.BoxItemRenderer");
- IHorizontalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
- IVerticalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
-}
-
-BoxItemRenderer
-{
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ItemRendererMouseController");
-}
-
-ColumnChart
-{
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
- IBeadView: ClassReference("org.apache.flex.charts.beads.ChartView");
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
- IBeadLayout: ClassReference("org.apache.flex.charts.beads.layouts.ColumnChartLayout");
- IDataGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartDataGroup");
- IDataProviderItemRendererMapper: ClassReference("org.apache.flex.charts.beads.DataItemRendererFactoryForSeriesData");
- IItemRenderer: ClassReference("org.apache.flex.charts.supportClasses.BoxItemRenderer");
- IHorizontalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
- IVerticalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
-}
-
-DataGrid
-{
- IDataGridPresentationModel: ClassReference("org.apache.flex.html.beads.models.DataGridPresentationModel");
- IBeadView: ClassReference("org.apache.flex.html.beads.DataGridView");
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.DataGridModel");
- IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.DataGridLayout");
- IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
- IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
-
- background-color: #FFFFFF;
-}
-
-DateChooser {
- IBeadView: ClassReference("org.apache.flex.html.beads.DateChooserView");
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.DateChooserModel");
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.DateChooserMouseController");
- width: 280px;
- height: 240px;
-}
-
-DateField {
- IBeadView: ClassReference("org.apache.flex.html.beads.DateFieldView");
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.DateChooserModel");
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.DateFieldMouseController");
- IFormatBead: ClassReference("org.apache.flex.html.accessories.DateFormatMMDDYYYYBead");
-}
-
-LineChart
-{
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
- IBeadView: ClassReference("org.apache.flex.charts.beads.ChartView");
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
- IBeadLayout: ClassReference("org.apache.flex.charts.beads.layouts.LineChartCategoryVsLinearLayout");
- IDataGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartDataGroup");
- IDataProviderItemRendererMapper: ClassReference("org.apache.flex.charts.beads.DataItemRendererFactoryForSeriesData");
- IItemRenderer: ClassReference("org.apache.flex.charts.supportClasses.BoxItemRenderer");
- IConnectedItemRenderer: ClassReference("org.apache.flex.charts.supportClasses.LineSegmentItemRenderer");
- IHorizontalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
- IVerticalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
-}
-
-PieChart
-{
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
- IBeadView: ClassReference("org.apache.flex.charts.beads.ChartView");
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
- IBeadLayout: ClassReference("org.apache.flex.charts.beads.layouts.PieChartLayout");
- IDataGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartDataGroup");
- IDataProviderItemRendererMapper: ClassReference("org.apache.flex.charts.beads.DataItemRendererFactoryForSeriesData");
- IItemRenderer: ClassReference("org.apache.flex.charts.supportClasses.WedgeItemRenderer");
-}
-
-StackedColumnChart
-{
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
- IBeadView: ClassReference("org.apache.flex.charts.beads.ChartView");
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
- IBeadLayout: ClassReference("org.apache.flex.charts.beads.layouts.StackedColumnChartLayout");
- IDataGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartDataGroup");
- IDataProviderItemRendererMapper: ClassReference("org.apache.flex.charts.beads.DataItemRendererFactoryForSeriesData");
- IItemRenderer: ClassReference("org.apache.flex.charts.supportClasses.BoxItemRenderer");
- IHorizontalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
- IVerticalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
-}
-
-StackedBarChart
-{
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
- IBeadView: ClassReference("org.apache.flex.charts.beads.ChartView");
- IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
- IBeadLayout: ClassReference("org.apache.flex.charts.beads.layouts.StackedBarChartLayout");
- IDataGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartDataGroup");
- IDataProviderItemRendererMapper: ClassReference("org.apache.flex.charts.beads.DataItemRendererFactoryForSeriesData");
- IItemRenderer: ClassReference("org.apache.flex.charts.supportClasses.BoxItemRenderer");
- IHorizontalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
- IVerticalAxisGroup: ClassReference("org.apache.flex.charts.supportClasses.ChartAxisGroup");
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/FlexJSJXClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/FlexJSJXClasses.as b/frameworks/as/projects/FlexJSJX/src/FlexJSJXClasses.as
deleted file mode 100644
index 9454aad..0000000
--- a/frameworks/as/projects/FlexJSJX/src/FlexJSJXClasses.as
+++ /dev/null
@@ -1,95 +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
-{
-
-/**
- * @private
- * This class is used to link additional classes into rpc.swc
- * beyond those that are found by dependecy analysis starting
- * from the classes specified in manifest.xml.
- */
-internal class FlexJSJXClasses
-{
- import org.apache.flex.mobile.beads.StackedViewManagerView; StackedViewManagerView;
- import org.apache.flex.mobile.beads.TabbedViewManagerView; TabbedViewManagerView;
- import org.apache.flex.mobile.chrome.NavigationBar; NavigationBar;
- import org.apache.flex.mobile.chrome.TabBar; TabBar;
- import org.apache.flex.mobile.chrome.ToolBar; ToolBar;
- import org.apache.flex.mobile.models.ViewManagerModel; ViewManagerModel;
-
- import org.apache.flex.charts.beads.ChartView; ChartView;
- import org.apache.flex.charts.beads.ChartItemRendererFactory; ChartItemRendererFactory;
- import org.apache.flex.charts.beads.DataItemRendererFactoryForSeriesData; DataItemRendererFactoryForSeriesData;
- import org.apache.flex.charts.beads.DataTipBead; DataTipBead;
- import org.apache.flex.charts.beads.HorizontalCategoryAxisBead; HorizontalCategoryAxisBead;
- import org.apache.flex.charts.beads.HorizontalLinearAxisBead; HorizontalLinearAxisBead;
- import org.apache.flex.charts.beads.VerticalCategoryAxisBead; VerticalCategoryAxisBead;
- import org.apache.flex.charts.beads.VerticalLinearAxisBead; VerticalLinearAxisBead;
- import org.apache.flex.charts.beads.layouts.BarChartLayout; BarChartLayout;
- import org.apache.flex.charts.beads.layouts.ColumnChartLayout; ColumnChartLayout;
- import org.apache.flex.charts.beads.layouts.LineChartCategoryVsLinearLayout; LineChartCategoryVsLinearLayout;
- import org.apache.flex.charts.beads.layouts.LineChartLinearVsLinearLayout; LineChartLinearVsLinearLayout;
- import org.apache.flex.charts.beads.layouts.PieChartLayout; PieChartLayout;
- import org.apache.flex.charts.beads.layouts.StackedBarChartLayout; StackedBarChartLayout;
- import org.apache.flex.charts.beads.layouts.StackedColumnChartLayout; StackedColumnChartLayout;
- import org.apache.flex.charts.supportClasses.BarSeries; BarSeries;
- import org.apache.flex.charts.supportClasses.LineSeries; LineSeries;
- import org.apache.flex.charts.supportClasses.PieSeries; PieSeries;
- import org.apache.flex.charts.supportClasses.BoxItemRenderer; BoxItemRenderer;
- import org.apache.flex.charts.supportClasses.LineSegmentItemRenderer; LineSegmentItemRenderer;
- import org.apache.flex.charts.supportClasses.WedgeItemRenderer; WedgeItemRenderer;
- import org.apache.flex.charts.optimized.SVGChartAxisGroup; SVGChartAxisGroup;
- import org.apache.flex.charts.optimized.SVGChartDataGroup; SVGChartDataGroup;
- import org.apache.flex.charts.optimized.SVGBoxItemRenderer; SVGBoxItemRenderer;
- import org.apache.flex.charts.optimized.SVGWedgeItemRenderer; SVGWedgeItemRenderer;
- import org.apache.flex.charts.optimized.SVGLineSegmentItemRenderer; SVGLineSegmentItemRenderer;
-
- import org.apache.flex.effects.Tween; Tween;
- import org.apache.flex.effects.Move; Move;
- import org.apache.flex.effects.Fade; Fade;
-
- import org.apache.flex.html.accessories.DateFormatMMDDYYYYBead; DateFormatMMDDYYYYBead;
- import org.apache.flex.html.beads.DataGridColumnView; DataGridColumnView;
- import org.apache.flex.html.beads.DataGridView; DataGridView;
- import org.apache.flex.html.beads.DateChooserView; DateChooserView;
- import org.apache.flex.html.beads.DateFieldView; DateFieldView;
- import org.apache.flex.html.beads.FormatableLabelView; FormatableLabelView;
- import org.apache.flex.html.beads.FormatableTextInputView; FormatableTextInputView;
- import org.apache.flex.html.beads.layouts.DataGridLayout; DataGridLayout;
- import org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout; FlexibleFirstChildHorizontalLayout;
- import org.apache.flex.html.beads.models.DataGridModel; DataGridModel;
- import org.apache.flex.html.beads.models.DateChooserModel; DateChooserModel;
- import org.apache.flex.html.beads.models.DataGridPresentationModel; DataGridPresentationModel;
- import org.apache.flex.html.beads.controllers.DateChooserMouseController; DateChooserMouseController;
- import org.apache.flex.html.beads.controllers.DateFieldMouseController; DateFieldMouseController;
- import org.apache.flex.html.supportClasses.DataGridColumn; DataGridColumn;
- import org.apache.flex.html.supportClasses.DateChooserButton; DateChooserButton;
- import org.apache.flex.html.supportClasses.GraphicsItemRenderer; GraphicsItemRenderer;
-
- import org.apache.flex.html.beads.TitleBarView; TitleBarView;
- import org.apache.flex.html.beads.TitleBarMeasurementBead; TitleBarMeasurementBead;
-
- import org.apache.flex.core.DropType; DropType;
- import org.apache.flex.core.ParentDocumentBead; ParentDocumentBead;
- import org.apache.flex.core.StatesWithTransitionsImpl; StatesWithTransitionsImpl;
-}
-
-}
-
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/BarChart.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/BarChart.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/BarChart.as
deleted file mode 100644
index 4065dd3..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/BarChart.as
+++ /dev/null
@@ -1,49 +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 org.apache.flex.charts
-{
- import org.apache.flex.charts.core.ChartBase;
- import org.apache.flex.charts.core.IChart;
-
- /**
- * The BarChart class draws a multi-series graph of data using vertical
- * columns. The series property is an array of BarChartSeries instances
- * that represent the data in the model.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class BarChart extends ChartBase implements IChart
- {
- /**
- * constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function BarChart()
- {
- super();
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/ColumnChart.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/ColumnChart.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/ColumnChart.as
deleted file mode 100644
index c9010b8..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/ColumnChart.as
+++ /dev/null
@@ -1,48 +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 org.apache.flex.charts
-{
- import org.apache.flex.charts.core.ChartBase;
- import org.apache.flex.charts.core.IChart;
-
- /**
- * The ColumnChart displays a histogram chart where each series in
- * in the chart is a vertical column placed side by side.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class ColumnChart extends ChartBase implements IChart
- {
- /**
- * constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function ColumnChart()
- {
- super();
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/LineChart.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/LineChart.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/LineChart.as
deleted file mode 100644
index 27ba0a5..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/LineChart.as
+++ /dev/null
@@ -1,48 +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 org.apache.flex.charts
-{
- import org.apache.flex.charts.core.ChartBase;
- import org.apache.flex.charts.core.IChart;
-
- /**
- * The LineChart displays a series of line graphs with optional
- * graphics at each vertex.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class LineChart extends ChartBase implements IChart
- {
- /**
- * constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function LineChart()
- {
- super();
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/PieChart.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/PieChart.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/PieChart.as
deleted file mode 100644
index 591e2d7..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/PieChart.as
+++ /dev/null
@@ -1,47 +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 org.apache.flex.charts
-{
- import org.apache.flex.charts.core.ChartBase;
- import org.apache.flex.charts.core.IChart;
-
- /**
- * The PieChart displays data as a percentage of pie.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class PieChart extends ChartBase implements IChart
- {
- /**
- * constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function PieChart()
- {
- super();
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/StackedBarChart.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/StackedBarChart.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/StackedBarChart.as
deleted file mode 100644
index 415b176..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/StackedBarChart.as
+++ /dev/null
@@ -1,48 +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 org.apache.flex.charts
-{
- import org.apache.flex.charts.core.ChartBase;
- import org.apache.flex.charts.core.IChart;
-
- /**
- * The StackedBarChart displays a histogram chart where each series in
- * the chart is stack next to each other.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class StackedBarChart extends ChartBase implements IChart
- {
- /**
- * constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function StackedBarChart()
- {
- super();
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/StackedColumnChart.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/StackedColumnChart.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/StackedColumnChart.as
deleted file mode 100644
index ab9ae2d..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/StackedColumnChart.as
+++ /dev/null
@@ -1,48 +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 org.apache.flex.charts
-{
- import org.apache.flex.charts.core.ChartBase;
- import org.apache.flex.charts.core.IChart;
-
- /**
- * The StackedColumnChart displays a histogram chart where each series in
- * the chart is stack on top of each other.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class StackedColumnChart extends ChartBase implements IChart
- {
- /**
- * constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function StackedColumnChart()
- {
- super();
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/AxisBaseBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/AxisBaseBead.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/AxisBaseBead.as
deleted file mode 100644
index 29990b0..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/AxisBaseBead.as
+++ /dev/null
@@ -1,229 +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 org.apache.flex.charts.beads
-{
- import org.apache.flex.charts.core.IAxisBead;
- import org.apache.flex.charts.core.IAxisGroup;
- import org.apache.flex.core.IStrand;
- import org.apache.flex.core.UIBase;
- import org.apache.flex.core.graphics.GraphicsContainer;
- import org.apache.flex.core.graphics.IFill;
- import org.apache.flex.core.graphics.IStroke;
- import org.apache.flex.core.graphics.SolidColor;
- import org.apache.flex.core.graphics.SolidColorStroke;
-
- /**
- * The AxisBaseBead is the base class for the chart axis beads.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class AxisBaseBead implements IAxisBead
- {
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function AxisBaseBead()
- {
- // create default dark stroke for the axis line and tick marks
- // in case they are not set otherwise.
-
- var blackLine:SolidColorStroke = new SolidColorStroke();
- blackLine.color = 0x111111;
- blackLine.weight = 1;
- blackLine.alpha = 1.0;
-
- axisStroke = blackLine;
- tickStroke = blackLine;
-
- var blackFill:SolidColor = new SolidColor();
- blackFill.color = 0x111111;
- blackFill.alpha = 1.0;
-
- tickFill = blackFill;
- }
-
- private var _strand:IStrand;
- private var wrapper:GraphicsContainer;
- private var _axisGroup:IAxisGroup;
-
- private var _placement:String = "unset";
- private var _axisStroke:IStroke;
- private var _tickStroke:IStroke;
- private var _tickFill:IFill;
-
- private var tickPathString:String = null;
- private var tickMaxWidth:Number = 0;
- private var tickMaxHeight:Number = 0;
-
- /**
- * The placement of the axis with respect to the chart area. Valid
- * values are: top, bottom (for IHorizontalAxisBeads), left, and right
- * (for IVerticalAxisBeads).
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get placement():String
- {
- return _placement;
- }
- public function set placement(value:String):void
- {
- _placement = value;
- }
-
- /**
- * The stroke used to draw the line for the axis.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get axisStroke():IStroke
- {
- return _axisStroke;
- }
- public function set axisStroke(value:IStroke):void
- {
- _axisStroke = value;
- }
-
- /**
- * The stroke used to draw each tick mark.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get tickStroke():IStroke
- {
- return _tickStroke;
- }
- public function set tickStroke(value:IStroke):void
- {
- _tickStroke = value;
- }
-
- /**
- * The stroke used to draw each tick label.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get tickFill():IFill
- {
- return _tickFill;
- }
- public function set tickFill(value:IFill):void
- {
- _tickFill = value;
- }
-
- /**
- * The container space for lines, tick marks, etc.
- */
- public function get axisGroup():IAxisGroup
- {
- return _axisGroup;
- }
- public function set axisGroup(value:IAxisGroup):void
- {
- _axisGroup = value;
-
- wrapper = new GraphicsContainer();
- UIBase(_axisGroup).addElement(wrapper);
- wrapper.x = 0;
- wrapper.y = 0;
- wrapper.width = UIBase(_axisGroup).width;
- wrapper.height = UIBase(_axisGroup).height;
- }
-
- /**
- * @copy org.apache.flex.core.IBead#strand
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function set strand(value:IStrand):void
- {
- _strand = value;
- }
- public function get strand():IStrand
- {
- return _strand;
- }
-
- /**
- * @private
- */
- protected function drawAxisPath(originX:Number, originY:Number, xoffset:Number, yoffset:Number):void
- {
- axisGroup.drawAxisLine(originX, originY, xoffset, yoffset, axisStroke);
- }
-
- /**
- * @private
- */
- protected function addTickLabel(text:String, xpos:Number, ypos:Number, boxWidth:Number, boxHeight:Number):void
- {
- var isHorizontal:Boolean = (placement == "bottom") || (placement == "top");
-
- if (isHorizontal) axisGroup.drawHorizontalTickLabel(text, xpos, ypos, boxWidth, boxHeight, tickFill);
- else axisGroup.drawVerticalTickLabel(text, xpos, ypos, boxWidth, boxHeight, tickFill);
- }
-
- /**
- * @private
- */
- protected function addTickMark(xpos:Number, ypos:Number, xoffset:Number, yoffset:Number):void
- {
- if (tickPathString == null) tickPathString = "";
- tickPathString = tickPathString + " M "+String(xpos)+" "+String(ypos);
- tickPathString = tickPathString + " l " + String(xoffset)+" "+String(yoffset);
-
- tickMaxWidth = Math.max(tickMaxWidth, xpos+xoffset);
- tickMaxHeight= Math.max(tickMaxHeight, ypos+yoffset);
- }
-
- /**
- * @private
- */
- protected function drawTickPath(originX:Number, originY:Number):void
- {
- axisGroup.drawTickMarks(originX, originY, tickMaxWidth, tickMaxHeight, tickPathString, tickStroke);
- tickPathString = null;
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartItemRendererFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartItemRendererFactory.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartItemRendererFactory.as
deleted file mode 100644
index 2909b03..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartItemRendererFactory.as
+++ /dev/null
@@ -1,147 +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 org.apache.flex.charts.beads
-{
- import org.apache.flex.charts.core.IChart;
- import org.apache.flex.charts.core.IChartItemRenderer;
- import org.apache.flex.charts.core.IChartSeries;
- import org.apache.flex.core.IBead;
- import org.apache.flex.core.IDataProviderItemRendererMapper;
- import org.apache.flex.core.IItemRendererClassFactory;
- import org.apache.flex.core.IItemRendererParent;
- import org.apache.flex.core.ISelectionModel;
- import org.apache.flex.core.IStrand;
- import org.apache.flex.events.Event;
- import org.apache.flex.events.IEventDispatcher;
- import org.apache.flex.html.beads.IListView;
-
- /**
- * The ChartItemRendererFactory class implements IDataProviderItemRendererMapper
- * and creats the itemRenderers for each series in a chart. The itemRenderer class
- * is identified on each series either through a property or through a CSS style.
- * Once all of the itemRenderers are created, an itemsCreated event is dispatched
- * causing the layout associated with the chart to size and position the items.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class ChartItemRendererFactory implements IBead, IDataProviderItemRendererMapper
- {
- /**
- * constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function ChartItemRendererFactory()
- {
- }
-
- private var selectionModel:ISelectionModel;
- protected var dataGroup:IItemRendererParent;
-
- private var _seriesRenderers:Array;
-
- /**
- * The array of renderers created for each series.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get seriesRenderers():Array
- {
- return _seriesRenderers;
- }
-
- private var _strand:IStrand;
-
- /**
- * @copy org.apache.flex.core.IBead#strand
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function set strand(value:IStrand):void
- {
- _strand = value;
- selectionModel = value.getBeadByType(ISelectionModel) as ISelectionModel;
- var listView:IListView = value.getBeadByType(IListView) as IListView;
- dataGroup = listView.dataGroup;
- // selectionModel.addEventListener("dataProviderChanged", dataProviderChangeHandler);
-
- var dp:Array = selectionModel.dataProvider as Array;
- if (!dp)
- return;
-
- _seriesRenderers = new Array();
-
- dataGroup.removeAllElements();
-
- var series:Array = IChart(_strand).series;
-
- for( var j:int=0; j < dp.length; j++)
- {
- var renderers:Array = new Array();
-
- for( var i:int=0; i < series.length; i++)
- {
- var s:IChartSeries = series[i] as IChartSeries;
- var k:IChartItemRenderer = s.itemRenderer.newInstance() as IChartItemRenderer;
- k.itemRendererParent = dataGroup;
- k.xField = s.xField;
- k.yField = s.yField;
- //k.fillColor = s.fillColor;
- k.data = dp[j];
- //k.index = j;
-
- renderers.push(k);
-
- dataGroup.addElement(k);
- }
-
- _seriesRenderers.push(renderers);
- }
-
- IEventDispatcher(_strand).dispatchEvent(new Event("itemsCreated"));
- }
-
- /**
- * @private
- */
- public function get itemRendererFactory():IItemRendererClassFactory
- {
- return null;
- }
-
- /**
- * @private
- */
- public function set itemRendererFactory(value:IItemRendererClassFactory):void
- {
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartView.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartView.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartView.as
deleted file mode 100644
index 6593d1a..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartView.as
+++ /dev/null
@@ -1,161 +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 org.apache.flex.charts.beads
-{
- import org.apache.flex.charts.core.IAxisGroup;
- import org.apache.flex.charts.core.IHorizontalAxisBead;
- import org.apache.flex.charts.core.IVerticalAxisBead;
- import org.apache.flex.core.IBeadLayout;
- import org.apache.flex.core.IBeadView;
- import org.apache.flex.core.IParent;
- import org.apache.flex.core.ISelectionModel;
- import org.apache.flex.core.IStrand;
- import org.apache.flex.core.UIBase;
- import org.apache.flex.core.ValuesManager;
- import org.apache.flex.events.Event;
- import org.apache.flex.events.IEventDispatcher;
- import org.apache.flex.html.beads.ListView;
-
- public class ChartView extends ListView implements IBeadView
- {
- public function ChartView()
- {
- super();
- }
-
- private var _strand:IStrand;
- private var _horizontalAxisGroup:IAxisGroup;
- private var _verticalAxisGroup:IAxisGroup;
-
- /**
- * @copy org.apache.flex.core.IBead#strand
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- override public function set strand(value:IStrand):void
- {
- super.strand = value;
-
- _strand = value;
- IEventDispatcher(_strand).addEventListener("widthChanged", handleLocalChange);
- IEventDispatcher(_strand).addEventListener("heightChanged",handleLocalChange);
-
- var listModel:ISelectionModel = value.getBeadByType(ISelectionModel) as ISelectionModel;
- listModel.addEventListener("dataProviderChanged", dataProviderChangeHandler);
-
- var haxis:IHorizontalAxisBead = _strand.getBeadByType(IHorizontalAxisBead) as IHorizontalAxisBead;
- if (haxis && _horizontalAxisGroup == null) {
- var m1:Class = ValuesManager.valuesImpl.getValue(value, "iHorizontalAxisGroup");
- _horizontalAxisGroup = new m1();
- haxis.axisGroup = _horizontalAxisGroup;
- IParent(_strand).addElement(_horizontalAxisGroup);
- }
-
- var vaxis:IVerticalAxisBead = _strand.getBeadByType(IVerticalAxisBead) as IVerticalAxisBead;
- if (vaxis && _verticalAxisGroup == null) {
- var m2:Class = ValuesManager.valuesImpl.getValue(value, "iVerticalAxisGroup");
- _verticalAxisGroup = new m2();
- vaxis.axisGroup = _verticalAxisGroup;
- IParent(_strand).addElement(_verticalAxisGroup);
- }
-
- if (_strand.getBeadByType(IBeadLayout) == null)
- {
- var layout:IBeadLayout = new (ValuesManager.valuesImpl.getValue(_strand, "iBeadLayout")) as IBeadLayout;
- _strand.addBead(layout);
- }
-
- handleLocalChange(null);
-
- IEventDispatcher(_strand).dispatchEvent( new Event("viewCreated") );
- }
-
- public function get horizontalAxisGroup():IAxisGroup
- {
- return _horizontalAxisGroup;
- }
-
- public function get verticalAxisGroup():IAxisGroup
- {
- return _verticalAxisGroup;
- }
-
- /**
- * @private
- */
- override protected function dataProviderChangeHandler(event:Event):void
- {
- if (verticalAxisGroup) {
- verticalAxisGroup.removeAllElements();
- }
-
- if (horizontalAxisGroup) {
- horizontalAxisGroup.removeAllElements();
- }
-
- dataGroup.removeAllElements();
- }
-
- /**
- * @private
- */
- private function handleLocalChange(event:Event):void
- {
- var widthAdjustment:Number = 0;
- var heightAdjustment:Number = 0;
-
- var vaxis:IVerticalAxisBead = _strand.getBeadByType(IVerticalAxisBead) as IVerticalAxisBead;
- var haxis:IHorizontalAxisBead = _strand.getBeadByType(IHorizontalAxisBead) as IHorizontalAxisBead;
-
- if (vaxis) {
- widthAdjustment = vaxis.axisWidth;
- }
-
- if (haxis) {
- heightAdjustment = haxis.axisHeight;
- }
-
- var dg:UIBase = UIBase(dataGroup);
- var strandWidth:Number = UIBase(_strand).width;
- var strandHeight:Number = UIBase(_strand).height;
-
- dg.x = widthAdjustment;
- dg.y = 0;
- dg.width = strandWidth - widthAdjustment;
- dg.height= strandHeight - heightAdjustment;
-
- if (verticalAxisGroup) {
- UIBase(verticalAxisGroup).x = 0;
- UIBase(verticalAxisGroup).y = 0;
- UIBase(verticalAxisGroup).width = widthAdjustment;
- UIBase(verticalAxisGroup).height = strandHeight - heightAdjustment;
- }
-
- if (horizontalAxisGroup) {
- UIBase(horizontalAxisGroup).x = widthAdjustment;
- UIBase(horizontalAxisGroup).y = strandHeight - heightAdjustment;
- UIBase(horizontalAxisGroup).width = strandWidth - widthAdjustment;
- UIBase(horizontalAxisGroup).height = heightAdjustment;
- }
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/DataItemRendererFactoryForSeriesData.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/DataItemRendererFactoryForSeriesData.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/DataItemRendererFactoryForSeriesData.as
deleted file mode 100644
index e904375..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/DataItemRendererFactoryForSeriesData.as
+++ /dev/null
@@ -1,127 +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 org.apache.flex.charts.beads
-{
- import org.apache.flex.charts.core.IChart;
- import org.apache.flex.charts.core.IChartDataGroup;
- import org.apache.flex.charts.core.IChartItemRenderer;
- import org.apache.flex.charts.core.IChartSeries;
- import org.apache.flex.core.IBead;
- import org.apache.flex.core.IDataProviderItemRendererMapper;
- import org.apache.flex.core.IItemRendererClassFactory;
- import org.apache.flex.core.ISelectionModel;
- import org.apache.flex.core.IStrand;
- import org.apache.flex.events.Event;
- import org.apache.flex.events.IEventDispatcher;
- import org.apache.flex.html.beads.IListView;
-
- /**
- * The DataItemRendererFactoryForSeriesData creates the itemRenderers necessary for series-based
- * charts.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class DataItemRendererFactoryForSeriesData implements IBead, IDataProviderItemRendererMapper
- {
- /**
- * constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function DataItemRendererFactoryForSeriesData()
- {
- }
-
- private var _strand:IStrand;
-
- /**
- * @copy org.apache.flex.core.IBead#strand
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function set strand(value:IStrand):void
- {
- _strand = value;
- var selectionModel:ISelectionModel = value.getBeadByType(ISelectionModel) as ISelectionModel;
- selectionModel.addEventListener("dataProviderChanged", dataProviderChangeHandler);
-
- dataProviderChangeHandler(null);
- }
-
- /**
- * For series data, the 'global' itemRendererFactory is not used. Each series supplies
- * its own itemRendererFactory.
- */
- public function get itemRendererFactory():IItemRendererClassFactory
- {
- return null;
- }
- public function set itemRendererFactory(value:IItemRendererClassFactory):void
- {
- }
-
- /**
- * @private
- */
- private function dataProviderChangeHandler(event:Event):void
- {
- var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
- var dp:Array = selectionModel.dataProvider as Array;
- if (!dp)
- return;
-
- var listView:IListView = _strand.getBeadByType(IListView) as IListView;
- var dataGroup:IChartDataGroup = listView.dataGroup as IChartDataGroup;
- dataGroup.removeAllElements();
-
- var chart:IChart = _strand as IChart;
- var series:Array = chart.series;
-
- for (var s:int=0; s < series.length; s++)
- {
- var n:int = dp.length;
- var chartSeries:IChartSeries = series[s] as IChartSeries;
-
- for (var i:int = 0; i < n; i++)
- {
- if (chartSeries.itemRenderer)
- {
- var ir:IChartItemRenderer = chartSeries.itemRenderer.newInstance() as IChartItemRenderer;
- dataGroup.addElement(ir);
- ir.itemRendererParent = dataGroup;
- ir.data = dp[i];
- ir.series = chartSeries;
- }
- }
-
- }
-
- IEventDispatcher(_strand).dispatchEvent(new Event("itemsCreated"));
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72b21f62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/DataTipBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/DataTipBead.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/DataTipBead.as
deleted file mode 100644
index 559a7b9..0000000
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/DataTipBead.as
+++ /dev/null
@@ -1,162 +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 org.apache.flex.charts.beads
-{
- import org.apache.flex.charts.core.IChartDataGroup;
- import org.apache.flex.charts.core.IChartItemRenderer;
- import org.apache.flex.charts.core.IChartSeries;
- import org.apache.flex.core.IBead;
- import org.apache.flex.core.IStrand;
- import org.apache.flex.core.UIBase;
- import org.apache.flex.events.Event;
- import org.apache.flex.events.IEventDispatcher;
- import org.apache.flex.events.MouseEvent;
- import org.apache.flex.events.utils.MouseUtils;
- import org.apache.flex.geom.Point;
- import org.apache.flex.html.accessories.ToolTipBead;
- import org.apache.flex.html.beads.IListView;
- import org.apache.flex.utils.PointUtils;
-
- /**
- * The DataTipBead can be added to a chart to produce a helpful tip when the
- * moves over an itemRenderer.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public class DataTipBead extends ToolTipBead implements IBead
- {
- /**
- * Constructor.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function DataTipBead()
- {
- }
-
- private var _strand:IStrand;
-
- override public function set strand(value:IStrand):void
- {
- super.strand = value;
- _strand = value;
-
- IEventDispatcher(_strand).addEventListener("viewCreated", handleViewCreated);
- }
-
- private var _labelFunction:Function;
-
- /**
- * An optional function that can format the data tip text.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get labelFunction():Function
- {
- return _labelFunction;
- }
- public function set labelFunction(value:Function):void
- {
- _labelFunction = value;
- }
-
- /**
- * @private
- */
- private function handleViewCreated( event:Event ):void
- {
- // find the data group
- var chart:IListView = _strand.getBeadByType(IListView) as IListView;
- var dataGroup:IChartDataGroup = chart.dataGroup as IChartDataGroup;
- IEventDispatcher(dataGroup).addEventListener(MouseEvent.MOUSE_OVER, rollOverHandler);
- }
-
- /**
- * @private
- * Overrides the ToolTipBead's function to determine the text to display
- * based on the chart series and current value.
- */
- override protected function rollOverHandler( event:MouseEvent ):void
- {
- var renderer:IChartItemRenderer = findItemRenderer(event);
- if (renderer)
- {
- var series:IChartSeries = renderer.series;
- var result:String;
-
- if (labelFunction) {
- result = labelFunction(renderer);
- }
- else {
- if (series.xField) result = renderer.data[series.xField];
- else if (series.yField) result = renderer.data[series.yField];
- }
- this.toolTip = result;
-
- super.rollOverHandler(event);
- }
- }
-
- /**
- * @private
- * Override's the ToolTipBead's function to position the data tip just above
- * the itemRenderer.
- */
- override protected function determinePosition(event:MouseEvent, base:Object):Point
- {
- // always want above the renderer
- var pt:Point = new Point(0, -20);
- pt = PointUtils.localToGlobal(pt, base);
- return pt;
- }
-
- /**
- * @private
- */
- private function findItemRenderer(event:MouseEvent):IChartItemRenderer
- {
- var base:Object = MouseUtils.eventTarget(event);
-
- if (base is IChartDataGroup)
- {
- var dataGroup:IChartDataGroup = base as IChartDataGroup;
- var point:Point = new Point(event.localX, event.localY);
- var renderer:IChartItemRenderer = dataGroup.getItemRendererUnderPoint(point);
- return renderer;
- }
- else
- {
- var chain:UIBase = base as UIBase;
- while (chain != null && !(chain is IChartItemRenderer)) {
- chain = chain.parent as UIBase;
- }
- return chain as IChartItemRenderer;
- }
- }
- }
-}
\ No newline at end of file