Repository: flex-asjs Updated Branches: refs/heads/core_js_to_as f5ec157c6 -> 1e82c6e0f
clean build after deleting more cruft Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f77e1c48 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f77e1c48 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f77e1c48 Branch: refs/heads/core_js_to_as Commit: f77e1c4883a0237f28965574ab22758f6c213c8d Parents: f5ec157 Author: Alex Harui <[email protected]> Authored: Mon Dec 14 13:30:16 2015 -0800 Committer: Alex Harui <[email protected]> Committed: Mon Dec 14 14:10:55 2015 -0800 ---------------------------------------------------------------------- .../asjs/src/CollectionsASJSClasses.as | 33 --- frameworks/projects/Core/asjs/defaults.css | 138 ----------- .../projects/Core/asjs/src/CoreASJSClasses.as | 36 --- .../DragDrop/asjs/src/DragDropASJSClasses.as | 34 --- .../Effects/asjs/src/EffectsASJSClasses.as | 38 --- .../asjs/src/FormattersASJSClasses.as | 36 --- frameworks/projects/Graphics/build.xml | 2 +- .../projects/HTML/asjs/src/HTMLASJSClasses.as | 55 ----- .../apache/flex/html/beads/DataGridLinesBead.as | 199 --------------- .../DataItemRendererFactoryForArrayList.as | 174 ------------- .../html/beads/DataProviderChangeNotifier.as | 154 ------------ .../beads/models/ArrayListSelectionModel.as | 242 ------------------- .../Mobile/asjs/src/MobileASJSClasses.as | 41 ---- 13 files changed, 1 insertion(+), 1181 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/Collections/asjs/src/CollectionsASJSClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Collections/asjs/src/CollectionsASJSClasses.as b/frameworks/projects/Collections/asjs/src/CollectionsASJSClasses.as deleted file mode 100644 index e631e8a..0000000 --- a/frameworks/projects/Collections/asjs/src/CollectionsASJSClasses.as +++ /dev/null @@ -1,33 +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 CollectionsASJSClasses -{ - import org.apache.flex.collections.ArrayList; ArrayList; -} - -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/Core/asjs/defaults.css ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/asjs/defaults.css b/frameworks/projects/Core/asjs/defaults.css deleted file mode 100644 index cb9a50f..0000000 --- a/frameworks/projects/Core/asjs/defaults.css +++ /dev/null @@ -1,138 +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"); - 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/f77e1c48/frameworks/projects/Core/asjs/src/CoreASJSClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/asjs/src/CoreASJSClasses.as b/frameworks/projects/Core/asjs/src/CoreASJSClasses.as deleted file mode 100644 index 1eeb7bd..0000000 --- a/frameworks/projects/Core/asjs/src/CoreASJSClasses.as +++ /dev/null @@ -1,36 +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 dependency analysis starting - * from the classes specified in manifest.xml. - */ -internal class CoreASJSClasses -{ - /*import org.apache.flex.core.IDataGridModel; IDataGridModel; - import org.apache.flex.core.IDataGridPresentationModel; IDataGridPresentationModel; - import org.apache.flex.core.IDateChooserModel; IDateChooserModel; - import org.apache.flex.core.ParentDocumentBead; ParentDocumentBead; - import org.apache.flex.utils.CSSUtils; CSSUtils;*/ -} -} - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/DragDrop/asjs/src/DragDropASJSClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/DragDrop/asjs/src/DragDropASJSClasses.as b/frameworks/projects/DragDrop/asjs/src/DragDropASJSClasses.as deleted file mode 100644 index a3df9ef..0000000 --- a/frameworks/projects/DragDrop/asjs/src/DragDropASJSClasses.as +++ /dev/null @@ -1,34 +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 DragDropASJSClasses -{ - import org.apache.flex.core.DropType; DropType; -} - -} - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/Effects/asjs/src/EffectsASJSClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Effects/asjs/src/EffectsASJSClasses.as b/frameworks/projects/Effects/asjs/src/EffectsASJSClasses.as deleted file mode 100644 index 8791afc..0000000 --- a/frameworks/projects/Effects/asjs/src/EffectsASJSClasses.as +++ /dev/null @@ -1,38 +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 EffectsASJSClasses -{ - import org.apache.flex.core.StatesWithTransitionsImpl; StatesWithTransitionsImpl; - import org.apache.flex.effects.Tween; Tween; - import org.apache.flex.effects.Move; Move; - import org.apache.flex.effects.Fade; Fade; - -} - -} - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/Formatters/asjs/src/FormattersASJSClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Formatters/asjs/src/FormattersASJSClasses.as b/frameworks/projects/Formatters/asjs/src/FormattersASJSClasses.as deleted file mode 100644 index 0946fdb..0000000 --- a/frameworks/projects/Formatters/asjs/src/FormattersASJSClasses.as +++ /dev/null @@ -1,36 +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 FormattersASJSClasses -{ - import org.apache.flex.html.accessories.DateFormatMMDDYYYYBead; DateFormatMMDDYYYYBead; - import org.apache.flex.html.beads.FormatableLabelView; FormatableLabelView; - import org.apache.flex.html.beads.FormatableTextInputView; FormatableTextInputView; -} - -} - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/Graphics/build.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/Graphics/build.xml b/frameworks/projects/Graphics/build.xml index 6ebd7bd..8296ed6 100644 --- a/frameworks/projects/Graphics/build.xml +++ b/frameworks/projects/Graphics/build.xml @@ -165,7 +165,7 @@ <target name="copy-js" > <copy todir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs"> - <fileset dir="${basedir}/js/src"> + <fileset dir="${basedir}/js/out"> <include name="**/**" /> </fileset> </copy> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as b/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as deleted file mode 100644 index 75886c2..0000000 --- a/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as +++ /dev/null @@ -1,55 +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 HTMLASJSClasses -{ - /*import org.apache.flex.html.beads.DataGridColumnView; DataGridColumnView; - import org.apache.flex.html.beads.DataGridLinesBead; DataGridLinesBead; - import org.apache.flex.html.beads.DataGridView; DataGridView; - import org.apache.flex.html.beads.DataProviderChangeNotifier; DataProviderChangeNotifier; - import org.apache.flex.html.beads.DataItemRendererFactoryForArrayList; DataItemRendererFactoryForArrayList; - import org.apache.flex.html.beads.DateChooserView; DateChooserView; - import org.apache.flex.html.beads.DateFieldView; DateFieldView; - import org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout; FlexibleFirstChildHorizontalLayout; - import org.apache.flex.html.beads.models.ArrayListSelectionModel; ArrayListSelectionModel; - 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.MXMLBeadViewBase; MXMLBeadViewBase; - import org.apache.flex.html.beads.TitleBarView; TitleBarView; - import org.apache.flex.html.beads.TitleBarMeasurementBead; TitleBarMeasurementBead;*/ - -} - -} - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridLinesBead.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridLinesBead.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridLinesBead.as deleted file mode 100644 index b4e5b1d..0000000 --- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridLinesBead.as +++ /dev/null @@ -1,199 +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.html.beads -{ - import org.apache.flex.collections.ArrayList; - import org.apache.flex.core.IBead; - import org.apache.flex.core.IBeadModel; - import org.apache.flex.core.IDataGridModel; - import org.apache.flex.core.ILayoutHost; - import org.apache.flex.core.IParentIUIBase; - 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.IStroke; - import org.apache.flex.core.graphics.SolidColor; - import org.apache.flex.core.graphics.SolidColorStroke; - import org.apache.flex.events.Event; - import org.apache.flex.events.IEventDispatcher; - import org.apache.flex.html.beads.models.DataGridPresentationModel; - import org.apache.flex.html.supportClasses.DataGridColumn; - - /** - * The DataGridLinesBead is an add on bead for the DataGrid. This bead - * adds horizontal and vertical grid lines to a DataGrid. The size and - * color of the lines is specified by the stroke property (defaults to - * a thin dark line). - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public class DataGridLinesBead implements IBead - { - /** - * Constructor. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function DataGridLinesBead() - { - // Set default separator line stroke. - var lineStroke:SolidColorStroke = new SolidColorStroke(); - lineStroke.color = 0x333333; - lineStroke.alpha = 1.0; - lineStroke.weight = 1; - stroke = lineStroke; - } - - private var _strand:IStrand; - - /** - * @copy org.apache.flex.core.UIBase#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; - - _overlay = new GraphicsContainer(); - - IEventDispatcher(_strand).addEventListener("beadsAdded", handleBeadsAdded); - } - - private var _stroke:IStroke; - - /** - * Describes the line style used to separate the rows and columns. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get stroke():IStroke - { - return _stroke; - } - public function set stroke(value:IStroke):void - { - _stroke = value; - } - - private var _overlay:GraphicsContainer; - private var _area:UIBase; - - /** - * Invoked when all of the beads have been added to the DataGrid. This - * function seeks the Container that parents the lists that are the DataGrid's - * columns. An overlay GraphicContainer is added to this Container so that the - * grid lines will scroll with the rows. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - private function handleBeadsAdded(event:Event):void - { - var host:UIBase = _strand as UIBase; - var n:int = host.numElements; - for (var i:int=0; i < n; i++) { - var child:UIBase = host.getElementAt(i) as UIBase; - if (child.id == "dataGridListArea") { - _area = child; - _area.addElement(_overlay); - break; - } - } - - // Now set up listeners to handle changes in the size of the DataGrid. - IEventDispatcher(_strand).addEventListener("sizeChanged", drawLines); - IEventDispatcher(_strand).addEventListener("widthChanged", drawLines); - IEventDispatcher(_strand).addEventListener("heightChanged", drawLines); - - // Also set up a listener on the model to know when the dataProvider has - // changed which might affect the number of rows/columns and thus the - // grid lines. - var model:IBeadModel = _strand.getBeadByType(IBeadModel) as IBeadModel; - IEventDispatcher(model).addEventListener("dataProviderChanged", drawLines); - } - - /** - * This event handler is invoked whenever something happens to the DataGrid. This - * function draws the lines either using a default stroke or the one specified by - * the stroke property. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - private function drawLines(event:Event):void - { - var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel; - var presentationModel:DataGridPresentationModel = _strand.getBeadByType(DataGridPresentationModel) as DataGridPresentationModel; - var layoutParent:ILayoutHost = _area.getBeadByType(ILayoutHost) as ILayoutHost; - var contentView:IParentIUIBase = layoutParent.contentView as IParentIUIBase; - - var columns:Array = sharedModel.columns; - var arrayList:ArrayList = sharedModel.dataProvider as ArrayList; - var rowHeight:Number = presentationModel.rowHeight; - - var totalHeight:Number = arrayList.length * rowHeight; - var columnWidth:Number = _area.width / columns.length; - - // translate the stroke to a fill since rectangles are used for the grid - // lines and not lines. - var lineFill:SolidColor = new SolidColor(); - var weight:Number = 1; - lineFill.color = (stroke as SolidColorStroke).color; - lineFill.alpha = (stroke as SolidColorStroke).alpha; - weight = (stroke as SolidColorStroke).weight; - _overlay.fill = lineFill; - - columnWidth = (columns[0] as DataGridColumn).columnWidth; - var xpos:Number = isNaN(columnWidth) ? _area.width / columns.length : columnWidth; - - _overlay.removeAllElements(); - - // draw the verticals - for (var i:int=1; i < columns.length; i++) { - _overlay.drawRect(xpos, 0, weight, totalHeight); - columnWidth = (columns[i] as DataGridColumn).columnWidth; - xpos += isNaN(columnWidth) ? _area.width / columns.length : columnWidth; - } - - var n:int = arrayList.length; - - // draw the horizontals - for (i=1; i < n+1; i++) { - _overlay.drawRect(0, i*rowHeight, _area.width, weight); - } - } - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as deleted file mode 100644 index 9895394..0000000 --- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as +++ /dev/null @@ -1,174 +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.html.beads -{ - import org.apache.flex.collections.ArrayList; - 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.IListPresentationModel; - import org.apache.flex.core.ISelectableItemRenderer; - import org.apache.flex.core.ISelectionModel; - import org.apache.flex.core.IStrand; - import org.apache.flex.core.IUIBase; - import org.apache.flex.core.SimpleCSSStyles; - 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.List; - - /** - * The DataItemRendererFactoryForArrayList class uses an ArrayList - * and creates an item renderer for every - * item in the collection. Other implementations of - * IDataProviderItemRendererMapper map different data - * structures or manage a virtual set of renderers. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public class DataItemRendererFactoryForArrayList implements IBead, IDataProviderItemRendererMapper - { - /** - * Constructor. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function DataItemRendererFactoryForArrayList() - { - } - - private var selectionModel:ISelectionModel; - - private var labelField:String; - - 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; - IEventDispatcher(_strand).addEventListener("beadsAdded", finishSetup); - IEventDispatcher(_strand).addEventListener("initComplete", finishSetup); - } - - private function finishSetup(event:Event):void - { - selectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel; - var listView:IListView = _strand.getBeadByType(IListView) as IListView; - dataGroup = listView.dataGroup; - selectionModel.addEventListener("dataProviderChanged", dataProviderChangeHandler); - - labelField = (listView.host as List).labelField; - - if (!itemRendererFactory) - { - _itemRendererFactory = _strand.getBeadByType(IItemRendererClassFactory) as IItemRendererClassFactory; - if (_itemRendererFactory == null) { - _itemRendererFactory = new (ValuesManager.valuesImpl.getValue(_strand, "iItemRendererClassFactory")) as IItemRendererClassFactory; - _strand.addBead(_itemRendererFactory); - } - } - - dataProviderChangeHandler(null); - } - - private var _itemRendererFactory:IItemRendererClassFactory; - - /** - * The org.apache.flex.core.IItemRendererClassFactory used - * to generate instances of item renderers. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get itemRendererFactory():IItemRendererClassFactory - { - return _itemRendererFactory; - } - - /** - * @private - */ - public function set itemRendererFactory(value:IItemRendererClassFactory):void - { - _itemRendererFactory = value; - } - - /** - * The org.apache.flex.core.IItemRendererParent that will - * parent the item renderers. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - protected var dataGroup:IItemRendererParent; - - private function dataProviderChangeHandler(event:Event):void - { - var dp:ArrayList = selectionModel.dataProvider as ArrayList; - if (!dp) - return; - - dataGroup.removeAllElements(); - - var listView:IListView = _strand.getBeadByType(IListView) as IListView; - var presentationModel:IListPresentationModel = _strand.getBeadByType(IListPresentationModel) as IListPresentationModel; - - var n:int = dp.length; - for (var i:int = 0; i < n; i++) - { - var ir:ISelectableItemRenderer = itemRendererFactory.createItemRenderer(dataGroup) as ISelectableItemRenderer; - ir.index = i; - ir.labelField = labelField; - if (presentationModel) { - UIBase(ir).height = presentationModel.rowHeight; - - // ensure that the IR spans the width of its column - var style:SimpleCSSStyles = new SimpleCSSStyles(); - style.right = 0; - style.left = 0; - UIBase(ir).style = style; - } - dataGroup.addElement(ir); - ir.data = dp.getItemAt(i); - } - - IEventDispatcher(_strand).dispatchEvent(new Event("itemsCreated")); - } - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataProviderChangeNotifier.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataProviderChangeNotifier.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataProviderChangeNotifier.as deleted file mode 100644 index 8905fb9..0000000 --- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataProviderChangeNotifier.as +++ /dev/null @@ -1,154 +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.html.beads -{ - import org.apache.flex.core.IBead; - import org.apache.flex.core.IDocument; - import org.apache.flex.core.ISelectionModel; - import org.apache.flex.core.IStrand; - import org.apache.flex.events.Event; - import org.apache.flex.collections.ArrayList; - - /** - * The DataProviderChangeNotifier notifies listeners when a selection model's - * ArrayList dataProvider has changed. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public class DataProviderChangeNotifier implements IBead, IDocument - { - /** - * constructor. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function DataProviderChangeNotifier() - { - } - - protected var _dataProvider:ArrayList; - - 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; - - if (_dataProvider == null) { - var object:Object = document[sourceID]; - _dataProvider = object[propertyName] as ArrayList; - } - - _dataProvider.addEventListener("itemAdded", handleItemAdded); - _dataProvider.addEventListener("itemRemoved", handleItemRemoved); - _dataProvider.addEventListener("itemUpdated", handleItemUpdated); - - } - - protected var document:Object; - - /** - * @private - */ - public function setDocument(document:Object, id:String = null):void - { - this.document = document; - } - - private var _sourceID:String; - - /** - * The ID of the object holding the ArrayList, usually a model. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get sourceID():String - { - return _sourceID; - } - public function set sourceID(value:String):void - { - _sourceID = value; - } - - private var _propertyName:String; - - /** - * The property in the sourceID that is the ArrayList. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get propertyName():String - { - return _propertyName; - } - - public function set propertyName(value:String):void - { - _propertyName = value; - } - - /** - * @private - */ - private function handleItemAdded(event:Event):void - { - var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel; - selectionModel.dispatchEvent(new Event("dataProviderChanged")); - } - - /** - * @private - */ - private function handleItemRemoved(event:Event):void - { - var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel; - selectionModel.dispatchEvent(new Event("dataProviderChanged")); - } - - /** - * @private - */ - private function handleItemUpdated(event:Event):void - { - var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel; - selectionModel.dispatchEvent(new Event("dataProviderChanged")); - } - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/ArrayListSelectionModel.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/ArrayListSelectionModel.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/ArrayListSelectionModel.as deleted file mode 100644 index 920e967..0000000 --- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/ArrayListSelectionModel.as +++ /dev/null @@ -1,242 +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.html.beads.models -{ - import org.apache.flex.collections.ArrayList; - import org.apache.flex.core.IRollOverModel; - import org.apache.flex.core.ISelectionModel; - import org.apache.flex.core.IStrand; - import org.apache.flex.events.Event; - import org.apache.flex.events.EventDispatcher; - - /** - * The ArrayListSelectionModel class is a selection model for - * a dataProvider that is an ArrayList. It assumes that items - * can be fetched from the dataProvider using dataProvider.getItemAt(index). - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public class ArrayListSelectionModel extends EventDispatcher implements ISelectionModel, IRollOverModel - { - /** - * Constructor. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function ArrayListSelectionModel() - { - } - - 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; - } - - private var _dataProvider:ArrayList; - - /** - * @copy org.apache.flex.core.ISelectionModel#dataProvider - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get dataProvider():Object - { - return _dataProvider; - } - - /** - * @private - */ - public function set dataProvider(value:Object):void - { - if (value === _dataProvider) return; - - _dataProvider = value as ArrayList; - if (_selectedIndex != -1) - _selectedItem = (_dataProvider == null || _selectedIndex >= _dataProvider.length) ? null : - _dataProvider.getItemAt(_selectedIndex); - dispatchEvent(new Event("dataProviderChanged")); - } - - private var _selectedIndex:int = -1; - private var _rollOverIndex:int = -1; - private var _labelField:String = null; - - /** - * @copy org.apache.flex.core.ISelectionModel#labelField - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get labelField():String - { - return _labelField; - } - - /** - * @private - */ - public function set labelField(value:String):void - { - if (value != _labelField) { - _labelField = value; - dispatchEvent(new Event("labelFieldChanged")); - } - } - - /** - * @copy org.apache.flex.core.ISelectionModel#selectedIndex - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get selectedIndex():int - { - return _selectedIndex; - } - - /** - * @private - */ - public function set selectedIndex(value:int):void - { - if (value === _selectedIndex) return; - - _selectedIndex = value; - _selectedItem = (value == -1 || _dataProvider == null) ? null : (value < _dataProvider.length) ? _dataProvider.getItemAt(value) : null; - dispatchEvent(new Event("selectedIndexChanged")); - } - - /** - * @copy org.apache.flex.core.IRollOverModel#rollOverIndex - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get rollOverIndex():int - { - return _rollOverIndex; - } - - /** - * @private - */ - public function set rollOverIndex(value:int):void - { - _rollOverIndex = value; - dispatchEvent(new Event("rollOverIndexChanged")); - } - - private var _selectedItem:Object; - - /** - * @copy org.apache.flex.core.ISelectionModel#selectedItem - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get selectedItem():Object - { - return _selectedItem; - } - - /** - * @private - */ - public function set selectedItem(value:Object):void - { - if (value === _selectedItem) return; - - _selectedItem = value; - var n:int = _dataProvider.length; - for (var i:int = 0; i < n; i++) - { - if (_dataProvider.getItemAt(i) == value) - { - _selectedIndex = i; - break; - } - } - dispatchEvent(new Event("selectedItemChanged")); - dispatchEvent(new Event("selectedIndexChanged")); - } - - private var _selectedString:String; - - /** - * An alternative to selectedItem for strongly typing the - * the selectedItem if the Array is an Array of Strings. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get selectedString():String - { - return String(_selectedItem); - } - - /** - * @private - */ - public function set selectedString(value:String):void - { - _selectedString = value; - var n:int = _dataProvider.length; - for (var i:int = 0; i < n; i++) - { - if (String(_dataProvider.getItemAt(i)) == value) - { - _selectedIndex = i; - break; - } - } - dispatchEvent(new Event("selectedItemChanged")); - dispatchEvent(new Event("selectedIndexChanged")); - } - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f77e1c48/frameworks/projects/Mobile/asjs/src/MobileASJSClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Mobile/asjs/src/MobileASJSClasses.as b/frameworks/projects/Mobile/asjs/src/MobileASJSClasses.as deleted file mode 100644 index 90d41f5..0000000 --- a/frameworks/projects/Mobile/asjs/src/MobileASJSClasses.as +++ /dev/null @@ -1,41 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to You under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -//////////////////////////////////////////////////////////////////////////////// -package -{ - -/** - * @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 MobileASJSClasses -{ - import org.apache.flex.mobile.ViewManagerBase; ViewManagerBase; - import org.apache.flex.mobile.beads.StackedViewManagerView; StackedViewManagerView; - import org.apache.flex.mobile.beads.TabbedViewManagerView; TabbedViewManagerView; - import org.apache.flex.mobile.beads.ViewManagerView; ViewManagerView; - 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; -} - -} -
