http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js index ea857a7..a3d7c9e 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js @@ -12,18 +12,18 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.beads.models.RangeModel'); +goog.provide('org_apache_flex_html_beads_models_RangeModel'); -goog.require('org.apache.flex.events.EventDispatcher'); +goog.require('org_apache_flex_events_EventDispatcher'); /** * @constructor - * @extends {org.apache.flex.events.EventDispatcher} + * @extends {org_apache_flex_events_EventDispatcher} */ -org.apache.flex.html.beads.models.RangeModel = function() { - org.apache.flex.html.beads.models.RangeModel.base(this, 'constructor'); +org_apache_flex_html_beads_models_RangeModel = function() { + org_apache_flex_html_beads_models_RangeModel.base(this, 'constructor'); this.minimum_ = 0; this.maximum_ = 100; @@ -31,8 +31,8 @@ org.apache.flex.html.beads.models.RangeModel = function() { this.snapInterval_ = 1; this.stepSize_ = 1; }; -goog.inherits(org.apache.flex.html.beads.models.RangeModel, - org.apache.flex.events.EventDispatcher); +goog.inherits(org_apache_flex_html_beads_models_RangeModel, + org_apache_flex_events_EventDispatcher); /** @@ -40,16 +40,16 @@ goog.inherits(org.apache.flex.html.beads.models.RangeModel, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.models.RangeModel.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_beads_models_RangeModel.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'RangeModel', - qName: 'org.apache.flex.html.beads.models.RangeModel'}] }; + qName: 'org_apache_flex_html_beads_models_RangeModel'}] }; /** * @expose * @param {Object} value The strand. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. set_strand = function(value) { this.strand_ = value; }; @@ -59,7 +59,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @return {number} The current minimum value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. get_minimum = function() { return this.minimum_; }; @@ -69,7 +69,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @param {number} value The new minimum value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. set_minimum = function(value) { if (this.minimum_ != value) { this.minimum_ = value; @@ -82,7 +82,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @return {number} The current maximu value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. get_maximum = function() { return this.maximum_; }; @@ -92,7 +92,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @param {number} value The new maximum value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. set_maximum = function(value) { if (this.maximum_ != value) { this.maximum_ = value; @@ -105,7 +105,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @return {number} The current value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. get_value = function() { return this.value_; }; @@ -115,7 +115,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @param {number} newValue The new value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. set_value = function(newValue) { if (this.value_ != newValue) { @@ -135,7 +135,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @return {number} The current snapInterval value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. get_snapInterval = function() { return this.snapInterval_; }; @@ -145,7 +145,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @param {number} value The new snapInterval value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. set_snapInterval = function(value) { if (this.snapInterval_ != value) { this.snapInterval_ = value; @@ -158,7 +158,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @return {number} The current stepSize value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. get_stepSize = function() { return this.stepSize_; }; @@ -168,7 +168,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @expose * @param {number} value The new stepSize value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. set_stepSize = function(value) { if (this.stepSize_ != value) { this.stepSize_ = value; @@ -182,7 +182,7 @@ org.apache.flex.html.beads.models.RangeModel.prototype. * @param {number} value The candidate number. * @return {number} Adjusted value. */ -org.apache.flex.html.beads.models.RangeModel.prototype. +org_apache_flex_html_beads_models_RangeModel.prototype. snap = function(value) { var si = this.snapInterval_; var n = Math.round((value - this.minimum_) / si) *
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js index b6b829a..f16a286 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js @@ -12,26 +12,26 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.beads.models.TextModel'); +goog.provide('org_apache_flex_html_beads_models_TextModel'); -goog.require('org.apache.flex.core.ITextModel'); -goog.require('org.apache.flex.events.EventDispatcher'); +goog.require('org_apache_flex_core_ITextModel'); +goog.require('org_apache_flex_events_EventDispatcher'); /** * @constructor - * @extends {org.apache.flex.events.EventDispatcher} - * @implements {org.apache.flex.core.ITextModel} + * @extends {org_apache_flex_events_EventDispatcher} + * @implements {org_apache_flex_core_ITextModel} */ -org.apache.flex.html.beads.models.TextModel = +org_apache_flex_html_beads_models_TextModel = function() { - org.apache.flex.html.beads.models.TextModel.base(this, 'constructor'); + org_apache_flex_html_beads_models_TextModel.base(this, 'constructor'); this.className = 'TextModel'; }; goog.inherits( - org.apache.flex.html.beads.models.TextModel, - org.apache.flex.events.EventDispatcher); + org_apache_flex_html_beads_models_TextModel, + org_apache_flex_events_EventDispatcher); /** @@ -39,17 +39,17 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.models.TextModel.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_beads_models_TextModel.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'TextModel', - qName: 'org.apache.flex.html.beads.models.TextModel' }], - interfaces: [org.apache.flex.core.ITextModel] }; + qName: 'org_apache_flex_html_beads_models_TextModel' }], + interfaces: [org_apache_flex_core_ITextModel] }; /** * @expose * @param {Object} value The strand. */ -org.apache.flex.html.beads.models.TextModel.prototype. +org_apache_flex_html_beads_models_TextModel.prototype. set_strand = function(value) { this.strand_ = value; }; @@ -59,7 +59,7 @@ org.apache.flex.html.beads.models.TextModel.prototype. * @expose * @return {Object} value The text. */ -org.apache.flex.html.beads.models.TextModel.prototype. +org_apache_flex_html_beads_models_TextModel.prototype. get_text = function() { return this.text_; }; @@ -69,7 +69,7 @@ org.apache.flex.html.beads.models.TextModel.prototype. * @expose * @param {Object} value The text. */ -org.apache.flex.html.beads.models.TextModel.prototype. +org_apache_flex_html_beads_models_TextModel.prototype. set_text = function(value) { this.text_ = value; this.dispatchEvent('textChange'); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js index 5cfdc7b..95085e4 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js @@ -12,20 +12,20 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.beads.models.TitleBarModel'); +goog.provide('org_apache_flex_html_beads_models_TitleBarModel'); -goog.require('org.apache.flex.core.IBeadModel'); -goog.require('org.apache.flex.events.EventDispatcher'); +goog.require('org_apache_flex_core_IBeadModel'); +goog.require('org_apache_flex_events_EventDispatcher'); /** * @constructor - * @extends {org.apache.flex.events.EventDispatcher} - * @implements {org.apache.flex.core.IBeadModel} + * @extends {org_apache_flex_events_EventDispatcher} + * @implements {org_apache_flex_core_IBeadModel} */ -org.apache.flex.html.beads.models.TitleBarModel = function() { - org.apache.flex.html.beads.models.TitleBarModel.base(this, 'constructor'); +org_apache_flex_html_beads_models_TitleBarModel = function() { + org_apache_flex_html_beads_models_TitleBarModel.base(this, 'constructor'); /** * @private @@ -43,8 +43,8 @@ org.apache.flex.html.beads.models.TitleBarModel = function() { */ this.showCloseButton_ = false; }; -goog.inherits(org.apache.flex.html.beads.models.TitleBarModel, - org.apache.flex.events.EventDispatcher); +goog.inherits(org_apache_flex_html_beads_models_TitleBarModel, + org_apache_flex_events_EventDispatcher); /** @@ -52,10 +52,10 @@ goog.inherits(org.apache.flex.html.beads.models.TitleBarModel, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.models.TitleBarModel.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_beads_models_TitleBarModel.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'RangeModel', - qName: 'org.apache.flex.html.beads.models.TitleBarModel'}], - interfaces: [org.apache.flex.core.IBeadModel] + qName: 'org_apache_flex_html_beads_models_TitleBarModel'}], + interfaces: [org_apache_flex_core_IBeadModel] }; @@ -63,7 +63,7 @@ org.apache.flex.html.beads.models.TitleBarModel.prototype.FLEXJS_CLASS_INFO = * @expose * @param {Object} value The strand. */ -org.apache.flex.html.beads.models.TitleBarModel.prototype. +org_apache_flex_html_beads_models_TitleBarModel.prototype. set_strand = function(value) { this.strand_ = value; }; @@ -73,7 +73,7 @@ org.apache.flex.html.beads.models.TitleBarModel.prototype. * @expose * @return {string} The title. */ -org.apache.flex.html.beads.models.TitleBarModel.prototype. +org_apache_flex_html_beads_models_TitleBarModel.prototype. get_title = function() { return this.title_; }; @@ -83,7 +83,7 @@ org.apache.flex.html.beads.models.TitleBarModel.prototype. * @expose * @param {string} value The title to set. */ -org.apache.flex.html.beads.models.TitleBarModel.prototype. +org_apache_flex_html_beads_models_TitleBarModel.prototype. set_title = function(value) { if (this.title_ != value) { this.title_ = value; @@ -96,7 +96,7 @@ org.apache.flex.html.beads.models.TitleBarModel.prototype. * @expose * @return {string} The HTML title. */ -org.apache.flex.html.beads.models.TitleBarModel.prototype. +org_apache_flex_html_beads_models_TitleBarModel.prototype. get_htmlTitle = function() { return this.htmlTitle_; }; @@ -106,7 +106,7 @@ org.apache.flex.html.beads.models.TitleBarModel.prototype. * @expose * @param {string} value The new HTML title. */ -org.apache.flex.html.beads.models.TitleBarModel.prototype. +org_apache_flex_html_beads_models_TitleBarModel.prototype. set_htmlTitle = function(value) { if (this.htmlTitle_ != value) { this.htmlTitle_ = value; @@ -120,7 +120,7 @@ org.apache.flex.html.beads.models.TitleBarModel.prototype. * @return {boolean} Returns true if the close button should appear in * the TitleBar. */ -org.apache.flex.html.beads.models.TitleBarModel.prototype. +org_apache_flex_html_beads_models_TitleBarModel.prototype. get_showCloseButton = function() { return this.showCloseButton_; }; @@ -131,7 +131,7 @@ org.apache.flex.html.beads.models.TitleBarModel.prototype. * @param {boolean} value Determines if the close button shows (true) or * not (false). */ -org.apache.flex.html.beads.models.TitleBarModel.prototype. +org_apache_flex_html_beads_models_TitleBarModel.prototype. set_showCloseButton = function(value) { if (this.showCloseButton_ != value) { this.showCloseButton_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js index a40948b..38b707f 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js @@ -12,25 +12,24 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer'); +goog.provide('org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer'); -goog.require('org.apache.flex.html.beads.controllers.ItemRendererMouseController'); -goog.require('org.apache.flex.html.supportClasses.DataItemRenderer'); +goog.require('org_apache_flex_html_beads_controllers_ItemRendererMouseController'); +goog.require('org_apache_flex_html_supportClasses_DataItemRenderer'); /** * @constructor - * @extends {org.apache.flex.html.supportClasses.DataItemRenderer} + * @extends {org_apache_flex_html_supportClasses_DataItemRenderer} */ -org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer = +org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer = function() { - org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer.base(this, 'constructor'); + org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer.base(this, 'constructor'); }; goog.inherits( - org.apache.flex.html. - supportClasses.ButtonBarButtonItemRenderer, - org.apache.flex.html.supportClasses.DataItemRenderer); + org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer, + org_apache_flex_html_supportClasses_DataItemRenderer); /** @@ -38,15 +37,15 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ButtonBarButtonItemRenderer', - qName: 'org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer' }] }; + qName: 'org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer' }] }; /** * @override */ -org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer. +org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer. prototype.createElement = function() { this.element = document.createElement('div'); @@ -64,8 +63,7 @@ org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer. // the selection and highlight this.backgroundView = this.element; - this.controller = new org.apache.flex.html.beads.controllers. - ItemRendererMouseController(); + this.controller = new org_apache_flex_html_beads_controllers_ItemRendererMouseController(); this.controller.set_strand(this); return this.element; @@ -76,7 +74,7 @@ org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer. * @expose * @param {Object} value The strand. */ -org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer. +org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer. prototype.set_strand = function(value) { this.strand_ = value; @@ -87,7 +85,7 @@ org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer. * @expose * @return {Object} The strand. */ -org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer. +org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer. prototype.get_strand = function() { return this.strand_; }; @@ -97,10 +95,10 @@ org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer. * @expose * @param {Object} value The text to display. */ -org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer. +org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer. prototype.set_data = function(value) { - org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer.base(this, 'set_data', value); + org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer.base(this, 'set_data', value); if (value.hasOwnProperty('label')) { this.button.innerHTML = value.label; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js index 46aec00..0c30f26 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js @@ -12,25 +12,25 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.supportClasses.DataGridColumn'); +goog.provide('org_apache_flex_html_supportClasses_DataGridColumn'); -goog.require('mx.core.IFactory'); +goog.require('mx_core_IFactory'); /** * @constructor */ -org.apache.flex.html.supportClasses.DataGridColumn = +org_apache_flex_html_supportClasses_DataGridColumn = function() { }; /** * @expose - * @return {mx.core.IFactory} The object factory for the itemRenderer. + * @return {mx_core_IFactory} The object factory for the itemRenderer. */ -org.apache.flex.html.supportClasses.DataGridColumn.prototype.get_itemRenderer = +org_apache_flex_html_supportClasses_DataGridColumn.prototype.get_itemRenderer = function() { return this.itemRenderer_; }; @@ -38,9 +38,9 @@ function() { /** * @expose - * @param {mx.core.IFactory} value The object factory for the itemRenderer. + * @param {mx_core_IFactory} value The object factory for the itemRenderer. */ -org.apache.flex.html.supportClasses.DataGridColumn.prototype.set_itemRenderer = +org_apache_flex_html_supportClasses_DataGridColumn.prototype.set_itemRenderer = function(value) { this.itemRenderer_ = value; }; @@ -50,7 +50,7 @@ function(value) { * @expose * @return {Number} The width of the column. */ -org.apache.flex.html.supportClasses.DataGridColumn.prototype.get_columnWidth = +org_apache_flex_html_supportClasses_DataGridColumn.prototype.get_columnWidth = function() { return this.columnWidth_; }; @@ -60,7 +60,7 @@ function() { * @expose * @param {Number} value The width of the column. */ -org.apache.flex.html.supportClasses.DataGridColumn.prototype.set_columnWidth = +org_apache_flex_html_supportClasses_DataGridColumn.prototype.set_columnWidth = function(value) { this.columnWidth_ = value; }; @@ -70,7 +70,7 @@ function(value) { * @expose * @return {String} The label for the column. */ -org.apache.flex.html.supportClasses.DataGridColumn.prototype.get_label = +org_apache_flex_html_supportClasses_DataGridColumn.prototype.get_label = function() { return this.label_; }; @@ -80,7 +80,7 @@ function() { * @expose * @param {String} value The label for the column. */ -org.apache.flex.html.supportClasses.DataGridColumn.prototype.set_label = +org_apache_flex_html_supportClasses_DataGridColumn.prototype.set_label = function(value) { this.label_ = value; }; @@ -90,7 +90,7 @@ function(value) { * @expose * @return {String} The field for the data for the column. */ -org.apache.flex.html.supportClasses.DataGridColumn.prototype.get_dataField = +org_apache_flex_html_supportClasses_DataGridColumn.prototype.get_dataField = function() { return this.dataField_; }; @@ -100,7 +100,7 @@ function() { * @expose * @param {String} value The field for the data for the column. */ -org.apache.flex.html.supportClasses.DataGridColumn.prototype.set_dataField = +org_apache_flex_html_supportClasses_DataGridColumn.prototype.set_dataField = function(value) { this.dataField_ = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js index ee06b24..d04d24d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js @@ -12,26 +12,26 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.supportClasses.DataItemRenderer'); +goog.provide('org_apache_flex_html_supportClasses_DataItemRenderer'); -goog.require('org.apache.flex.core.IItemRenderer'); -goog.require('org.apache.flex.html.beads.controllers.ItemRendererMouseController'); -goog.require('org.apache.flex.html.supportClasses.UIItemRendererBase'); +goog.require('org_apache_flex_core_IItemRenderer'); +goog.require('org_apache_flex_html_beads_controllers_ItemRendererMouseController'); +goog.require('org_apache_flex_html_supportClasses_UIItemRendererBase'); /** * @constructor - * @extends {org.apache.flex.html.supportClasses.UIItemRendererBase} - * @implements {org.apache.flex.core.IItemRenderer} + * @extends {org_apache_flex_html_supportClasses_UIItemRendererBase} + * @implements {org_apache_flex_core_IItemRenderer} */ -org.apache.flex.html.supportClasses.DataItemRenderer = +org_apache_flex_html_supportClasses_DataItemRenderer = function() { - org.apache.flex.html.supportClasses.DataItemRenderer.base(this, 'constructor'); + org_apache_flex_html_supportClasses_DataItemRenderer.base(this, 'constructor'); }; goog.inherits( - org.apache.flex.html.supportClasses.DataItemRenderer, - org.apache.flex.html.supportClasses.UIItemRendererBase); + org_apache_flex_html_supportClasses_DataItemRenderer, + org_apache_flex_html_supportClasses_UIItemRendererBase); /** @@ -39,17 +39,17 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'DataItemRenderer', - qName: 'org.apache.flex.html.supportClasses.DataItemRenderer' }], - interfaces: [org.apache.flex.core.IItemRenderer] }; + qName: 'org_apache_flex_html_supportClasses_DataItemRenderer' }], + interfaces: [org_apache_flex_core_IItemRenderer] }; /** * @override */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.createElement = function() { this.element = document.createElement('div'); @@ -62,8 +62,7 @@ org.apache.flex.html.supportClasses.DataItemRenderer. // the selection and highlight this.backgroundView = this.element; - this.controller = new org.apache.flex.html.beads.controllers. - ItemRendererMouseController(); + this.controller = new org_apache_flex_html_beads_controllers_ItemRendererMouseController(); this.controller.set_strand(this); return this.element; @@ -74,7 +73,7 @@ org.apache.flex.html.supportClasses.DataItemRenderer. * @expose * @return {Object} The item renderer's parent. */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.get_itemRendererParent = function() { return this.rendererParent_; }; @@ -84,7 +83,7 @@ org.apache.flex.html.supportClasses.DataItemRenderer. * @expose * @param {Object} value The item renderer's parent. */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.set_itemRendererParent = function(value) { this.rendererParent_ = value; }; @@ -94,7 +93,7 @@ org.apache.flex.html.supportClasses.DataItemRenderer. * @expose * @param {Object} value The renderer's index. */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.set_index = function(value) { this.index_ = value; }; @@ -104,7 +103,7 @@ org.apache.flex.html.supportClasses.DataItemRenderer. * @expose * @param {string} value The name of field to use. */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.set_dataField = function(value) { this.dataField_ = value; @@ -115,7 +114,7 @@ org.apache.flex.html.supportClasses.DataItemRenderer. * @expose * @return {string} The name of the field to use. */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.get_dataField = function() { return this.dataField_; @@ -126,7 +125,7 @@ org.apache.flex.html.supportClasses.DataItemRenderer. * @override * @param {Boolean} value The selection state. */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.set_selected = function(value) { this.selected_ = value; @@ -142,7 +141,7 @@ org.apache.flex.html.supportClasses.DataItemRenderer. * @override * @param {Boolean} value The hovered state. */ -org.apache.flex.html.supportClasses.DataItemRenderer. +org_apache_flex_html_supportClasses_DataItemRenderer. prototype.set_hovered = function(value) { this.hovered_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js index ceb2217..07b29e3 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js @@ -12,26 +12,26 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.supportClasses.NonVirtualDataGroup'); +goog.provide('org_apache_flex_html_supportClasses_NonVirtualDataGroup'); -goog.require('org.apache.flex.core.UIBase'); -goog.require('org.apache.flex.html.supportClasses.DataItemRenderer'); -goog.require('org.apache.flex.utils.Language'); +goog.require('org_apache_flex_core_UIBase'); +goog.require('org_apache_flex_html_supportClasses_DataItemRenderer'); +goog.require('org_apache_flex_utils_Language'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup = +org_apache_flex_html_supportClasses_NonVirtualDataGroup = function() { this.renderers = []; - org.apache.flex.html.supportClasses.NonVirtualDataGroup.base(this, 'constructor'); + org_apache_flex_html_supportClasses_NonVirtualDataGroup.base(this, 'constructor'); }; goog.inherits( - org.apache.flex.html.supportClasses.NonVirtualDataGroup, - org.apache.flex.core.UIBase); + org_apache_flex_html_supportClasses_NonVirtualDataGroup, + org_apache_flex_core_UIBase); /** @@ -39,16 +39,16 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_supportClasses_NonVirtualDataGroup.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'NonVirtualDataGroup', - qName: 'org.apache.flex.html.supportClasses.NonVirtualDataGroup' }] }; + qName: 'org_apache_flex_html_supportClasses_NonVirtualDataGroup' }] }; /** * @expose * @param {Object} value The strand. */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup. +org_apache_flex_html_supportClasses_NonVirtualDataGroup. prototype.set_strand = function(value) { this.strand_ = value; }; @@ -57,7 +57,7 @@ org.apache.flex.html.supportClasses.NonVirtualDataGroup. /** * @override */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup. +org_apache_flex_html_supportClasses_NonVirtualDataGroup. prototype.createElement = function() { this.element = document.createElement('div'); this.element.style.overflow = 'auto'; @@ -76,12 +76,12 @@ org.apache.flex.html.supportClasses.NonVirtualDataGroup. * @override * @param {Object} value The child element being added. */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup. +org_apache_flex_html_supportClasses_NonVirtualDataGroup. prototype.addElement = function(value) { - org.apache.flex.html.supportClasses.NonVirtualDataGroup.base(this, 'addElement', value); + org_apache_flex_html_supportClasses_NonVirtualDataGroup.base(this, 'addElement', value); - var itemRenderer = org.apache.flex.utils.Language.as(value, - org.apache.flex.html.supportClasses.DataItemRenderer); + var itemRenderer = org_apache_flex_utils_Language.as(value, + org_apache_flex_html_supportClasses_DataItemRenderer); itemRenderer.set_index(this.renderers.length); itemRenderer.set_itemRendererParent(this); this.renderers.push(value); @@ -91,7 +91,7 @@ org.apache.flex.html.supportClasses.NonVirtualDataGroup. /** * @expose */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup. +org_apache_flex_html_supportClasses_NonVirtualDataGroup. prototype.removeAllElements = function() { while (this.element.hasChildNodes()) { @@ -104,7 +104,7 @@ org.apache.flex.html.supportClasses.NonVirtualDataGroup. * @expose * @return {number} The number of child nodes in the group. */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup. +org_apache_flex_html_supportClasses_NonVirtualDataGroup. prototype.get_numElements = function() { var n = this.element.childNodes.length; @@ -117,7 +117,7 @@ org.apache.flex.html.supportClasses.NonVirtualDataGroup. * @param {number} index The index of the desired element. * @return {Object} The element at the given index. */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup. +org_apache_flex_html_supportClasses_NonVirtualDataGroup. prototype.getElementAt = function(index) { var e = this.element.childNodes[index]; @@ -130,7 +130,7 @@ org.apache.flex.html.supportClasses.NonVirtualDataGroup. * @param {Object} index The index for the itemRenderer. * @return {Object} The itemRenderer that matches the index. */ -org.apache.flex.html.supportClasses.NonVirtualDataGroup. +org_apache_flex_html_supportClasses_NonVirtualDataGroup. prototype.getItemRendererForIndex = function(index) { return this.renderers[index]; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js index 7158ec7..73052cb 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.supportClasses.StringItemRenderer'); +goog.provide('org_apache_flex_html_supportClasses_StringItemRenderer'); -goog.require('org.apache.flex.core.IItemRenderer'); -goog.require('org.apache.flex.core.UIBase'); -goog.require('org.apache.flex.html.beads.controllers.ItemRendererMouseController'); -goog.require('org.apache.flex.html.supportClasses.DataItemRenderer'); +goog.require('org_apache_flex_core_IItemRenderer'); +goog.require('org_apache_flex_core_UIBase'); +goog.require('org_apache_flex_html_beads_controllers_ItemRendererMouseController'); +goog.require('org_apache_flex_html_supportClasses_DataItemRenderer'); /** * @constructor - * @extends {org.apache.flex.html.supportClasses.DataItemRenderer} - * @implements {org.apache.flex.core.IItemRenderer} + * @extends {org_apache_flex_html_supportClasses_DataItemRenderer} + * @implements {org_apache_flex_core_IItemRenderer} */ -org.apache.flex.html.supportClasses.StringItemRenderer = +org_apache_flex_html_supportClasses_StringItemRenderer = function() { - org.apache.flex.html.supportClasses.StringItemRenderer.base(this, 'constructor'); + org_apache_flex_html_supportClasses_StringItemRenderer.base(this, 'constructor'); }; goog.inherits( - org.apache.flex.html.supportClasses.StringItemRenderer, - org.apache.flex.html.supportClasses.DataItemRenderer); + org_apache_flex_html_supportClasses_StringItemRenderer, + org_apache_flex_html_supportClasses_DataItemRenderer); /** @@ -40,17 +40,17 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'StringItemRenderer', - qName: 'org.apache.flex.html.supportClasses.StringItemRenderer' }], - interfaces: [org.apache.flex.core.IItemRenderer] }; + qName: 'org_apache_flex_html_supportClasses_StringItemRenderer' }], + interfaces: [org_apache_flex_core_IItemRenderer] }; /** * @override */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.createElement = function() { this.element = document.createElement('div'); @@ -63,8 +63,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. // the selection and highlight this.backgroundView = this.element; - this.controller = new org.apache.flex.html.beads.controllers. - ItemRendererMouseController(); + this.controller = new org_apache_flex_html_beads_controllers_ItemRendererMouseController(); this.controller.set_strand(this); return this.element; @@ -75,7 +74,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @param {Object} value The strand. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.set_strand = function(value) { this.strand_ = value; @@ -86,7 +85,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @return {Object} The strand. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.get_strand = function() { return this.strand_; }; @@ -96,7 +95,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @return {Object} The item renderer's parent. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.get_itemRendererParent = function() { return this.rendererParent_; }; @@ -106,7 +105,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @param {Object} value The item renderer's parent. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.set_itemRendererParent = function(value) { this.rendererParent_ = value; }; @@ -116,7 +115,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @param {Object} value The renderer's index. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.set_index = function(value) { this.index_ = value; }; @@ -126,7 +125,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @param {Object} value The text to display. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.set_text = function(value) { this.element.innerHTML = value; @@ -137,7 +136,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @return {Object} The text being displayed. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.get_text = function() { return this.element.innerHTML; @@ -148,10 +147,10 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @param {Object} value The text to display. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.set_data = function(value) { - org.apache.flex.html.supportClasses.StringItemRenderer.base(this, 'set_data', value); + org_apache_flex_html_supportClasses_StringItemRenderer.base(this, 'set_data', value); if (this.get_labelField()) { this.element.innerHTML = String(value[this.get_labelField()]); @@ -171,7 +170,7 @@ org.apache.flex.html.supportClasses.StringItemRenderer. * @expose * @return {Object} The text being displayed. */ -org.apache.flex.html.supportClasses.StringItemRenderer. +org_apache_flex_html_supportClasses_StringItemRenderer. prototype.get_data = function() { return this.element.innerHTML; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js index 1543573..300dbcb 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js @@ -12,28 +12,28 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.supportClasses.UIItemRendererBase'); +goog.provide('org_apache_flex_html_supportClasses_UIItemRendererBase'); -goog.require('org.apache.flex.core.IItemRenderer'); -goog.require('org.apache.flex.core.IItemRendererFactory'); -goog.require('org.apache.flex.core.UIBase'); -goog.require('org.apache.flex.events.Event'); -goog.require('org.apache.flex.utils.MXMLDataInterpreter'); +goog.require('org_apache_flex_core_IItemRenderer'); +goog.require('org_apache_flex_core_IItemRendererFactory'); +goog.require('org_apache_flex_core_UIBase'); +goog.require('org_apache_flex_events_Event'); +goog.require('org_apache_flex_utils_MXMLDataInterpreter'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} - * @implements {org.apache.flex.core.IItemRenderer} + * @extends {org_apache_flex_core_UIBase} + * @implements {org_apache_flex_core_IItemRenderer} */ -org.apache.flex.html.supportClasses.UIItemRendererBase = +org_apache_flex_html_supportClasses_UIItemRendererBase = function() { - org.apache.flex.html.supportClasses.UIItemRendererBase.base(this, 'constructor'); + org_apache_flex_html_supportClasses_UIItemRendererBase.base(this, 'constructor'); }; goog.inherits( - org.apache.flex.html.supportClasses.UIItemRendererBase, - org.apache.flex.core.UIBase); + org_apache_flex_html_supportClasses_UIItemRendererBase, + org_apache_flex_core_UIBase); /** @@ -41,18 +41,18 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'UIItemRendererBase', - qName: 'org.apache.flex.html.supportClasses.UIItemRendererBase' }], - interfaces: [org.apache.flex.core.IItemRenderer, org.apache.flex.core.IItemRendererFactory]}; + qName: 'org_apache_flex_html_supportClasses_UIItemRendererBase' }], + interfaces: [org_apache_flex_core_IItemRenderer, org_apache_flex_core_IItemRendererFactory]}; /** * @expose */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.addedToParent = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.addedToParent = function() { - org.apache.flex.html.supportClasses.UIItemRendererBase.base(this, 'addedToParent'); + org_apache_flex_html_supportClasses_UIItemRendererBase.base(this, 'addedToParent'); // very common for item renderers to be resized by their containers, this.addEventListener('widthChanged', goog.bind(this.sizeChangeHandler, this)); @@ -61,9 +61,9 @@ function() { // each MXML file can also have styles in fx:Style block //? appropriate for JavaScript? ValuesManager.valuesImpl.init(this); - org.apache.flex.utils.MXMLDataInterpreter.generateMXMLInstances(this, this, this.get_MXMLDescriptor()); + org_apache_flex_utils_MXMLDataInterpreter.generateMXMLInstances(this, this, this.get_MXMLDescriptor()); - this.dispatchEvent(new org.apache.flex.events.Event('initComplete')); + this.dispatchEvent(new org_apache_flex_events_Event('initComplete')); }; @@ -71,8 +71,8 @@ function() { * @expose * @param {Array} data The data for the attributes. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.generateMXMLAttributes = function(data) { - org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties(this, data); +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.generateMXMLAttributes = function(data) { + org_apache_flex_utils_MXMLDataInterpreter.generateMXMLProperties(this, data); }; @@ -80,7 +80,7 @@ org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.generateMXMLAtt * @expose * @return {Object} The data being used for the itemRenderer. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.get_data = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.get_data = function() { return this.data_; }; @@ -90,7 +90,7 @@ function() { * @expose * @param {Object} value The data to use for the itemRenderer. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.set_data = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.set_data = function(value) { this.data_ = value; }; @@ -100,7 +100,7 @@ function(value) { * @expose * @return {String} The name of the field being used to display the label. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.get_labelField = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.get_labelField = function() { return this.labelField_; }; @@ -110,7 +110,7 @@ function() { * @expose * @param {String} value The name of the field to use for the label. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.set_labelField = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.set_labelField = function(value) { this.labelField_ = value; }; @@ -120,7 +120,7 @@ function(value) { * @expose * @return {Number} The index value set for this itemRenderer. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.get_index = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.get_index = function() { return this.index_; }; @@ -130,7 +130,7 @@ function() { * @expose * @param {Number} value The row index for this itemRenderer. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.set_index = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.set_index = function(value) { this.index_ = value; }; @@ -140,7 +140,7 @@ function(value) { * @expose * @return {Boolean} The current value of the hovered state. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.get_hovered = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.get_hovered = function() { return this.hovered_; }; @@ -150,7 +150,7 @@ function() { * @expose * @param {Boolean} value Set to true if the itemRenderer should go into hovered state. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.set_hovered = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.set_hovered = function(value) { this.hovered_ = value; }; @@ -160,7 +160,7 @@ function(value) { * @expose * @return {Boolean} Whether or not the itemRenderer is selected. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.get_selected = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.get_selected = function() { return this.selected_; }; @@ -170,7 +170,7 @@ function() { * @expose * @param {Boolean} value True if this itemRenderer instance is selected. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.set_selected = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.set_selected = function(value) { this.selected_ = value; }; @@ -180,7 +180,7 @@ function(value) { * @expose * @return {Boolean} The value of the down selection. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.get_down = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.get_down = function() { return this.down_; }; @@ -190,7 +190,7 @@ function() { * @expose * @param {Boolean} value True if the mouse is in the down position. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.set_down = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.set_down = function(value) { this.down_ = value; }; @@ -199,7 +199,7 @@ function(value) { /** * @expose */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.updateRenderer = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.updateRenderer = function() { if (this.get_down()) { } @@ -214,7 +214,7 @@ function() { * @expose * @param {Event} value The event that triggered the size change. */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.sizeChangeHandler = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.sizeChangeHandler = function(value) { //this.adjustSize(); }; @@ -223,7 +223,7 @@ function(value) { /** * @expose */ -org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.adjustSize = +org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.adjustSize = function() { // handle in sub-class }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js index d1e7ca8..ebf79a0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.CheckBox'); +goog.provide('org_apache_flex_html5_CheckBox'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html5.CheckBox = function() { - org.apache.flex.html5.CheckBox.base(this, 'constructor'); +org_apache_flex_html5_CheckBox = function() { + org_apache_flex_html5_CheckBox.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.CheckBox, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html5_CheckBox, + org_apache_flex_core_UIBase); /** * @override */ -org.apache.flex.html5.CheckBox.prototype.createElement = +org_apache_flex_html5_CheckBox.prototype.createElement = function() { var cb; @@ -53,7 +53,7 @@ org.apache.flex.html5.CheckBox.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.CheckBox.prototype.get_text = function() { +org_apache_flex_html5_CheckBox.prototype.get_text = function() { return this.element.childNodes.item(1).nodeValue; }; @@ -62,7 +62,7 @@ org.apache.flex.html5.CheckBox.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.CheckBox.prototype.set_text = +org_apache_flex_html5_CheckBox.prototype.set_text = function(value) { this.element.childNodes.item(1).nodeValue = value; }; @@ -72,7 +72,7 @@ org.apache.flex.html5.CheckBox.prototype.set_text = * @expose * @return {boolean} The selected getter. */ -org.apache.flex.html5.CheckBox.prototype.get_selected = +org_apache_flex_html5_CheckBox.prototype.get_selected = function() { return this.element.childNodes.item(0).checked; }; @@ -82,7 +82,7 @@ org.apache.flex.html5.CheckBox.prototype.get_selected = * @expose * @param {boolean} value The selected setter. */ -org.apache.flex.html5.CheckBox.prototype.set_selected = +org_apache_flex_html5_CheckBox.prototype.set_selected = function(value) { this.element.childNodes.item(0).checked = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js index 8300ab9..07119a2 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.ComboBox'); +goog.provide('org_apache_flex_html5_ComboBox'); -goog.require('org.apache.flex.core.ListBase'); +goog.require('org_apache_flex_core_ListBase'); /** * @constructor - * @extends {org.apache.flex.core.ListBase} + * @extends {org_apache_flex_core_ListBase} */ -org.apache.flex.html5.ComboBox = function() { - org.apache.flex.html5.ComboBox.base(this, 'constructor'); +org_apache_flex_html5_ComboBox = function() { + org_apache_flex_html5_ComboBox.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.ComboBox, - org.apache.flex.core.ListBase); +goog.inherits(org_apache_flex_html5_ComboBox, + org_apache_flex_core_ListBase); /** * @override */ -org.apache.flex.html5.ComboBox.prototype.createElement = +org_apache_flex_html5_ComboBox.prototype.createElement = function() { var button, input; @@ -72,7 +72,7 @@ org.apache.flex.html5.ComboBox.prototype.createElement = * @expose * @param {Event} event The event. */ -org.apache.flex.html5.ComboBox.prototype.selectChanged = +org_apache_flex_html5_ComboBox.prototype.selectChanged = function(event) { var select; @@ -90,7 +90,7 @@ org.apache.flex.html5.ComboBox.prototype.selectChanged = * @expose * @param {Event} event The event. */ -org.apache.flex.html5.ComboBox.prototype.dismissPopup = +org_apache_flex_html5_ComboBox.prototype.dismissPopup = function(event) { if (this.popup) { this.popup.parentNode.removeChild(this.popup); @@ -103,7 +103,7 @@ org.apache.flex.html5.ComboBox.prototype.dismissPopup = * @expose * @param {Event} event The event. */ -org.apache.flex.html5.ComboBox.prototype.buttonClicked = +org_apache_flex_html5_ComboBox.prototype.buttonClicked = function(event) { /** * @type {Array.<string>} @@ -171,7 +171,7 @@ org.apache.flex.html5.ComboBox.prototype.buttonClicked = * @expose * @param {Array.<Object>} value The collection of data. */ -org.apache.flex.html5.ComboBox.prototype.set_dataProvider = +org_apache_flex_html5_ComboBox.prototype.set_dataProvider = function(value) { this.dataProvider = value; }; @@ -181,7 +181,7 @@ org.apache.flex.html5.ComboBox.prototype.set_dataProvider = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.ComboBox.prototype.get_text = function() { +org_apache_flex_html5_ComboBox.prototype.get_text = function() { return this.element.childNodes.item(0).value; }; @@ -190,7 +190,7 @@ org.apache.flex.html5.ComboBox.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.ComboBox.prototype.set_text = +org_apache_flex_html5_ComboBox.prototype.set_text = function(value) { this.element.childNodes.item(0).value = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/DropDownList.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/DropDownList.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/DropDownList.js index e0dfe8b..587f002 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/DropDownList.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/DropDownList.js @@ -12,18 +12,18 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.DropDownList'); +goog.provide('org_apache_flex_html5_DropDownList'); -goog.require('org.apache.flex.core.ListBase'); +goog.require('org_apache_flex_core_ListBase'); /** * @constructor - * @extends {org.apache.flex.core.ListBase} + * @extends {org_apache_flex_core_ListBase} */ -org.apache.flex.html5.DropDownList = function() { - org.apache.flex.html5.DropDownList.base(this, 'constructor'); +org_apache_flex_html5_DropDownList = function() { + org_apache_flex_html5_DropDownList.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.DropDownList, - org.apache.flex.core.ListBase); +goog.inherits(org_apache_flex_html5_DropDownList, + org_apache_flex_core_ListBase); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js index aed0864..05030a3 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js @@ -12,29 +12,29 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.Label'); +goog.provide('org_apache_flex_html5_Label'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html5.Label = function() { - org.apache.flex.html5.Label.base(this, 'constructor'); +org_apache_flex_html5_Label = function() { + org_apache_flex_html5_Label.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.Label, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html5_Label, + org_apache_flex_core_UIBase); /** * @override */ -org.apache.flex.html5.Label.prototype.createElement = +org_apache_flex_html5_Label.prototype.createElement = function() { - org.apache.flex.html5.Label.base(this, 'createElement'); + org_apache_flex_html5_Label.base(this, 'createElement'); this.positioner = this.element; @@ -46,7 +46,7 @@ org.apache.flex.html5.Label.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.Label.prototype.get_text = function() { +org_apache_flex_html5_Label.prototype.get_text = function() { return this.element.innerHTML; }; @@ -55,7 +55,7 @@ org.apache.flex.html5.Label.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.Label.prototype.set_text = +org_apache_flex_html5_Label.prototype.set_text = function(value) { this.element.innerHTML = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/List.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/List.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/List.js index 4861cb3..984b43d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/List.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/List.js @@ -12,29 +12,29 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.List'); +goog.provide('org_apache_flex_html5_List'); -goog.require('org.apache.flex.core.ListBase'); +goog.require('org_apache_flex_core_ListBase'); /** * @constructor - * @extends {org.apache.flex.core.ListBase} + * @extends {org_apache_flex_core_ListBase} */ -org.apache.flex.html5.List = function() { - org.apache.flex.html5.List.base(this, 'constructor'); +org_apache_flex_html5_List = function() { + org_apache_flex_html5_List.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.List, - org.apache.flex.core.ListBase); +goog.inherits(org_apache_flex_html5_List, + org_apache_flex_core_ListBase); /** * @override */ -org.apache.flex.html5.List.prototype.createElement = +org_apache_flex_html5_List.prototype.createElement = function() { - org.apache.flex.html5.List.base(this, 'createElement'); + org_apache_flex_html5_List.base(this, 'createElement'); this.element.size = 5; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js index b683301..efe24f6 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.RadioButton'); +goog.provide('org_apache_flex_html5_RadioButton'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html5.RadioButton = function() { - org.apache.flex.html5.RadioButton.base(this, 'constructor'); +org_apache_flex_html5_RadioButton = function() { + org_apache_flex_html5_RadioButton.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.RadioButton, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html5_RadioButton, + org_apache_flex_core_UIBase); /** * @override */ -org.apache.flex.html5.RadioButton.prototype.createElement = +org_apache_flex_html5_RadioButton.prototype.createElement = function() { var rb; @@ -53,7 +53,7 @@ org.apache.flex.html5.RadioButton.prototype.createElement = * @expose * @return {string} The groupName getter. */ -org.apache.flex.html5.RadioButton.prototype.get_groupName = +org_apache_flex_html5_RadioButton.prototype.get_groupName = function() { return this.element.childNodes.item(0).name; }; @@ -63,7 +63,7 @@ org.apache.flex.html5.RadioButton.prototype.get_groupName = * @expose * @param {string} value The groupName setter. */ -org.apache.flex.html5.RadioButton.prototype.set_groupName = +org_apache_flex_html5_RadioButton.prototype.set_groupName = function(value) { this.element.childNodes.item(0).name = value; }; @@ -73,7 +73,7 @@ org.apache.flex.html5.RadioButton.prototype.set_groupName = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.RadioButton.prototype.get_text = +org_apache_flex_html5_RadioButton.prototype.get_text = function() { return this.element.childNodes.item(1).nodeValue; }; @@ -83,7 +83,7 @@ org.apache.flex.html5.RadioButton.prototype.get_text = * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.RadioButton.prototype.set_text = +org_apache_flex_html5_RadioButton.prototype.set_text = function(value) { this.element.childNodes.item(1).nodeValue = value; }; @@ -93,7 +93,7 @@ org.apache.flex.html5.RadioButton.prototype.set_text = * @expose * @return {boolean} The selected getter. */ -org.apache.flex.html5.RadioButton.prototype.get_selected = +org_apache_flex_html5_RadioButton.prototype.get_selected = function() { return this.element.childNodes.item(0).checked; }; @@ -103,7 +103,7 @@ org.apache.flex.html5.RadioButton.prototype.get_selected = * @expose * @param {boolean} value The selected setter. */ -org.apache.flex.html5.RadioButton.prototype.set_selected = +org_apache_flex_html5_RadioButton.prototype.set_selected = function(value) { this.element.childNodes.item(0).checked = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js index 174ebb4..81f80dd 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.TextArea'); +goog.provide('org_apache_flex_html5_TextArea'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html5.TextArea = function() { - org.apache.flex.html5.TextArea.base(this, 'constructor'); +org_apache_flex_html5_TextArea = function() { + org_apache_flex_html5_TextArea.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.TextArea, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html5_TextArea, + org_apache_flex_core_UIBase); /** * @override */ -org.apache.flex.html5.TextArea.prototype.createElement = +org_apache_flex_html5_TextArea.prototype.createElement = function() { this.element = document.createElement('textarea'); @@ -46,7 +46,7 @@ org.apache.flex.html5.TextArea.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.TextArea.prototype.get_text = function() { +org_apache_flex_html5_TextArea.prototype.get_text = function() { return this.element.value; }; @@ -55,7 +55,7 @@ org.apache.flex.html5.TextArea.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.TextArea.prototype.set_text = +org_apache_flex_html5_TextArea.prototype.set_text = function(value) { this.element.value = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js index a77af93..cf803e3 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.TextButton'); +goog.provide('org_apache_flex_html5_TextButton'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html5.TextButton = function() { - org.apache.flex.html5.TextButton.base(this, 'constructor'); +org_apache_flex_html5_TextButton = function() { + org_apache_flex_html5_TextButton.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.TextButton, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html5_TextButton, + org_apache_flex_core_UIBase); /** * @override */ -org.apache.flex.html5.TextButton.prototype.createElement = +org_apache_flex_html5_TextButton.prototype.createElement = function() { this.element = document.createElement('button'); this.element.setAttribute('type', 'button'); @@ -47,7 +47,7 @@ org.apache.flex.html5.TextButton.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.TextButton.prototype.get_text = +org_apache_flex_html5_TextButton.prototype.get_text = function() { return this.element.innerHTML; }; @@ -57,7 +57,7 @@ org.apache.flex.html5.TextButton.prototype.get_text = * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.TextButton.prototype.set_text = +org_apache_flex_html5_TextButton.prototype.set_text = function(value) { this.element.innerHTML = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js index 371d847..12ddecc 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.TextInput'); +goog.provide('org_apache_flex_html5_TextInput'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html5.TextInput = function() { - org.apache.flex.html5.TextInput.base(this, 'constructor'); +org_apache_flex_html5_TextInput = function() { + org_apache_flex_html5_TextInput.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html5.TextInput, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html5_TextInput, + org_apache_flex_core_UIBase); /** * @override */ -org.apache.flex.html5.TextInput.prototype.createElement = +org_apache_flex_html5_TextInput.prototype.createElement = function() { this.element = document.createElement('input'); this.element.setAttribute('type', 'input'); @@ -47,7 +47,7 @@ org.apache.flex.html5.TextInput.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.TextInput.prototype.get_text = function() { +org_apache_flex_html5_TextInput.prototype.get_text = function() { return this.element.value; }; @@ -56,7 +56,7 @@ org.apache.flex.html5.TextInput.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.TextInput.prototype.set_text = +org_apache_flex_html5_TextInput.prototype.set_text = function(value) { this.element.value = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js index d646b13..16c3dec 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js @@ -24,19 +24,19 @@ FalconJX will inject html into the index.html file. Surround with </inject_html> */ -goog.provide('org.apache.flex.jquery.Application'); +goog.provide('org_apache_flex_jquery_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.flex.jquery.Application = function() { - org.apache.flex.jquery.Application.base(this, 'constructor'); +org_apache_flex_jquery_Application = function() { + org_apache_flex_jquery_Application.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.jquery.Application, - org.apache.flex.core.Application); +goog.inherits(org_apache_flex_jquery_Application, + org_apache_flex_core_Application); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js index 2bbc068..f3052ef 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js @@ -12,21 +12,21 @@ * limitations under the License. */ -goog.provide('org.apache.flex.jquery.CheckBox'); +goog.provide('org_apache_flex_jquery_CheckBox'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.jquery.CheckBox = function() { - org.apache.flex.jquery.CheckBox.base(this, 'constructor'); +org_apache_flex_jquery_CheckBox = function() { + org_apache_flex_jquery_CheckBox.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.jquery.CheckBox, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_jquery_CheckBox, + org_apache_flex_core_UIBase); /** @@ -34,15 +34,15 @@ goog.inherits(org.apache.flex.jquery.CheckBox, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.jquery.CheckBox.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_jquery_CheckBox.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'CheckBox', - qName: 'org.apache.flex.jquery.CheckBox'}] }; + qName: 'org_apache_flex_jquery_CheckBox'}] }; /** * @override */ -org.apache.flex.jquery.CheckBox.prototype.createElement = +org_apache_flex_jquery_CheckBox.prototype.createElement = function() { var cb; @@ -65,7 +65,7 @@ org.apache.flex.jquery.CheckBox.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.jquery.CheckBox.prototype.get_text = function() { +org_apache_flex_jquery_CheckBox.prototype.get_text = function() { return this.element.childNodes.item(1).nodeValue; }; @@ -74,7 +74,7 @@ org.apache.flex.jquery.CheckBox.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.jquery.CheckBox.prototype.set_text = +org_apache_flex_jquery_CheckBox.prototype.set_text = function(value) { this.element.childNodes.item(1).nodeValue = value; }; @@ -84,7 +84,7 @@ org.apache.flex.jquery.CheckBox.prototype.set_text = * @expose * @return {boolean} The selected getter. */ -org.apache.flex.jquery.CheckBox.prototype.get_selected = +org_apache_flex_jquery_CheckBox.prototype.get_selected = function() { return this.element.childNodes.item(0).checked; }; @@ -94,7 +94,7 @@ org.apache.flex.jquery.CheckBox.prototype.get_selected = * @expose * @param {boolean} value The selected setter. */ -org.apache.flex.jquery.CheckBox.prototype.set_selected = +org_apache_flex_jquery_CheckBox.prototype.set_selected = function(value) { this.element.childNodes.item(0).checked = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js index 762f902..3584ce9 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js @@ -12,25 +12,25 @@ * limitations under the License. */ -goog.provide('org.apache.flex.jquery.RadioButton'); +goog.provide('org_apache_flex_jquery_RadioButton'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.jquery.RadioButton = function() { +org_apache_flex_jquery_RadioButton = function() { - org.apache.flex.jquery.RadioButton.base(this, 'constructor'); + org_apache_flex_jquery_RadioButton.base(this, 'constructor'); - org.apache.flex.core.UIBase.call(this); - org.apache.flex.jquery.RadioButton.radioCounter++; + org_apache_flex_core_UIBase.call(this); + org_apache_flex_jquery_RadioButton.radioCounter++; }; -goog.inherits(org.apache.flex.jquery.RadioButton, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_jquery_RadioButton, + org_apache_flex_core_UIBase); /** @@ -38,40 +38,40 @@ goog.inherits(org.apache.flex.jquery.RadioButton, * @type {?string} * The name of the radioGroup. */ -org.apache.flex.jquery.RadioButton.prototype.radioGroupName = null; +org_apache_flex_jquery_RadioButton.prototype.radioGroupName = null; /** * @expose * Used to provide ids to the radio buttons. */ -org.apache.flex.jquery.RadioButton.radioCounter = 0; +org_apache_flex_jquery_RadioButton.radioCounter = 0; /** * @expose * Used to manage groups on the radio buttons. */ -org.apache.flex.jquery.RadioButton.groups = { }; +org_apache_flex_jquery_RadioButton.groups = { }; /** * Flag to make sure the event handler is set only once. */ -org.apache.flex.jquery.RadioButton.groupHandlerSet = false; +org_apache_flex_jquery_RadioButton.groupHandlerSet = false; /** * @override */ -org.apache.flex.jquery.RadioButton.prototype.createElement = +org_apache_flex_jquery_RadioButton.prototype.createElement = function() { // the radio itself this.input = document.createElement('input'); this.input.type = 'radio'; this.input.name = 'radio'; - this.input.id = '_radio_' + org.apache.flex.jquery.RadioButton.radioCounter++; + this.input.id = '_radio_' + org_apache_flex_jquery_RadioButton.radioCounter++; this.labelFor = document.createElement('label'); this.labelFor.htmlFor = this.input.id; @@ -92,9 +92,9 @@ org.apache.flex.jquery.RadioButton.prototype.createElement = /** * @override */ -org.apache.flex.jquery.RadioButton.prototype.addedToParent = +org_apache_flex_jquery_RadioButton.prototype.addedToParent = function() { - org.apache.flex.jquery.RadioButton.base(this, 'addedToParent'); + org_apache_flex_jquery_RadioButton.base(this, 'addedToParent'); $(this.input).button(); }; @@ -102,8 +102,8 @@ org.apache.flex.jquery.RadioButton.prototype.addedToParent = /** * @override */ -org.apache.flex.jquery.RadioButton.prototype.set_id = function(value) { - org.apache.flex.jquery.RadioButton.base(this, 'set_id', value); +org_apache_flex_jquery_RadioButton.prototype.set_id = function(value) { + org_apache_flex_jquery_RadioButton.base(this, 'set_id', value); this.labelFor.id = value; this.labelFor.htmlFor = value; }; @@ -113,7 +113,7 @@ org.apache.flex.jquery.RadioButton.prototype.set_id = function(value) { * @expose * @return {?string} The groupName getter. */ -org.apache.flex.jquery.RadioButton.prototype.get_groupName = +org_apache_flex_jquery_RadioButton.prototype.get_groupName = function() { return this.radioGroupName; }; @@ -123,7 +123,7 @@ org.apache.flex.jquery.RadioButton.prototype.get_groupName = * @expose * @param {string} value The groupName setter. */ -org.apache.flex.jquery.RadioButton.prototype.set_groupName = +org_apache_flex_jquery_RadioButton.prototype.set_groupName = function(value) { this.radioGroupName = value; @@ -135,7 +135,7 @@ org.apache.flex.jquery.RadioButton.prototype.set_groupName = * @expose * @return {string} The text getter. */ -org.apache.flex.jquery.RadioButton.prototype.get_text = +org_apache_flex_jquery_RadioButton.prototype.get_text = function() { return this.labelFor.innerHTML; }; @@ -145,7 +145,7 @@ org.apache.flex.jquery.RadioButton.prototype.get_text = * @expose * @param {string} value The text setter. */ -org.apache.flex.jquery.RadioButton.prototype.set_text = +org_apache_flex_jquery_RadioButton.prototype.set_text = function(value) { this.labelFor.innerHTML = value; }; @@ -155,7 +155,7 @@ org.apache.flex.jquery.RadioButton.prototype.set_text = * @expose * @return {boolean} The selected getter. */ -org.apache.flex.jquery.RadioButton.prototype.get_selected = +org_apache_flex_jquery_RadioButton.prototype.get_selected = function() { return this.input.checked; }; @@ -165,7 +165,7 @@ org.apache.flex.jquery.RadioButton.prototype.get_selected = * @expose * @param {boolean} value The selected setter. */ -org.apache.flex.jquery.RadioButton.prototype.set_selected = +org_apache_flex_jquery_RadioButton.prototype.set_selected = function(value) { this.input.checked = value; }; @@ -175,7 +175,7 @@ org.apache.flex.jquery.RadioButton.prototype.set_selected = * @expose * @return {Object} The value getter. */ -org.apache.flex.jquery.RadioButton.prototype.get_value = +org_apache_flex_jquery_RadioButton.prototype.get_value = function() { return this.input.value; }; @@ -185,7 +185,7 @@ org.apache.flex.jquery.RadioButton.prototype.get_value = * @expose * @param {Object} value The value setter. */ -org.apache.flex.jquery.RadioButton.prototype.set_value = +org_apache_flex_jquery_RadioButton.prototype.set_value = function(value) { this.input.value = value; }; @@ -195,7 +195,7 @@ org.apache.flex.jquery.RadioButton.prototype.set_value = * @expose * @return {Object} The value of the selected RadioButton. */ -org.apache.flex.jquery.RadioButton.prototype.get_selectedValue = +org_apache_flex_jquery_RadioButton.prototype.get_selectedValue = function() { var buttons, groupName, i, n; @@ -216,7 +216,7 @@ org.apache.flex.jquery.RadioButton.prototype.get_selectedValue = * @expose * @param {Object} value The value of the selected RadioButton. */ -org.apache.flex.jquery.RadioButton.prototype.set_selectedValue = +org_apache_flex_jquery_RadioButton.prototype.set_selectedValue = function(value) { var buttons, groupName, i, n; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js index fbc505b..88c1d3b 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.jquery.TextButton'); +goog.provide('org_apache_flex_jquery_TextButton'); -goog.require('org.apache.flex.core.UIBase'); +goog.require('org_apache_flex_core_UIBase'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.jquery.TextButton = function() { - org.apache.flex.jquery.TextButton.base(this, 'constructor'); +org_apache_flex_jquery_TextButton = function() { + org_apache_flex_jquery_TextButton.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.jquery.TextButton, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_jquery_TextButton, + org_apache_flex_core_UIBase); /** * @override */ -org.apache.flex.jquery.TextButton.prototype.createElement = +org_apache_flex_jquery_TextButton.prototype.createElement = function() { this.element = document.createElement('button'); this.element.setAttribute('type', 'button'); @@ -46,9 +46,9 @@ org.apache.flex.jquery.TextButton.prototype.createElement = /** * @override */ -org.apache.flex.jquery.TextButton.prototype.addedToParent = +org_apache_flex_jquery_TextButton.prototype.addedToParent = function() { - org.apache.flex.jquery.TextButton.base(this, 'addedToParent'); + org_apache_flex_jquery_TextButton.base(this, 'addedToParent'); $(this.element).button(); }; @@ -57,7 +57,7 @@ org.apache.flex.jquery.TextButton.prototype.addedToParent = * @expose * @return {string} The text getter. */ -org.apache.flex.jquery.TextButton.prototype.get_text = +org_apache_flex_jquery_TextButton.prototype.get_text = function() { return this.element.innerHTML; }; @@ -67,7 +67,7 @@ org.apache.flex.jquery.TextButton.prototype.get_text = * @expose * @param {string} value The text setter. */ -org.apache.flex.jquery.TextButton.prototype.set_text = +org_apache_flex_jquery_TextButton.prototype.set_text = function(value) { this.element.innerHTML = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Geometry.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Geometry.js b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Geometry.js index 2ee1201..0c18920 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Geometry.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Geometry.js @@ -12,9 +12,9 @@ * limitations under the License. */ -goog.provide('org.apache.flex.maps.google.Geometry'); +goog.provide('org_apache_flex_maps_google_Geometry'); -goog.require('org.apache.flex.maps.google.LatLng'); +goog.require('org_apache_flex_maps_google_LatLng'); // IMPORTANT: @@ -26,8 +26,8 @@ goog.require('org.apache.flex.maps.google.LatLng'); /** * @constructor */ -org.apache.flex.maps.google.Geometry = function() { - this.location = new org.apache.flex.maps.google.LatLng(); +org_apache_flex_maps_google_Geometry = function() { + this.location = new org_apache_flex_maps_google_LatLng(); }; @@ -36,15 +36,15 @@ org.apache.flex.maps.google.Geometry = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.maps.google.Geometry.prototype. +org_apache_flex_maps_google_Geometry.prototype. FLEXJS_CLASS_INFO = { names: [{ name: 'Geometry', - qName: 'org.apache.flex.maps.google.Geometry' }], + qName: 'org_apache_flex_maps_google_Geometry' }], interfaces: [] }; /** * @type {Object} The current location */ -org.apache.flex.maps.google.Geometry.prototype.location = null; +org_apache_flex_maps_google_Geometry.prototype.location = null; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/maps/google/LatLng.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/LatLng.js b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/LatLng.js index 23fac04..8cafa2e 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/LatLng.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/LatLng.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.maps.google.LatLng'); +goog.provide('org_apache_flex_maps_google_LatLng'); // IMPORTANT: @@ -24,7 +24,7 @@ goog.provide('org.apache.flex.maps.google.LatLng'); /** * @constructor */ -org.apache.flex.maps.google.LatLng = function() { +org_apache_flex_maps_google_LatLng = function() { }; @@ -33,21 +33,21 @@ org.apache.flex.maps.google.LatLng = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.maps.google.LatLng.prototype. +org_apache_flex_maps_google_LatLng.prototype. FLEXJS_CLASS_INFO = { names: [{ name: 'LatLng', - qName: 'org.apache.flex.maps.google.LatLng' }], + qName: 'org_apache_flex_maps_google_LatLng' }], interfaces: [] }; /** * @type {number} The latitude */ -org.apache.flex.maps.google.LatLng.prototype.lat = 0; +org_apache_flex_maps_google_LatLng.prototype.lat = 0; /** * @type {number} The longitude */ -org.apache.flex.maps.google.LatLng.prototype.lng = 0; +org_apache_flex_maps_google_LatLng.prototype.lng = 0;
