switching from org.apache.flex to org_apache_flex so GCC doesn't complain
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/49f207c4 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/49f207c4 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/49f207c4 Branch: refs/heads/develop Commit: 49f207c46eedc18f2517a8520513f0ed4f4a9a71 Parents: e1f17c9 Author: Alex Harui <[email protected]> Authored: Wed Jan 28 09:09:00 2015 -0800 Committer: Alex Harui <[email protected]> Committed: Wed Jan 28 09:09:00 2015 -0800 ---------------------------------------------------------------------- .../js/FlexJS/src/flash/display/Sprite.js | 10 +- .../js/FlexJS/src/mx/core/ClassFactory.js | 18 +- frameworks/js/FlexJS/src/mx/core/IFactory.js | 10 +- frameworks/js/FlexJS/src/mx/states/AddItems.js | 34 +-- .../js/FlexJS/src/mx/states/SetEventHandler.js | 26 +-- .../js/FlexJS/src/mx/states/SetProperty.js | 28 +-- frameworks/js/FlexJS/src/mx/states/State.js | 12 +- .../src/org/apache/cordova/Application.js | 22 +- .../js/FlexJS/src/org/apache/cordova/Weinre.js | 14 +- .../src/org/apache/cordova/camera/Camera.js | 44 ++-- .../src/org/apache/flex/binding/BindingBase.js | 26 +-- .../src/org/apache/flex/binding/ChainBinding.js | 42 ++-- .../org/apache/flex/binding/ConstantBinding.js | 22 +- .../org/apache/flex/binding/GenericBinding.js | 36 ++-- .../org/apache/flex/binding/PropertyWatcher.js | 36 ++-- .../org/apache/flex/binding/SimpleBinding.js | 32 +-- .../src/org/apache/flex/binding/WatcherBase.js | 46 ++-- .../org/apache/flex/charts/core/ChartBase.js | 38 ++-- .../org/apache/flex/charts/core/IAxisBead.js | 28 +-- .../org/apache/flex/charts/core/IAxisGroup.js | 12 +- .../flex/charts/core/ICartesianChartLayout.js | 10 +- .../src/org/apache/flex/charts/core/IChart.js | 14 +- .../org/apache/flex/charts/core/IChartAxis.js | 10 +- .../apache/flex/charts/core/IChartDataGroup.js | 20 +- .../flex/charts/core/IChartItemRenderer.js | 36 ++-- .../org/apache/flex/charts/core/IChartSeries.js | 32 +-- .../flex/charts/core/IHorizontalAxisBead.js | 24 +-- .../flex/charts/core/IVerticalAxisBead.js | 24 +-- .../charts/supportClasses/ChartAxisGroup.js | 56 ++--- .../charts/supportClasses/ChartDataGroup.js | 28 +-- .../src/org/apache/flex/core/Application.js | 52 ++--- .../src/org/apache/flex/core/BeadViewBase.js | 30 +-- .../src/org/apache/flex/core/CallLaterBead.js | 14 +- .../src/org/apache/flex/core/ContainerBase.js | 62 +++--- .../src/org/apache/flex/core/DataBindingBase.js | 14 +- .../src/org/apache/flex/core/FilledRectangle.js | 28 +-- .../src/org/apache/flex/core/FormatBase.js | 48 ++--- .../org/apache/flex/core/HTMLElementWrapper.js | 44 ++-- .../js/FlexJS/src/org/apache/flex/core/IBead.js | 12 +- .../src/org/apache/flex/core/IBeadController.js | 14 +- .../src/org/apache/flex/core/IBeadLayout.js | 14 +- .../src/org/apache/flex/core/IBeadModel.js | 20 +- .../src/org/apache/flex/core/IBeadView.js | 8 +- .../FlexJS/src/org/apache/flex/core/IChild.js | 12 +- .../src/org/apache/flex/core/IContainer.js | 20 +- .../src/org/apache/flex/core/IContentView.js | 30 +-- .../src/org/apache/flex/core/IDataGridModel.js | 14 +- .../core/IDataProviderItemRendererMapper.js | 18 +- .../src/org/apache/flex/core/IDocument.js | 10 +- .../src/org/apache/flex/core/IEffectTimer.js | 16 +- .../src/org/apache/flex/core/IFormatBead.js | 24 +-- .../src/org/apache/flex/core/IItemRenderer.js | 8 +- .../flex/core/IItemRendererClassFactory.js | 8 +- .../apache/flex/core/IItemRendererFactory.js | 10 +- .../org/apache/flex/core/IItemRendererParent.js | 10 +- .../src/org/apache/flex/core/ILayoutChild.js | 12 +- .../src/org/apache/flex/core/ILayoutParent.js | 18 +- .../apache/flex/core/IListPresentationModel.js | 22 +- .../src/org/apache/flex/core/IMXMLDocument.js | 8 +- .../org/apache/flex/core/IMeasurementBead.js | 8 +- .../FlexJS/src/org/apache/flex/core/IParent.js | 18 +- .../src/org/apache/flex/core/IParentIUIBase.js | 18 +- .../src/org/apache/flex/core/IPopUpHost.js | 16 +- .../apache/flex/core/ISelectableItemRenderer.js | 38 ++-- .../src/org/apache/flex/core/ISelectionModel.js | 30 +-- .../src/org/apache/flex/core/IStatesImpl.js | 20 +- .../FlexJS/src/org/apache/flex/core/IStrand.js | 22 +- .../org/apache/flex/core/IStyleableObject.js | 16 +- .../src/org/apache/flex/core/ITextModel.js | 22 +- .../FlexJS/src/org/apache/flex/core/IUIBase.js | 8 +- .../src/org/apache/flex/core/IValuesImpl.js | 14 +- .../flex/core/ItemRendererClassFactory.js | 30 +-- .../FlexJS/src/org/apache/flex/core/ListBase.js | 36 ++-- .../org/apache/flex/core/SimpleCSSValuesImpl.js | 40 ++-- .../org/apache/flex/core/SimpleStatesImpl.js | 84 ++++---- .../org/apache/flex/core/SimpleValuesImpl.js | 8 +- .../FlexJS/src/org/apache/flex/core/UIBase.js | 212 +++++++++---------- .../src/org/apache/flex/core/ValuesManager.js | 30 +-- .../FlexJS/src/org/apache/flex/core/ViewBase.js | 84 ++++---- .../org/apache/flex/core/ViewBaseDataBinding.js | 44 ++-- .../src/org/apache/flex/core/graphics/Circle.js | 28 +-- .../org/apache/flex/core/graphics/Ellipse.js | 24 +-- .../apache/flex/core/graphics/GradientBase.js | 42 ++-- .../apache/flex/core/graphics/GradientEntry.js | 36 ++-- .../apache/flex/core/graphics/GraphicShape.js | 52 ++--- .../flex/core/graphics/GraphicsContainer.js | 50 ++--- .../src/org/apache/flex/core/graphics/IFill.js | 12 +- .../org/apache/flex/core/graphics/IStroke.js | 12 +- .../src/org/apache/flex/core/graphics/Line.js | 22 +- .../apache/flex/core/graphics/LinearGradient.js | 32 +-- .../src/org/apache/flex/core/graphics/Path.js | 26 +-- .../src/org/apache/flex/core/graphics/Rect.js | 24 +-- .../org/apache/flex/core/graphics/SolidColor.js | 26 +-- .../flex/core/graphics/SolidColorStroke.js | 28 +-- .../src/org/apache/flex/core/graphics/Text.js | 24 +-- .../src/org/apache/flex/createjs/Application.js | 38 ++-- .../src/org/apache/flex/createjs/CheckBox.js | 32 +-- .../src/org/apache/flex/createjs/Label.js | 22 +- .../src/org/apache/flex/createjs/TextButton.js | 24 +-- .../src/org/apache/flex/createjs/core/UIBase.js | 38 ++-- .../org/apache/flex/createjs/core/ViewBase.js | 32 +-- .../org/apache/flex/effects/PlatformWiper.js | 16 +- .../src/org/apache/flex/events/CustomEvent.js | 16 +- .../src/org/apache/flex/events/DragEvent.js | 40 ++-- .../FlexJS/src/org/apache/flex/events/Event.js | 24 +-- .../org/apache/flex/events/EventDispatcher.js | 28 +-- .../org/apache/flex/events/IEventDispatcher.js | 8 +- .../src/org/apache/flex/events/MouseEvent.js | 62 +++--- .../org/apache/flex/events/ValueChangeEvent.js | 32 +-- .../src/org/apache/flex/events/ValueEvent.js | 18 +- .../org/apache/flex/events/utils/MouseUtils.js | 12 +- .../js/FlexJS/src/org/apache/flex/geom/Point.js | 12 +- .../src/org/apache/flex/geom/Rectangle.js | 16 +- .../js/FlexJS/src/org/apache/flex/html/Alert.js | 78 +++---- .../FlexJS/src/org/apache/flex/html/Button.js | 24 +-- .../src/org/apache/flex/html/ButtonBar.js | 42 ++-- .../FlexJS/src/org/apache/flex/html/CheckBox.js | 28 +-- .../src/org/apache/flex/html/CloseButton.js | 22 +- .../FlexJS/src/org/apache/flex/html/ComboBox.js | 32 +-- .../src/org/apache/flex/html/Container.js | 36 ++-- .../src/org/apache/flex/html/ControlBar.js | 20 +- .../src/org/apache/flex/html/DropDownList.js | 31 ++- .../src/org/apache/flex/html/HContainer.js | 24 +-- .../js/FlexJS/src/org/apache/flex/html/HRule.js | 18 +- .../js/FlexJS/src/org/apache/flex/html/Image.js | 32 +-- .../org/apache/flex/html/ImageAndTextButton.js | 34 +-- .../js/FlexJS/src/org/apache/flex/html/Label.js | 26 +-- .../js/FlexJS/src/org/apache/flex/html/List.js | 86 ++++---- .../src/org/apache/flex/html/MultilineLabel.js | 26 +-- .../src/org/apache/flex/html/NumericStepper.js | 56 ++--- .../js/FlexJS/src/org/apache/flex/html/Panel.js | 52 ++--- .../src/org/apache/flex/html/RadioButton.js | 52 ++--- .../src/org/apache/flex/html/SimpleAlert.js | 20 +- .../src/org/apache/flex/html/SimpleList.js | 37 ++-- .../FlexJS/src/org/apache/flex/html/Slider.js | 61 +++--- .../FlexJS/src/org/apache/flex/html/Spacer.js | 18 +- .../FlexJS/src/org/apache/flex/html/Spinner.js | 53 +++-- .../FlexJS/src/org/apache/flex/html/TextArea.js | 24 +-- .../src/org/apache/flex/html/TextButton.js | 22 +- .../src/org/apache/flex/html/TextInput.js | 34 +-- .../FlexJS/src/org/apache/flex/html/TitleBar.js | 34 +-- .../org/apache/flex/html/ToggleTextButton.js | 28 +-- .../FlexJS/src/org/apache/flex/html/ToolTip.js | 18 +- .../src/org/apache/flex/html/VContainer.js | 24 +-- .../accessories/NumericOnlyTextInputBead.js | 12 +- .../flex/html/accessories/PasswordInputBead.js | 10 +- .../flex/html/accessories/TextPromptBead.js | 14 +- .../org/apache/flex/html/beads/ButtonBarView.js | 22 +- .../org/apache/flex/html/beads/ContainerView.js | 26 +-- .../DataItemRendererFactoryForArrayData.js | 52 ++--- .../src/org/apache/flex/html/beads/IListView.js | 12 +- .../apache/flex/html/beads/ImageButtonView.js | 10 +- .../src/org/apache/flex/html/beads/ImageView.js | 16 +- .../src/org/apache/flex/html/beads/ListView.js | 60 +++--- .../src/org/apache/flex/html/beads/PanelView.js | 28 +-- .../flex/html/beads/ScrollingContainerView.js | 30 +-- .../apache/flex/html/beads/SliderThumbView.js | 10 +- .../apache/flex/html/beads/SliderTrackView.js | 10 +- .../flex/html/beads/TextInputWithBorderView.js | 10 +- .../TextItemRendererFactoryForArrayData.js | 41 ++-- .../controllers/ItemRendererMouseController.js | 31 ++- .../ListSingleSelectionMouseController.js | 31 ++- .../beads/controllers/SliderMouseController.js | 35 ++- .../beads/controllers/SpinnerMouseController.js | 17 +- .../flex/html/beads/layouts/ButtonBarLayout.js | 28 +-- .../html/beads/layouts/NonVirtualBasicLayout.js | 42 ++-- .../layouts/NonVirtualBasicScrollingLayout.js | 32 +-- .../beads/layouts/NonVirtualHorizontalLayout.js | 26 +-- .../beads/layouts/NonVirtualVerticalLayout.js | 26 +-- .../NonVirtualVerticalScrollingLayout.js | 19 +- .../flex/html/beads/layouts/TileLayout.js | 32 +-- .../html/beads/models/ArraySelectionModel.js | 42 ++-- .../flex/html/beads/models/DataGridModel.js | 32 +-- .../apache/flex/html/beads/models/ImageModel.js | 24 +-- .../html/beads/models/ListPresentationModel.js | 32 +-- .../apache/flex/html/beads/models/PanelModel.js | 34 +-- .../apache/flex/html/beads/models/RangeModel.js | 42 ++-- .../apache/flex/html/beads/models/TextModel.js | 30 +-- .../flex/html/beads/models/TitleBarModel.js | 38 ++-- .../ButtonBarButtonItemRenderer.js | 34 ++- .../flex/html/supportClasses/DataGridColumn.js | 26 +-- .../html/supportClasses/DataItemRenderer.js | 45 ++-- .../html/supportClasses/NonVirtualDataGroup.js | 42 ++-- .../html/supportClasses/StringItemRenderer.js | 53 +++-- .../html/supportClasses/UIItemRendererBase.js | 72 +++---- .../src/org/apache/flex/html5/CheckBox.js | 24 +-- .../src/org/apache/flex/html5/ComboBox.js | 28 +-- .../src/org/apache/flex/html5/DropDownList.js | 14 +- .../FlexJS/src/org/apache/flex/html5/Label.js | 22 +- .../js/FlexJS/src/org/apache/flex/html5/List.js | 18 +- .../src/org/apache/flex/html5/RadioButton.js | 28 +-- .../src/org/apache/flex/html5/TextArea.js | 20 +- .../src/org/apache/flex/html5/TextButton.js | 20 +- .../src/org/apache/flex/html5/TextInput.js | 20 +- .../src/org/apache/flex/jquery/Application.js | 14 +- .../src/org/apache/flex/jquery/CheckBox.js | 28 +-- .../src/org/apache/flex/jquery/RadioButton.js | 58 ++--- .../src/org/apache/flex/jquery/TextButton.js | 24 +-- .../src/org/apache/flex/maps/google/Geometry.js | 14 +- .../src/org/apache/flex/maps/google/LatLng.js | 12 +- .../src/org/apache/flex/maps/google/Map.js | 84 ++++---- .../src/org/apache/flex/maps/google/Marker.js | 18 +- .../src/org/apache/flex/maps/google/Place.js | 26 +-- .../apache/flex/maps/google/beads/MapView.js | 12 +- .../apache/flex/maps/google/models/MapModel.js | 42 ++-- .../src/org/apache/flex/net/BinaryUploader.js | 90 ++++---- .../src/org/apache/flex/net/HTTPHeader.js | 14 +- .../src/org/apache/flex/net/HTTPService.js | 90 ++++---- .../src/org/apache/flex/net/JSONInputParser.js | 10 +- .../org/apache/flex/net/JSONItemConverter.js | 14 +- .../flex/net/dataConverters/LazyCollection.js | 41 ++-- .../src/org/apache/flex/svg/TextButton.js | 26 +-- .../src/org/apache/flex/utils/BinaryData.js | 36 ++-- .../src/org/apache/flex/utils/EffectTimer.js | 36 ++-- .../src/org/apache/flex/utils/Language.js | 28 +-- .../apache/flex/utils/MXMLDataInterpreter.js | 42 ++-- .../src/org/apache/flex/utils/MixinManager.js | 14 +- .../src/org/apache/flex/utils/PointUtils.js | 26 +-- .../FlexJS/src/org/apache/flex/utils/Timer.js | 40 ++-- .../FlexJS/src/org/apache/flex/utils/UIUtils.js | 20 +- .../flex/utils/ViewSourceContextMenuOption.js | 12 +- .../js/FlexJS/tests/MySimpleValuesImpl.js | 6 +- 222 files changed, 3232 insertions(+), 3255 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/flash/display/Sprite.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/flash/display/Sprite.js b/frameworks/js/FlexJS/src/flash/display/Sprite.js index 086a7aa..8d9684d 100644 --- a/frameworks/js/FlexJS/src/flash/display/Sprite.js +++ b/frameworks/js/FlexJS/src/flash/display/Sprite.js @@ -12,14 +12,14 @@ * limitations under the License. */ -goog.provide('flash.display.Sprite'); +goog.provide('flash_display_Sprite'); /** * @constructor */ -flash.display.Sprite = function() { +flash_display_Sprite = function() { }; @@ -28,13 +28,13 @@ flash.display.Sprite = function() { * * @type {Object.<string, Array.<Object>>} */ -flash.display.Sprite.prototype.FLEXJS_CLASS_INFO = +flash_display_Sprite.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Sprite', - qName: 'flash.display.Sprite' }] }; + qName: 'flash_display_Sprite' }] }; /** * @expose */ -flash.display.Sprite.prototype.start = function() { +flash_display_Sprite.prototype.start = function() { }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/mx/core/ClassFactory.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/mx/core/ClassFactory.js b/frameworks/js/FlexJS/src/mx/core/ClassFactory.js index 25755bd..97fec5c 100644 --- a/frameworks/js/FlexJS/src/mx/core/ClassFactory.js +++ b/frameworks/js/FlexJS/src/mx/core/ClassFactory.js @@ -12,18 +12,18 @@ * limitations under the License. */ -goog.provide('mx.core.ClassFactory'); +goog.provide('mx_core_ClassFactory'); -goog.require('mx.core.IFactory'); +goog.require('mx_core_IFactory'); /** * @constructor - * @implements {mx.core.IFactory} + * @implements {mx_core_IFactory} * @param {Function} generator The class definition to use for newInstance. */ -mx.core.ClassFactory = function(generator) { +mx_core_ClassFactory = function(generator) { /** * @private * @type {Function} @@ -38,18 +38,18 @@ mx.core.ClassFactory = function(generator) { * * @type {Object.<string, Array.<Object>>} */ -mx.core.ClassFactory.prototype. +mx_core_ClassFactory.prototype. FLEXJS_CLASS_INFO = { names: [{ name: 'ClassFactory', - qName: 'mx.core.ClassFactory' }], - interfaces: [mx.core.IFactory] }; + qName: 'mx_core_ClassFactory' }], + interfaces: [mx_core_IFactory] }; /** * @expose * @return {Object} The new instance of the class described by generator. */ -mx.core.ClassFactory. +mx_core_ClassFactory. prototype.newInstance = function() { var obj = new this.generator_(); @@ -61,4 +61,4 @@ mx.core.ClassFactory. } return obj; -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/mx/core/IFactory.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/mx/core/IFactory.js b/frameworks/js/FlexJS/src/mx/core/IFactory.js index d74f47f..556a4e0 100644 --- a/frameworks/js/FlexJS/src/mx/core/IFactory.js +++ b/frameworks/js/FlexJS/src/mx/core/IFactory.js @@ -17,14 +17,14 @@ * @suppress {checkTypes} */ -goog.provide('mx.core.IFactory'); +goog.provide('mx_core_IFactory'); /** * @interface */ -mx.core.IFactory = function() { +mx_core_IFactory = function() { }; @@ -32,7 +32,7 @@ mx.core.IFactory = function() { * @expose * @return {Object} A new instance of the itemRenderer. */ -mx.core.IFactory.prototype.newInstance = function() {}; +mx_core_IFactory.prototype.newInstance = function() {}; /** @@ -40,6 +40,6 @@ mx.core.IFactory.prototype.newInstance = function() {}; * * @type {Object.<string, Array.<Object>>} */ -mx.core.IFactory.prototype.FLEXJS_CLASS_INFO = +mx_core_IFactory.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IFactory', - qName: 'mx.core.IFactory' }] }; \ No newline at end of file + qName: 'mx_core_IFactory' }] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/mx/states/AddItems.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/mx/states/AddItems.js b/frameworks/js/FlexJS/src/mx/states/AddItems.js index 00a3c73..22f7619 100644 --- a/frameworks/js/FlexJS/src/mx/states/AddItems.js +++ b/frameworks/js/FlexJS/src/mx/states/AddItems.js @@ -12,17 +12,17 @@ * limitations under the License. */ -goog.provide('mx.states.AddItems'); +goog.provide('mx_states_AddItems'); -goog.require('org.apache.flex.core.IDocument'); +goog.require('org_apache_flex_core_IDocument'); /** * @constructor - * @implements {org.apache.flex.core.IDocument} + * @implements {org_apache_flex_core_IDocument} */ -mx.states.AddItems = function() { +mx_states_AddItems = function() { }; @@ -31,17 +31,17 @@ mx.states.AddItems = function() { * * @type {Object.<string, Array.<Object>>} */ -mx.states.AddItems.prototype.FLEXJS_CLASS_INFO = +mx_states_AddItems.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'AddItems', - qName: 'mx.states.AddItems' }], - interfaces: [org.apache.flex.core.IDocument] }; + qName: 'mx_states_AddItems' }], + interfaces: [org_apache_flex_core_IDocument] }; /** * @param {Object} document The MXML object. * @param {?string=} opt_id The id. */ -mx.states.AddItems.prototype.setDocument = function(document, opt_id) { +mx_states_AddItems.prototype.setDocument = function(document, opt_id) { opt_id = typeof opt_id !== 'undefined' ? opt_id : null; this.document = document; var data = document['mxmlsd'][this.itemsDescriptorIndex]; @@ -60,14 +60,14 @@ mx.states.AddItems.prototype.setDocument = function(document, opt_id) { * @expose * @type {Object} document The MXML object. */ -mx.states.AddItems.prototype.document = null; +mx_states_AddItems.prototype.document = null; /** * @expose * @type {Array} items The array of items to add. */ -mx.states.AddItems.prototype.items = null; +mx_states_AddItems.prototype.items = null; /** @@ -75,42 +75,42 @@ mx.states.AddItems.prototype.items = null; * @type {number} itemsDescriptor The index into the array * of itemDescriptors on the document */ -mx.states.AddItems.prototype.itemsDescriptorIndex = -1; +mx_states_AddItems.prototype.itemsDescriptorIndex = -1; /** * @expose * @type {Object} itemsDescriptor The descriptors for items. */ -mx.states.AddItems.prototype.itemsDescriptor = null; +mx_states_AddItems.prototype.itemsDescriptor = null; /** * @expose * @type {string} destination The id of the parent. */ -mx.states.AddItems.prototype.destination = ''; +mx_states_AddItems.prototype.destination = ''; /** * @expose * @type {string} propertyName The child property name (e.g. mxmlContent). */ -mx.states.AddItems.prototype.propertyName = ''; +mx_states_AddItems.prototype.propertyName = ''; /** * @expose * @type {string} position Where the item goes relative to relativeTo. */ -mx.states.AddItems.prototype.position = ''; +mx_states_AddItems.prototype.position = ''; /** * @expose * @type {?string} relativeTo The id of the child where the item goes. */ -mx.states.AddItems.prototype.relativeTo = null; +mx_states_AddItems.prototype.relativeTo = null; /** @@ -118,7 +118,7 @@ mx.states.AddItems.prototype.relativeTo = null; * @param {Object} properties The properties for the new object. * @return {Object} The new object. */ -mx.states.AddItems.prototype.initializeFromObject = function(properties) { +mx_states_AddItems.prototype.initializeFromObject = function(properties) { var p; for (p in properties) { http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js b/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js index 35e583d..1edc36e 100644 --- a/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js +++ b/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js @@ -12,17 +12,17 @@ * limitations under the License. */ -goog.provide('mx.states.SetEventHandler'); +goog.provide('mx_states_SetEventHandler'); -goog.require('org.apache.flex.core.IDocument'); +goog.require('org_apache_flex_core_IDocument'); /** * @constructor - * @implements {org.apache.flex.core.IDocument} + * @implements {org_apache_flex_core_IDocument} */ -mx.states.SetEventHandler = function() { +mx_states_SetEventHandler = function() { }; @@ -31,17 +31,17 @@ mx.states.SetEventHandler = function() { * * @type {Object.<string, Array.<Object>>} */ -mx.states.SetEventHandler.prototype.FLEXJS_CLASS_INFO = +mx_states_SetEventHandler.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SetEventHandler', - qName: 'mx.states.SetEventHandler' }], - interfaces: [org.apache.flex.core.IDocument] }; + qName: 'mx_states_SetEventHandler' }], + interfaces: [org_apache_flex_core_IDocument] }; /** * @param {Object} document The MXML object. * @param {?string=} opt_id The id. */ -mx.states.SetEventHandler.prototype.setDocument = function(document, opt_id) { +mx_states_SetEventHandler.prototype.setDocument = function(document, opt_id) { opt_id = typeof opt_id !== 'undefined' ? opt_id : null; this.document = document; }; @@ -51,28 +51,28 @@ mx.states.SetEventHandler.prototype.setDocument = function(document, opt_id) { * @expose * @type {Object} document The MXML object. */ -mx.states.SetEventHandler.prototype.document = null; +mx_states_SetEventHandler.prototype.document = null; /** * @expose * @type {string} name The event to listen for. */ -mx.states.SetEventHandler.prototype.name = ''; +mx_states_SetEventHandler.prototype.name = ''; /** * @expose * @type {string} target The id of the object. */ -mx.states.SetEventHandler.prototype.target = ''; +mx_states_SetEventHandler.prototype.target = ''; /** * @expose * @type {Object} handlerFunction The listener to be added. */ -mx.states.SetEventHandler.prototype.handlerFunction = null; +mx_states_SetEventHandler.prototype.handlerFunction = null; /** @@ -80,7 +80,7 @@ mx.states.SetEventHandler.prototype.handlerFunction = null; * @param {Object} properties The properties for the new object. * @return {Object} The new object. */ -mx.states.SetEventHandler.prototype.initializeFromObject = function(properties) { +mx_states_SetEventHandler.prototype.initializeFromObject = function(properties) { var p; for (p in properties) { http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/mx/states/SetProperty.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/mx/states/SetProperty.js b/frameworks/js/FlexJS/src/mx/states/SetProperty.js index ab76e9f..f7feca9 100644 --- a/frameworks/js/FlexJS/src/mx/states/SetProperty.js +++ b/frameworks/js/FlexJS/src/mx/states/SetProperty.js @@ -12,17 +12,17 @@ * limitations under the License. */ -goog.provide('mx.states.SetProperty'); +goog.provide('mx_states_SetProperty'); -goog.require('org.apache.flex.core.IDocument'); +goog.require('org_apache_flex_core_IDocument'); /** * @constructor - * @implements {org.apache.flex.core.IDocument} + * @implements {org_apache_flex_core_IDocument} */ -mx.states.SetProperty = function() { +mx_states_SetProperty = function() { }; @@ -31,17 +31,17 @@ mx.states.SetProperty = function() { * * @type {Object.<string, Array.<Object>>} */ -mx.states.SetProperty.prototype.FLEXJS_CLASS_INFO = +mx_states_SetProperty.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SetProperty', - qName: 'mx.states.SetProperty' }], - interfaces: [org.apache.flex.core.IDocument] }; + qName: 'mx_states_SetProperty' }], + interfaces: [org_apache_flex_core_IDocument] }; /** * @param {Object} document The MXML object. * @param {?string=} opt_id The id. */ -mx.states.SetProperty.prototype.setDocument = function(document, opt_id) { +mx_states_SetProperty.prototype.setDocument = function(document, opt_id) { opt_id = typeof opt_id !== 'undefined' ? opt_id : null; this.document = document; }; @@ -51,35 +51,35 @@ mx.states.SetProperty.prototype.setDocument = function(document, opt_id) { * @expose * @type {Object} document The MXML object. */ -mx.states.SetProperty.prototype.document = null; +mx_states_SetProperty.prototype.document = null; /** * @expose * @type {string} name The target property name. */ -mx.states.SetProperty.prototype.name = ''; +mx_states_SetProperty.prototype.name = ''; /** * @expose * @type {?string} target The id of the object. */ -mx.states.SetProperty.prototype.target = null; +mx_states_SetProperty.prototype.target = null; /** * @expose * @type {Object} previousValue The value to revert to. */ -mx.states.SetProperty.prototype.previousValue = null; +mx_states_SetProperty.prototype.previousValue = null; /** * @expose * @type {Object} value The value to set. */ -mx.states.SetProperty.prototype.value = null; +mx_states_SetProperty.prototype.value = null; /** @@ -87,7 +87,7 @@ mx.states.SetProperty.prototype.value = null; * @param {Object} properties The properties for the new object. * @return {Object} The new object. */ -mx.states.SetProperty.prototype.initializeFromObject = function(properties) { +mx_states_SetProperty.prototype.initializeFromObject = function(properties) { var p; for (p in properties) { http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/mx/states/State.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/mx/states/State.js b/frameworks/js/FlexJS/src/mx/states/State.js index d7f40bb..0d6df35 100644 --- a/frameworks/js/FlexJS/src/mx/states/State.js +++ b/frameworks/js/FlexJS/src/mx/states/State.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('mx.states.State'); +goog.provide('mx_states_State'); @@ -20,7 +20,7 @@ goog.provide('mx.states.State'); * @constructor * @param {Object=} opt_props The initial properties. */ -mx.states.State = function(opt_props) { +mx_states_State = function(opt_props) { opt_props = typeof opt_props !== 'undefined' ? opt_props : null; }; @@ -30,20 +30,20 @@ mx.states.State = function(opt_props) { * * @type {Object.<string, Array.<Object>>} */ -mx.states.State.prototype.FLEXJS_CLASS_INFO = +mx_states_State.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'State', - qName: 'mx.states.State' }] }; + qName: 'mx_states_State' }] }; /** * @expose * @type {string} name The state name. */ -mx.states.State.prototype.name = ''; +mx_states_State.prototype.name = ''; /** * @expose * @type {Array} overrides The state data. */ -mx.states.State.prototype.overrides = null; +mx_states_State.prototype.overrides = null; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/cordova/Application.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/cordova/Application.js b/frameworks/js/FlexJS/src/org/apache/cordova/Application.js index 0c63452..00c670d 100644 --- a/frameworks/js/FlexJS/src/org/apache/cordova/Application.js +++ b/frameworks/js/FlexJS/src/org/apache/cordova/Application.js @@ -14,39 +14,39 @@ /** - * org.apache.cordova.Application + * org_apache_cordova_Application * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.cordova.Application'); +goog.provide('org_apache_cordova_Application'); -goog.require('org.apache.flex.core.Application'); +goog.require('org_apache_flex_core_Application'); /** * @constructor - * @extends {org.apache.flex.core.Application} + * @extends {org_apache_flex_core_Application} */ -org.apache.cordova.Application = function() { - org.apache.cordova.Application.base(this, 'constructor'); +org_apache_cordova_Application = function() { + org_apache_cordova_Application.base(this, 'constructor'); document.addEventListener('deviceready', goog.bind(this.devicereadyredispatcher, this), false); }; -goog.inherits(org.apache.cordova.Application, - org.apache.flex.core.Application); +goog.inherits(org_apache_cordova_Application, + org_apache_flex_core_Application); /** * @protected * @param {Object} event */ -org.apache.cordova.Application.prototype.devicereadyredispatcher = function(event) { +org_apache_cordova_Application.prototype.devicereadyredispatcher = function(event) { this.dispatchEvent('deviceready'); }; @@ -56,6 +56,6 @@ org.apache.cordova.Application.prototype.devicereadyredispatcher = function(even * * @type {Object.<string, Array.<Object>>} */ -org.apache.cordova.Application.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'Application', qName: 'org.apache.cordova.Application'}] +org_apache_cordova_Application.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'Application', qName: 'org_apache_cordova_Application'}] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js b/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js index cc5f604..5aed42d 100644 --- a/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js +++ b/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js @@ -14,21 +14,21 @@ /** - * org.apache.cordova.Application + * org_apache_cordova_Application * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.cordova.Weinre'); +goog.provide('org_apache_cordova_Weinre'); /** * @constructor */ -org.apache.cordova.Weinre = function() { +org_apache_cordova_Weinre = function() { }; @@ -36,7 +36,7 @@ org.apache.cordova.Weinre = function() { * @expose * @param {Object} value The new host. */ -org.apache.cordova.Weinre.prototype.set_strand = +org_apache_cordova_Weinre.prototype.set_strand = function(value) { this.strand_ = value; @@ -47,7 +47,7 @@ function(value) { * @expose * @param {string} value The new guid. */ -org.apache.cordova.Weinre.prototype.set_guid = +org_apache_cordova_Weinre.prototype.set_guid = function(value) { var scriptNode = document.createElement('SCRIPT'); @@ -66,6 +66,6 @@ function(value) { * * @type {Object.<string, Array.<Object>>} */ -org.apache.cordova.Weinre.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'Weinre', qName: 'org.apache.cordova.Weinre'}] +org_apache_cordova_Weinre.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'Weinre', qName: 'org_apache_cordova_Weinre'}] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js b/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js index 10cf2d7..c263770 100644 --- a/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js +++ b/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js @@ -22,87 +22,87 @@ */ /** - * org.apache.cordova.camera.Camera + * org_apache_cordova_camera_Camera * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.cordova.camera.Camera'); +goog.provide('org_apache_cordova_camera_Camera'); /** * @constructor */ -org.apache.cordova.camera.Camera = function() { - this.pictureSourceType = org.apache.cordova.camera.Camera.PictureSourceType.PHOTOLIBRARY; - this.destinationType = org.apache.cordova.camera.Camera.DestinationType.DATA_URL; - this.mediaType = org.apache.cordova.camera.Camera.MediaType.PICTURE; - this.encodingType = org.apache.cordova.camera.Camera.EncodingType.JPEG; - this.direction = org.apache.cordova.camera.Camera.Direction.BACK; +org_apache_cordova_camera_Camera = function() { + this.pictureSourceType = org_apache_cordova_camera_Camera.PictureSourceType.PHOTOLIBRARY; + this.destinationType = org_apache_cordova_camera_Camera.DestinationType.DATA_URL; + this.mediaType = org_apache_cordova_camera_Camera.MediaType.PICTURE; + this.encodingType = org_apache_cordova_camera_Camera.EncodingType.JPEG; + this.direction = org_apache_cordova_camera_Camera.Direction.BACK; }; /** * @type {Object} */ -org.apache.cordova.camera.Camera.DestinationType = {DATA_URL: 0, FILE_URI: 1, NATIVE_URI: 2}; +org_apache_cordova_camera_Camera.DestinationType = {DATA_URL: 0, FILE_URI: 1, NATIVE_URI: 2}; /** * @type {Object} */ -org.apache.cordova.camera.Camera.PictureSourceType = {PHOTOLIBRARY: 0, CAMERA: 1, SAVEDPHOTOALBUM: 2}; +org_apache_cordova_camera_Camera.PictureSourceType = {PHOTOLIBRARY: 0, CAMERA: 1, SAVEDPHOTOALBUM: 2}; /** * @type {Object} */ -org.apache.cordova.camera.Camera.EncodingType = {JPEG: 0, PNG: 1}; +org_apache_cordova_camera_Camera.EncodingType = {JPEG: 0, PNG: 1}; /** * @type {Object} */ -org.apache.cordova.camera.Camera.MediaType = {PICTURE: 0, VIDEO: 1, ALLMEDIA: 2}; +org_apache_cordova_camera_Camera.MediaType = {PICTURE: 0, VIDEO: 1, ALLMEDIA: 2}; /** * @type {Object} */ -org.apache.cordova.camera.Camera.Direction = {BACK: 0, FRONT: 1}; +org_apache_cordova_camera_Camera.Direction = {BACK: 0, FRONT: 1}; /** * @type {number} */ -//org.apache.cordova.camera.Camera.prototype.pictureSourceType; +//org_apache_cordova_camera_Camera.prototype.pictureSourceType; /** * @type {number} */ -//org.apache.cordova.camera.Camera.prototype.destinationType; +//org_apache_cordova_camera_Camera.prototype.destinationType; /** * @type {number} */ -//org.apache.cordova.camera.Camera.prototype.mediaType; +//org_apache_cordova_camera_Camera.prototype.mediaType; /** * @type {number} */ -//org.apache.cordova.camera.Camera.prototype.encodingType; +//org_apache_cordova_camera_Camera.prototype.encodingType; /** * @type {number} */ -//org.apache.cordova.camera.Camera.prototype.direction; +//org_apache_cordova_camera_Camera.prototype.direction; /** @@ -111,7 +111,7 @@ org.apache.cordova.camera.Camera.Direction = {BACK: 0, FRONT: 1}; * @param {Function} cameraError * @param {Object} cameraOptions */ -org.apache.cordova.camera.Camera.prototype.getPicture = function(cameraSuccess, cameraError, cameraOptions) { +org_apache_cordova_camera_Camera.prototype.getPicture = function(cameraSuccess, cameraError, cameraOptions) { navigator.camera.getPicture(cameraSuccess, cameraError, cameraOptions); }; @@ -121,7 +121,7 @@ org.apache.cordova.camera.Camera.prototype.getPicture = function(cameraSuccess, * @param {Function} cameraSuccess * @param {Function} cameraError */ -org.apache.cordova.camera.Camera.prototype.cleanup = function(cameraSuccess, cameraError) { +org_apache_cordova_camera_Camera.prototype.cleanup = function(cameraSuccess, cameraError) { navigator.camera.cleanup(); }; @@ -131,6 +131,6 @@ org.apache.cordova.camera.Camera.prototype.cleanup = function(cameraSuccess, cam * * @type {Object.<string, Array.<Object>>} */ -org.apache.cordova.camera.Camera.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'Camera', qName: 'org.apache.cordova.camera.Camera'}] +org_apache_cordova_camera_Camera.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'Camera', qName: 'org_apache_cordova_camera_Camera'}] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js index 68962ac..aea3087 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js @@ -12,14 +12,14 @@ * limitations under the License. */ -goog.provide('org.apache.flex.binding.BindingBase'); +goog.provide('org_apache_flex_binding_BindingBase'); /** * @constructor */ -org.apache.flex.binding.BindingBase = function() { +org_apache_flex_binding_BindingBase = function() { }; @@ -28,58 +28,58 @@ org.apache.flex.binding.BindingBase = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.binding.BindingBase.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_binding_BindingBase.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'BindingBase', - qName: 'org.apache.flex.binding.BindingBase'}] }; + qName: 'org_apache_flex_binding_BindingBase'}] }; /** * @protected * @type {Object} */ -org.apache.flex.binding.BindingBase.prototype.document = null; +org_apache_flex_binding_BindingBase.prototype.document = null; /** * @expose * @type {Object} */ -org.apache.flex.binding.BindingBase.prototype.destination = null; +org_apache_flex_binding_BindingBase.prototype.destination = null; /** * @expose * @type {string} */ -org.apache.flex.binding.BindingBase.prototype.destinationPropertyName = ''; +org_apache_flex_binding_BindingBase.prototype.destinationPropertyName = ''; /** * @expose * @type {Object} */ -org.apache.flex.binding.BindingBase.prototype.source = null; +org_apache_flex_binding_BindingBase.prototype.source = null; /** * @expose * @type {string} */ -org.apache.flex.binding.BindingBase.prototype.sourcePropertyName = ''; +org_apache_flex_binding_BindingBase.prototype.sourcePropertyName = ''; /** * @expose * @type {?string} */ -org.apache.flex.binding.BindingBase.prototype.sourceID = null; +org_apache_flex_binding_BindingBase.prototype.sourceID = null; /** * @expose * @param {Object} value The strand (owner) of the bead. */ -org.apache.flex.binding.BindingBase.prototype.set_strand = function(value) { +org_apache_flex_binding_BindingBase.prototype.set_strand = function(value) { if (this.destination == null) this.destination = value; if (this.sourceID != null) { @@ -102,7 +102,7 @@ org.apache.flex.binding.BindingBase.prototype.set_strand = function(value) { * @expose * @param {Object} document The MXML object. */ -org.apache.flex.binding.BindingBase.prototype.setDocument = function(document) { +org_apache_flex_binding_BindingBase.prototype.setDocument = function(document) { this.document = document; }; @@ -110,7 +110,7 @@ org.apache.flex.binding.BindingBase.prototype.setDocument = function(document) { /** * @param {Object} event The event. */ -org.apache.flex.binding.BindingBase.prototype.sourceChangeHandler = function(event) { +org_apache_flex_binding_BindingBase.prototype.sourceChangeHandler = function(event) { if (event.propertyName != this.sourceID) return; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js index 7e2806f..3730dbf 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js @@ -12,15 +12,15 @@ * limitations under the License. */ -goog.provide('org.apache.flex.binding.ChainBinding'); -goog.provide('org.apache.flex.binding.ChainWatcher'); +goog.provide('org_apache_flex_binding_ChainBinding'); +goog.provide('org_apache_flex_binding_ChainWatcher'); /** * @constructor */ -org.apache.flex.binding.ChainBinding = function() { +org_apache_flex_binding_ChainBinding = function() { }; @@ -29,51 +29,51 @@ org.apache.flex.binding.ChainBinding = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.binding.ChainBinding.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_binding_ChainBinding.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ChainBinding', - qName: 'org.apache.flex.binding.ChainBinding'}] }; + qName: 'org_apache_flex_binding_ChainBinding'}] }; /** * @protected * @type {Object} */ -org.apache.flex.binding.ChainBinding.prototype.document = null; +org_apache_flex_binding_ChainBinding.prototype.document = null; /** * @expose * @type {Object} */ -org.apache.flex.binding.ChainBinding.prototype.destination = null; +org_apache_flex_binding_ChainBinding.prototype.destination = null; /** * @expose * @type {Object} */ -org.apache.flex.binding.ChainBinding.prototype.value = null; +org_apache_flex_binding_ChainBinding.prototype.value = null; /** * @expose * @type {Object} */ -org.apache.flex.binding.ChainBinding.prototype.source = null; +org_apache_flex_binding_ChainBinding.prototype.source = null; /** * @expose * @param {Object} value The strand (owner) of the bead. */ -org.apache.flex.binding.ChainBinding.prototype.set_strand = function(value) { +org_apache_flex_binding_ChainBinding.prototype.set_strand = function(value) { this.applyBinding(); }; /** */ -org.apache.flex.binding.ChainBinding.prototype.applyBinding = function() { +org_apache_flex_binding_ChainBinding.prototype.applyBinding = function() { var chainSet = this.evaluateSourceChain(); if (chainSet) this.applyValue(); @@ -83,7 +83,7 @@ org.apache.flex.binding.ChainBinding.prototype.applyBinding = function() { /** * @return {boolean} True if chain complete. */ -org.apache.flex.binding.ChainBinding.prototype.evaluateSourceChain = function() { +org_apache_flex_binding_ChainBinding.prototype.evaluateSourceChain = function() { var propName; var n = this.source.length; var obj = this.document; @@ -94,7 +94,7 @@ org.apache.flex.binding.ChainBinding.prototype.evaluateSourceChain = function() propObj = obj['get_' + propName](); else propObj = obj[propName]; - var watcher = new org.apache.flex.binding.ChainWatcher(propName, this.applyBinding); + var watcher = new org_apache_flex_binding_ChainWatcher(propName, this.applyBinding); obj.addEventListener('valueChange', watcher.handler); if (propObj == null) return false; @@ -121,7 +121,7 @@ org.apache.flex.binding.ChainBinding.prototype.evaluateSourceChain = function() /** */ -org.apache.flex.binding.ChainBinding.prototype.applyValue = function() { +org_apache_flex_binding_ChainBinding.prototype.applyValue = function() { var destinationName, n, obj, self; function handler(event) { if (event.propertyName != propName) @@ -166,7 +166,7 @@ org.apache.flex.binding.ChainBinding.prototype.applyValue = function() { * @expose * @param {Object} document The MXML object. */ -org.apache.flex.binding.ChainBinding.prototype.setDocument = function(document) { +org_apache_flex_binding_ChainBinding.prototype.setDocument = function(document) { this.document = document; }; @@ -177,7 +177,7 @@ org.apache.flex.binding.ChainBinding.prototype.setDocument = function(document) * @param {string} propName The name of the property to watch. * @param {function()} cb The callback function. */ -org.apache.flex.binding.ChainWatcher = function(propName, cb) { +org_apache_flex_binding_ChainWatcher = function(propName, cb) { this.propertyName = propName; this.callback = cb; }; @@ -188,30 +188,30 @@ org.apache.flex.binding.ChainWatcher = function(propName, cb) { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.binding.ChainWatcher.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_binding_ChainWatcher.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ChainWatcher', - qName: 'org.apache.flex.binding.ChainWatcher'}] }; + qName: 'org_apache_flex_binding_ChainWatcher'}] }; /** * @protected * @type {string} */ -org.apache.flex.binding.ChainWatcher.prototype.propertyName = ''; +org_apache_flex_binding_ChainWatcher.prototype.propertyName = ''; /** * @protected * @type {?function()} */ -org.apache.flex.binding.ChainWatcher.prototype.callback = null; +org_apache_flex_binding_ChainWatcher.prototype.callback = null; /** * @expose * @param {Object} event The event object. */ -org.apache.flex.binding.ChainWatcher.prototype.handler = function(event) { +org_apache_flex_binding_ChainWatcher.prototype.handler = function(event) { if (event.propertyName != this.propertyName) return; if (event.oldValue != null) http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js index d70a374..a4bb0c5 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js @@ -12,21 +12,21 @@ * limitations under the License. */ -goog.provide('org.apache.flex.binding.ConstantBinding'); +goog.provide('org_apache_flex_binding_ConstantBinding'); -goog.require('org.apache.flex.binding.BindingBase'); +goog.require('org_apache_flex_binding_BindingBase'); /** * @constructor - * @extends {org.apache.flex.binding.BindingBase} + * @extends {org_apache_flex_binding_BindingBase} */ -org.apache.flex.binding.ConstantBinding = function() { - org.apache.flex.binding.ConstantBinding.base(this, 'constructor'); +org_apache_flex_binding_ConstantBinding = function() { + org_apache_flex_binding_ConstantBinding.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.binding.ConstantBinding, - org.apache.flex.binding.BindingBase); +goog.inherits(org_apache_flex_binding_ConstantBinding, + org_apache_flex_binding_BindingBase); /** @@ -34,17 +34,17 @@ goog.inherits(org.apache.flex.binding.ConstantBinding, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.binding.ConstantBinding.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_binding_ConstantBinding.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ConstantBinding', - qName: 'org.apache.flex.binding.ConstantBinding'}] }; + qName: 'org_apache_flex_binding_ConstantBinding'}] }; /** * @override * @param {Object} value The strand (owner) of the bead. */ -org.apache.flex.binding.ConstantBinding.prototype.set_strand = function(value) { - org.apache.flex.binding.ConstantBinding.base(this, 'set_strand', value); +org_apache_flex_binding_ConstantBinding.prototype.set_strand = function(value) { + org_apache_flex_binding_ConstantBinding.base(this, 'set_strand', value); var val; try { http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js index b52944a..2fd6373 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js @@ -12,22 +12,22 @@ * limitations under the License. */ -goog.provide('org.apache.flex.binding.GenericBinding'); +goog.provide('org_apache_flex_binding_GenericBinding'); -goog.require('org.apache.flex.binding.BindingBase'); -goog.require('org.apache.flex.events.ValueChangeEvent'); +goog.require('org_apache_flex_binding_BindingBase'); +goog.require('org_apache_flex_events_ValueChangeEvent'); /** * @constructor - * @extends {org.apache.flex.binding.BindingBase} + * @extends {org_apache_flex_binding_BindingBase} */ -org.apache.flex.binding.GenericBinding = function() { - org.apache.flex.binding.GenericBinding.base(this, 'constructor'); +org_apache_flex_binding_GenericBinding = function() { + org_apache_flex_binding_GenericBinding.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.binding.GenericBinding, - org.apache.flex.binding.BindingBase); +goog.inherits(org_apache_flex_binding_GenericBinding, + org_apache_flex_binding_BindingBase); /** @@ -35,30 +35,30 @@ goog.inherits(org.apache.flex.binding.GenericBinding, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.binding.GenericBinding.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_binding_GenericBinding.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'GenericBinding', - qName: 'org.apache.flex.binding.GenericBinding'}] }; + qName: 'org_apache_flex_binding_GenericBinding'}] }; /** * @expose * @type {Object} */ -org.apache.flex.binding.GenericBinding.prototype.destinationData = null; +org_apache_flex_binding_GenericBinding.prototype.destinationData = null; /** * @expose * @type {?function(?): ?} */ -org.apache.flex.binding.GenericBinding.prototype.destinationFunction = null; +org_apache_flex_binding_GenericBinding.prototype.destinationFunction = null; /** * @expose * @param {Object} value The strand (owner) of the bead. */ -org.apache.flex.binding.GenericBinding.prototype.set_strand = +org_apache_flex_binding_GenericBinding.prototype.set_strand = function(value) { this.destination = value; @@ -74,7 +74,7 @@ org.apache.flex.binding.GenericBinding.prototype.set_strand = * @expose * @return {Object} The value from the source as specified. */ -org.apache.flex.binding.GenericBinding.prototype.getValueFromSource = +org_apache_flex_binding_GenericBinding.prototype.getValueFromSource = function() { var obj; if (typeof(this.source) == 'object' && @@ -112,7 +112,7 @@ org.apache.flex.binding.GenericBinding.prototype.getValueFromSource = * @expose * @param {Object} value The value from the source as specified. */ -org.apache.flex.binding.GenericBinding.prototype.applyValue = +org_apache_flex_binding_GenericBinding.prototype.applyValue = function(value) { if (this.destinationFunction != null) { @@ -130,7 +130,7 @@ org.apache.flex.binding.GenericBinding.prototype.applyValue = obj = this.document[arr[0]]; if (obj == null) { this.document.addEventListener( - org.apache.flex.events.ValueChangeEvent.VALUE_CHANGE, + org_apache_flex_events_ValueChangeEvent.VALUE_CHANGE, goog.bind(this.destinationChangeHandler, this)); return; } @@ -157,7 +157,7 @@ org.apache.flex.binding.GenericBinding.prototype.applyValue = * @expose * @param {Object} value The value from the source as specified. */ -org.apache.flex.binding.GenericBinding.prototype.valueChanged = +org_apache_flex_binding_GenericBinding.prototype.valueChanged = function(value) { try { @@ -172,7 +172,7 @@ org.apache.flex.binding.GenericBinding.prototype.valueChanged = * @expose * @param {Object} event The change event. */ -org.apache.flex.binding.GenericBinding.prototype.destinationChangeHandler = +org_apache_flex_binding_GenericBinding.prototype.destinationChangeHandler = function(event) { if (event.propertyName == this.destinationData[0]) this.valueChanged(null); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js index b8ced05..685a40e 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js @@ -12,31 +12,31 @@ * limitations under the License. */ -goog.provide('org.apache.flex.binding.PropertyWatcher'); +goog.provide('org_apache_flex_binding_PropertyWatcher'); -goog.require('org.apache.flex.binding.WatcherBase'); +goog.require('org_apache_flex_binding_WatcherBase'); /** * @constructor - * @extends {org.apache.flex.binding.WatcherBase} + * @extends {org_apache_flex_binding_WatcherBase} * @param {Object} source The source object. * @param {string} propertyName The property in the source. * @param {Object} eventNames An array of event names or an event name. * @param {function(?): ?} getterFunction A function to get the source property. */ -org.apache.flex.binding.PropertyWatcher = +org_apache_flex_binding_PropertyWatcher = function(source, propertyName, eventNames, getterFunction) { - org.apache.flex.binding.PropertyWatcher.base(this, 'constructor'); + org_apache_flex_binding_PropertyWatcher.base(this, 'constructor'); this.source = source; this.propertyName = propertyName; this.getterFunction = getterFunction; this.eventNames = eventNames; }; -goog.inherits(org.apache.flex.binding.PropertyWatcher, - org.apache.flex.binding.WatcherBase); +goog.inherits(org_apache_flex_binding_PropertyWatcher, + org_apache_flex_binding_WatcherBase); /** @@ -44,40 +44,40 @@ goog.inherits(org.apache.flex.binding.PropertyWatcher, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.binding.PropertyWatcher.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_binding_PropertyWatcher.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'PropertyWatcher', - qName: 'org.apache.flex.binding.PropertyWatcher'}] }; + qName: 'org_apache_flex_binding_PropertyWatcher'}] }; /** * @type {Object} */ -org.apache.flex.binding.PropertyWatcher.prototype.source = null; +org_apache_flex_binding_PropertyWatcher.prototype.source = null; /** * @type {?string} */ -org.apache.flex.binding.PropertyWatcher.prototype.propertyName = null; +org_apache_flex_binding_PropertyWatcher.prototype.propertyName = null; /** * @type {Object} */ -org.apache.flex.binding.PropertyWatcher.prototype.eventNames = null; +org_apache_flex_binding_PropertyWatcher.prototype.eventNames = null; /** * @type {?function(?): ?} */ -org.apache.flex.binding.PropertyWatcher.prototype.getterFunction = null; +org_apache_flex_binding_PropertyWatcher.prototype.getterFunction = null; /** * @protected * @param {Object} event The event. */ -org.apache.flex.binding.PropertyWatcher.prototype.changeHandler = +org_apache_flex_binding_PropertyWatcher.prototype.changeHandler = function(event) { if (typeof(event.propertyName) == 'string') { @@ -98,7 +98,7 @@ org.apache.flex.binding.PropertyWatcher.prototype.changeHandler = * @expose * @param {Object} parent The new parent watcher. */ -org.apache.flex.binding.PropertyWatcher.prototype.parentChanged = +org_apache_flex_binding_PropertyWatcher.prototype.parentChanged = function(parent) { if (this.source && @@ -118,7 +118,7 @@ org.apache.flex.binding.PropertyWatcher.prototype.parentChanged = /** * @protected */ -org.apache.flex.binding.PropertyWatcher.prototype.addEventListeners = +org_apache_flex_binding_PropertyWatcher.prototype.addEventListeners = function() { if (typeof(this.eventNames) == 'string') this.source.addEventListener(this.eventNames, @@ -140,7 +140,7 @@ org.apache.flex.binding.PropertyWatcher.prototype.addEventListeners = /** * @protected */ -org.apache.flex.binding.PropertyWatcher.prototype.removeEventListeners = +org_apache_flex_binding_PropertyWatcher.prototype.removeEventListeners = function() { if (typeof(this.eventNames) == 'string') this.source.removeEventListener(this.eventNames, @@ -164,7 +164,7 @@ org.apache.flex.binding.PropertyWatcher.prototype.removeEventListeners = * Gets the actual property then updates * the Watcher's children appropriately. */ -org.apache.flex.binding.PropertyWatcher.prototype.updateProperty = +org_apache_flex_binding_PropertyWatcher.prototype.updateProperty = function() { if (this.source) http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js index d19c4fc..f1b16e4 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js @@ -12,21 +12,21 @@ * limitations under the License. */ -goog.provide('org.apache.flex.binding.SimpleBinding'); +goog.provide('org_apache_flex_binding_SimpleBinding'); -goog.require('org.apache.flex.binding.BindingBase'); +goog.require('org_apache_flex_binding_BindingBase'); /** * @constructor - * @extends {org.apache.flex.binding.BindingBase} + * @extends {org_apache_flex_binding_BindingBase} */ -org.apache.flex.binding.SimpleBinding = function() { - org.apache.flex.binding.SimpleBinding.base(this, 'constructor'); +org_apache_flex_binding_SimpleBinding = function() { + org_apache_flex_binding_SimpleBinding.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.binding.SimpleBinding, - org.apache.flex.binding.BindingBase); +goog.inherits(org_apache_flex_binding_SimpleBinding, + org_apache_flex_binding_BindingBase); /** @@ -34,22 +34,22 @@ goog.inherits(org.apache.flex.binding.SimpleBinding, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.binding.SimpleBinding.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_binding_SimpleBinding.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SimpleBinding', - qName: 'org.apache.flex.binding.SimpleBinding'}] }; + qName: 'org_apache_flex_binding_SimpleBinding'}] }; /** * @expose * @type {string} */ -org.apache.flex.binding.SimpleBinding.prototype.eventName = ''; +org_apache_flex_binding_SimpleBinding.prototype.eventName = ''; /** * @expose */ -org.apache.flex.binding.SimpleBinding.prototype.changeHandler = function() { +org_apache_flex_binding_SimpleBinding.prototype.changeHandler = function() { if (typeof(this.destination['set_' + this.destinationPropertyName]) === 'function') this.destination['set_' + this.destinationPropertyName]( this.source['get_' + this.sourcePropertyName]() @@ -64,8 +64,8 @@ org.apache.flex.binding.SimpleBinding.prototype.changeHandler = function() { /** * @override */ -org.apache.flex.binding.SimpleBinding.prototype.set_strand = function(value) { - org.apache.flex.binding.SimpleBinding.base(this, 'set_strand', value); +org_apache_flex_binding_SimpleBinding.prototype.set_strand = function(value) { + org_apache_flex_binding_SimpleBinding.base(this, 'set_strand', value); if (!this.source) return; @@ -80,11 +80,11 @@ org.apache.flex.binding.SimpleBinding.prototype.set_strand = function(value) { /** * @param {Object} event The event. */ -org.apache.flex.binding.SimpleBinding.prototype.sourceChangeHandler = function(event) { - org.apache.flex.binding.SimpleBinding.base(this, 'sourceChangeHandler', event); +org_apache_flex_binding_SimpleBinding.prototype.sourceChangeHandler = function(event) { + org_apache_flex_binding_SimpleBinding.base(this, 'sourceChangeHandler', event); if (this.source) { this.source.addEventListener(this.eventName, goog.bind(this.changeHandler, this)); this.changeHandler(); } -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js index cd2ec80..a7183a2 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js @@ -12,14 +12,14 @@ * limitations under the License. */ -goog.provide('org.apache.flex.binding.WatcherBase'); +goog.provide('org_apache_flex_binding_WatcherBase'); /** * @constructor */ -org.apache.flex.binding.WatcherBase = function() { +org_apache_flex_binding_WatcherBase = function() { /** * @protected @@ -42,9 +42,9 @@ org.apache.flex.binding.WatcherBase = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.binding.WatcherBase.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_binding_WatcherBase.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'WatcherBase', - qName: 'org.apache.flex.binding.WatcherBase'}] }; + qName: 'org_apache_flex_binding_WatcherBase'}] }; /** @@ -52,16 +52,16 @@ org.apache.flex.binding.WatcherBase.prototype.FLEXJS_CLASS_INFO = * @type {Object|number|string|boolean} * The value itself. */ -org.apache.flex.binding.WatcherBase.prototype.value = null; +org_apache_flex_binding_WatcherBase.prototype.value = null; /** * @expose * This is an abstract method that subclasses implement. - * @this {org.apache.flex.binding.WatcherBase} + * @this {org_apache_flex_binding_WatcherBase} * @param {Object} parent The new parent. */ -org.apache.flex.binding.WatcherBase.prototype.parentChanged = +org_apache_flex_binding_WatcherBase.prototype.parentChanged = function(parent) { }; @@ -70,10 +70,10 @@ org.apache.flex.binding.WatcherBase.prototype.parentChanged = * @expose * Add a child to this watcher, meaning that the child * is watching a sub value of ours. - * @this {org.apache.flex.binding.WatcherBase} + * @this {org_apache_flex_binding_WatcherBase} * @param {Object} child The new child. */ -org.apache.flex.binding.WatcherBase.prototype.addChild = +org_apache_flex_binding_WatcherBase.prototype.addChild = function(child) { if (!this.children) this.children = [child]; @@ -88,10 +88,10 @@ org.apache.flex.binding.WatcherBase.prototype.addChild = * @expose * Add a binding to this watcher, meaning that the binding * is notified when our value changes. - * @this {org.apache.flex.binding.WatcherBase} + * @this {org_apache_flex_binding_WatcherBase} * @param {Object} binding The new binding. */ -org.apache.flex.binding.WatcherBase.prototype.addBinding = +org_apache_flex_binding_WatcherBase.prototype.addBinding = function(binding) { if (!this.listeners) this.listeners = [binding]; @@ -104,11 +104,11 @@ org.apache.flex.binding.WatcherBase.prototype.addBinding = /** * @expose - * @this {org.apache.flex.binding.WatcherBase} + * @this {org_apache_flex_binding_WatcherBase} * We have probably changed, so go through * and make sure our children are updated. */ -org.apache.flex.binding.WatcherBase.prototype.updateChildren = function() { +org_apache_flex_binding_WatcherBase.prototype.updateChildren = function() { if (this.children) { var n = this.children.length; @@ -122,11 +122,11 @@ org.apache.flex.binding.WatcherBase.prototype.updateChildren = function() { /** * @protected - * @this {org.apache.flex.binding.WatcherBase} + * @this {org_apache_flex_binding_WatcherBase} * @param {Object} oldValue The prior value. * @return {boolean} True if value changed. */ -org.apache.flex.binding.WatcherBase.prototype.valueChanged = +org_apache_flex_binding_WatcherBase.prototype.valueChanged = function(oldValue) { if (oldValue == null && this.value == null) @@ -169,10 +169,10 @@ org.apache.flex.binding.WatcherBase.prototype.valueChanged = /** * @protected - * @this {org.apache.flex.binding.WatcherBase} + * @this {org_apache_flex_binding_WatcherBase} * @param {function(?): ?} wrappedFunction The function to call. */ -org.apache.flex.binding.WatcherBase.prototype.wrapUpdate = +org_apache_flex_binding_WatcherBase.prototype.wrapUpdate = function(wrappedFunction) { try { @@ -180,11 +180,11 @@ org.apache.flex.binding.WatcherBase.prototype.wrapUpdate = } catch (error) { - var staticClass = org.apache.flex.binding.WatcherBase; + var staticClass = org_apache_flex_binding_WatcherBase; var n = staticClass.allowedErrorTypes.length; for (var i = 0; i < n; i++) { - if (org.apache.flex.utils.Language.is(error, staticClass.allowedErrorTypes[i].type)) + if (org_apache_flex_utils_Language.is(error, staticClass.allowedErrorTypes[i].type)) { var handler = staticClass.allowedErrorTypes[i].handler; if (handler != null) @@ -204,7 +204,7 @@ org.apache.flex.binding.WatcherBase.prototype.wrapUpdate = /** * Certain errors are normal when executing an update, so we swallow them: */ -org.apache.flex.binding.WatcherBase.allowedErrors = [ +org_apache_flex_binding_WatcherBase.allowedErrors = [ 1006, // Error #1006: Call attempted on an object // that is not a function. 1009, // Error #1009: null has no properties. @@ -220,7 +220,7 @@ org.apache.flex.binding.WatcherBase.allowedErrors = [ * Certain types of errors are normal when executing an update, * so we custom handle them or swallow them: */ -org.apache.flex.binding.WatcherBase.allowedErrorTypes = [ +org_apache_flex_binding_WatcherBase.allowedErrorTypes = [ { type: RangeError /*, handler: function(w:WatcherBase, wrappedFunction:Function):Object { return null }*/ @@ -230,9 +230,9 @@ org.apache.flex.binding.WatcherBase.allowedErrorTypes = [ /** * @protected - * @this {org.apache.flex.binding.WatcherBase} + * @this {org_apache_flex_binding_WatcherBase} */ -org.apache.flex.binding.WatcherBase.prototype.notifyListeners = function() +org_apache_flex_binding_WatcherBase.prototype.notifyListeners = function() { if (this.listeners) { http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js index 854b055..b048c85 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js @@ -11,34 +11,34 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * org.apache.flex.charts.core.IChart + * org_apache_flex_charts_core_IChart * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.flex.charts.core.ChartBase'); +goog.provide('org_apache_flex_charts_core_ChartBase'); -goog.require('org.apache.flex.charts.core.IChart'); -goog.require('org.apache.flex.events.Event'); -goog.require('org.apache.flex.html.List'); +goog.require('org_apache_flex_charts_core_IChart'); +goog.require('org_apache_flex_events_Event'); +goog.require('org_apache_flex_html_List'); /** * @constructor - * @extends {org.apache.flex.html.List} - * @implements {org.apache.flex.charts.core.IChart} + * @extends {org_apache_flex_html_List} + * @implements {org_apache_flex_charts_core_IChart} */ -org.apache.flex.charts.core.ChartBase = +org_apache_flex_charts_core_ChartBase = function() { - org.apache.flex.charts.core.ChartBase.base(this, 'constructor'); + org_apache_flex_charts_core_ChartBase.base(this, 'constructor'); this.className = 'ChartBase'; }; goog.inherits( - org.apache.flex.charts.core.ChartBase, - org.apache.flex.html.List); + org_apache_flex_charts_core_ChartBase, + org_apache_flex_html_List); /** @@ -46,16 +46,16 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.charts.core.ChartBase.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'ChartBase', qName: 'org.apache.flex.charts.core.ChartBase'}] +org_apache_flex_charts_core_ChartBase.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'ChartBase', qName: 'org_apache_flex_charts_core_ChartBase'}] }; /** * @override */ -org.apache.flex.charts.core.ChartBase.prototype.createElement = function() { - org.apache.flex.charts.core.ChartBase.base(this, 'createElement'); +org_apache_flex_charts_core_ChartBase.prototype.createElement = function() { + org_apache_flex_charts_core_ChartBase.base(this, 'createElement'); this.element.style.border = 'none'; this.element.style.overflow = 'visible'; return this.element; @@ -66,14 +66,14 @@ org.apache.flex.charts.core.ChartBase.prototype.createElement = function() { * @private * @type {Array} */ -org.apache.flex.charts.core.ChartBase.prototype.series_ = null; +org_apache_flex_charts_core_ChartBase.prototype.series_ = null; /** * @expose * @return {Array} The series for the chart. */ -org.apache.flex.charts.core.ChartBase.prototype.get_series = function() { +org_apache_flex_charts_core_ChartBase.prototype.get_series = function() { return this.series_; }; @@ -82,7 +82,7 @@ org.apache.flex.charts.core.ChartBase.prototype.get_series = function() { * @expose * @param {Array} value The series for the chart. */ -org.apache.flex.charts.core.ChartBase.prototype.set_series = function(value) { +org_apache_flex_charts_core_ChartBase.prototype.set_series = function(value) { this.series_ = value; - this.dispatchEvent(new org.apache.flex.events.Event('seriesChanged')); + this.dispatchEvent(new org_apache_flex_events_Event('seriesChanged')); }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisBead.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisBead.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisBead.js index 25d1c3c..6af847a 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisBead.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisBead.js @@ -11,61 +11,61 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * org.apache.flex.charts.core.IAxisBead + * org_apache_flex_charts_core_IAxisBead * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.flex.charts.core.IAxisBead'); +goog.provide('org_apache_flex_charts_core_IAxisBead'); -goog.require('org.apache.flex.core.IBead'); +goog.require('org_apache_flex_core_IBead'); /** * @interface - * @extends {org.apache.flex.core.IBead} + * @extends {org_apache_flex_core_IBead} */ -org.apache.flex.charts.core.IAxisBead = function() { +org_apache_flex_charts_core_IAxisBead = function() { }; /** * @return {string} */ -org.apache.flex.charts.core.IAxisBead.prototype.get_placement = function() {}; +org_apache_flex_charts_core_IAxisBead.prototype.get_placement = function() {}; /** * @param {string} value */ -org.apache.flex.charts.core.IAxisBead.prototype.set_placement = function(value) {}; +org_apache_flex_charts_core_IAxisBead.prototype.set_placement = function(value) {}; /** * @return {Object} */ -org.apache.flex.charts.core.IAxisBead.prototype.get_axisStroke = function() {}; +org_apache_flex_charts_core_IAxisBead.prototype.get_axisStroke = function() {}; /** * @param {Object} value */ -org.apache.flex.charts.core.IAxisBead.prototype.set_axisStroke = function(value) {}; +org_apache_flex_charts_core_IAxisBead.prototype.set_axisStroke = function(value) {}; /** * @return {Object} */ -org.apache.flex.charts.core.IAxisBead.prototype.get_tickStroke = function() {}; +org_apache_flex_charts_core_IAxisBead.prototype.get_tickStroke = function() {}; /** * @param {Object} value */ -org.apache.flex.charts.core.IAxisBead.prototype.set_tickStroke = function(value) {}; +org_apache_flex_charts_core_IAxisBead.prototype.set_tickStroke = function(value) {}; /** @@ -73,7 +73,7 @@ org.apache.flex.charts.core.IAxisBead.prototype.set_tickStroke = function(value) * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.charts.core.IAxisBead.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'IAxisBead', qName: 'org.apache.flex.charts.core.IAxisBead'}], - interfaces: [org.apache.flex.core.IBead] +org_apache_flex_charts_core_IAxisBead.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'IAxisBead', qName: 'org_apache_flex_charts_core_IAxisBead'}], + interfaces: [org_apache_flex_core_IBead] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisGroup.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisGroup.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisGroup.js index f0a5348..d7b826c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisGroup.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IAxisGroup.js @@ -11,28 +11,28 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * org.apache.flex.charts.core.IAxisGroup + * org_apache_flex_charts_core_IAxisGroup * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.flex.charts.core.IAxisGroup'); +goog.provide('org_apache_flex_charts_core_IAxisGroup'); /** * @interface */ -org.apache.flex.charts.core.IAxisGroup = function() { +org_apache_flex_charts_core_IAxisGroup = function() { }; /** * @return {void} */ -org.apache.flex.charts.core.IAxisGroup.prototype.removeAllElements = function() {}; +org_apache_flex_charts_core_IAxisGroup.prototype.removeAllElements = function() {}; /** @@ -40,6 +40,6 @@ org.apache.flex.charts.core.IAxisGroup.prototype.removeAllElements = function() * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.charts.core.IAxisGroup.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'IAxisGroup', qName: 'org.apache.flex.charts.core.IAxisGroup'}] +org_apache_flex_charts_core_IAxisGroup.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'IAxisGroup', qName: 'org_apache_flex_charts_core_IAxisGroup'}] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ICartesianChartLayout.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ICartesianChartLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ICartesianChartLayout.js index 09078a8..9acd74d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ICartesianChartLayout.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ICartesianChartLayout.js @@ -11,21 +11,21 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * org.apache.flex.charts.core.IChart + * org_apache_flex_charts_core_IChart * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.flex.charts.core.ICartesianChartLayout'); +goog.provide('org_apache_flex_charts_core_ICartesianChartLayout'); /** * @interface */ -org.apache.flex.charts.core.ICartesianChartLayout = function() { +org_apache_flex_charts_core_ICartesianChartLayout = function() { }; @@ -34,6 +34,6 @@ org.apache.flex.charts.core.ICartesianChartLayout = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.charts.core.ICartesianChartLayout.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'ICartesianChartLayout', qName: 'org.apache.flex.charts.core.ICartesianChartLayout'}] +org_apache_flex_charts_core_ICartesianChartLayout.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'ICartesianChartLayout', qName: 'org_apache_flex_charts_core_ICartesianChartLayout'}] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChart.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChart.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChart.js index 9e256ba..3a76657 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChart.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChart.js @@ -11,34 +11,34 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * org.apache.flex.charts.core.IChart + * org_apache_flex_charts_core_IChart * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.flex.charts.core.IChart'); +goog.provide('org_apache_flex_charts_core_IChart'); /** * @interface */ -org.apache.flex.charts.core.IChart = function() { +org_apache_flex_charts_core_IChart = function() { }; /** * @return {Array} */ -org.apache.flex.charts.core.IChart.prototype.get_series = function() {}; +org_apache_flex_charts_core_IChart.prototype.get_series = function() {}; /** * @param {Array} value */ -org.apache.flex.charts.core.IChart.prototype.set_series = function(value) {}; +org_apache_flex_charts_core_IChart.prototype.set_series = function(value) {}; /** @@ -46,6 +46,6 @@ org.apache.flex.charts.core.IChart.prototype.set_series = function(value) {}; * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.charts.core.IChart.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'IChart', qName: 'org.apache.flex.charts.core.IChart'}] +org_apache_flex_charts_core_IChart.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'IChart', qName: 'org_apache_flex_charts_core_IChart'}] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartAxis.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartAxis.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartAxis.js index bc572c1..386fa6f 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartAxis.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartAxis.js @@ -11,21 +11,21 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * org.apache.flex.charts.core.IChartAxis + * org_apache_flex_charts_core_IChartAxis * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.flex.charts.core.IChartAxis'); +goog.provide('org_apache_flex_charts_core_IChartAxis'); /** * @interface */ -org.apache.flex.charts.core.IChartAxis = function() { +org_apache_flex_charts_core_IChartAxis = function() { }; @@ -34,6 +34,6 @@ org.apache.flex.charts.core.IChartAxis = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.charts.core.IChartAxis.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'IChartAxis', qName: 'org.apache.flex.charts.core.IChartAxis'}] +org_apache_flex_charts_core_IChartAxis.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'IChartAxis', qName: 'org_apache_flex_charts_core_IChartAxis'}] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartDataGroup.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartDataGroup.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartDataGroup.js index bc2a90d..22c4d76 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartDataGroup.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartDataGroup.js @@ -11,25 +11,25 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * org.apache.flex.charts.core.IChartDataGroup + * org_apache_flex_charts_core_IChartDataGroup * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.flex.charts.core.IChartDataGroup'); +goog.provide('org_apache_flex_charts_core_IChartDataGroup'); -goog.require('mx.core.IFactory'); -goog.require('org.apache.flex.core.IItemRendererParent'); +goog.require('mx_core_IFactory'); +goog.require('org_apache_flex_core_IItemRendererParent'); /** * @interface - * @extends {org.apache.flex.core.IItemRendererParent} + * @extends {org_apache_flex_core_IItemRendererParent} */ -org.apache.flex.charts.core.IChartDataGroup = function() { +org_apache_flex_charts_core_IChartDataGroup = function() { }; @@ -38,7 +38,7 @@ org.apache.flex.charts.core.IChartDataGroup = function() { * @param {number} index The position of the itemRenderer within the series. * @return {Object} The itemRenderer matching the series and index. */ -org.apache.flex.charts.core.IChartDataGroup.prototype.getItemRendererForSeriesAtIndex = +org_apache_flex_charts_core_IChartDataGroup.prototype.getItemRendererForSeriesAtIndex = function(series, index) {}; @@ -47,7 +47,7 @@ org.apache.flex.charts.core.IChartDataGroup.prototype.getItemRendererForSeriesAt * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.charts.core.IChartDataGroup.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'IChartDataGroup', qName: 'org.apache.flex.charts.core.IChartDataGroup'}], - interfaces: [org.apache.flex.core.IItemRendererParent] +org_apache_flex_charts_core_IChartDataGroup.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'IChartDataGroup', qName: 'org_apache_flex_charts_core_IChartDataGroup'}], + interfaces: [org_apache_flex_core_IItemRendererParent] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartItemRenderer.js index 7a589c4..7ffddcf 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/IChartItemRenderer.js @@ -11,85 +11,85 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * org.apache.flex.charts.core.IChartItemRenderer + * org_apache_flex_charts_core_IChartItemRenderer * * @fileoverview * * @suppress {checkTypes} */ -goog.provide('org.apache.flex.charts.core.IChartItemRenderer'); +goog.provide('org_apache_flex_charts_core_IChartItemRenderer'); -goog.require('org.apache.flex.core.IItemRenderer'); +goog.require('org_apache_flex_core_IItemRenderer'); /** * @interface - * @extends {org.apache.flex.core.IItemRenderer} + * @extends {org_apache_flex_core_IItemRenderer} */ -org.apache.flex.charts.core.IChartItemRenderer = function() { +org_apache_flex_charts_core_IChartItemRenderer = function() { }; /** * @return {string} */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.get_xField = function() {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.get_xField = function() {}; /** * @param {string} value */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.set_xField = function(value) {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.set_xField = function(value) {}; /** * @return {string} */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.get_yField = function() {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.get_yField = function() {}; /** * @param {string} value */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.set_yField = function(value) {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.set_yField = function(value) {}; /** * @return {number} */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.get_fillColor = function() {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.get_fillColor = function() {}; /** * @param {number} value */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.set_fillColor = function(value) {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.set_fillColor = function(value) {}; /** * @param {number} value */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.set_x = function(value) {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.set_x = function(value) {}; /** * @param {number} value */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.set_y = function(value) {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.set_y = function(value) {}; /** * @param {number} value */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.set_width = function(value) {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.set_width = function(value) {}; /** * @param {number} value */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.set_height = function(value) {}; +org_apache_flex_charts_core_IChartItemRenderer.prototype.set_height = function(value) {}; /** @@ -97,7 +97,7 @@ org.apache.flex.charts.core.IChartItemRenderer.prototype.set_height = function(v * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.charts.core.IChartItemRenderer.prototype.FLEXJS_CLASS_INFO = { - names: [{ name: 'IChartItemRenderer', qName: 'org.apache.flex.charts.core.IChartItemRenderer'}], - interfaces: [org.apache.flex.core.IItemRenderer] +org_apache_flex_charts_core_IChartItemRenderer.prototype.FLEXJS_CLASS_INFO = { + names: [{ name: 'IChartItemRenderer', qName: 'org_apache_flex_charts_core_IChartItemRenderer'}], + interfaces: [org_apache_flex_core_IItemRenderer] };
