http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js index 674c003..9dbb507 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js @@ -12,25 +12,25 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.MultilineLabel'); +goog.provide('org_apache_flex_html_MultilineLabel'); -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.html.MultilineLabel = function() { - org.apache.flex.html.MultilineLabel.base(this, 'constructor'); +org_apache_flex_html_MultilineLabel = function() { + org_apache_flex_html_MultilineLabel.base(this, 'constructor'); this.element = document.createElement('div'); this.positioner = this.element; this.element.flexjs_wrapper = this; }; -goog.inherits(org.apache.flex.html.MultilineLabel, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_MultilineLabel, + org_apache_flex_core_UIBase); /** @@ -38,16 +38,16 @@ goog.inherits(org.apache.flex.html.MultilineLabel, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.MultilineLabel.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_MultilineLabel.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'MultilineLabel', - qName: 'org.apache.flex.html.MultilineLabel' }] }; + qName: 'org_apache_flex_html_MultilineLabel' }] }; /** * @expose * @return {string} The text getter. */ -org.apache.flex.html.MultilineLabel.prototype.get_text = function() { +org_apache_flex_html_MultilineLabel.prototype.get_text = function() { return this.element.innerHTML; }; @@ -56,7 +56,7 @@ org.apache.flex.html.MultilineLabel.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html.MultilineLabel.prototype.set_text = function(value) { +org_apache_flex_html_MultilineLabel.prototype.set_text = function(value) { this.element.innerHTML = value; }; @@ -65,7 +65,7 @@ org.apache.flex.html.MultilineLabel.prototype.set_text = function(value) { * @expose * @return {string} The html getter. */ -org.apache.flex.html.MultilineLabel.prototype.get_html = function() { +org_apache_flex_html_MultilineLabel.prototype.get_html = function() { return this.element.innerHTML; }; @@ -74,6 +74,6 @@ org.apache.flex.html.MultilineLabel.prototype.get_html = function() { * @expose * @param {string} value The html setter. */ -org.apache.flex.html.MultilineLabel.prototype.set_html = function(value) { +org_apache_flex_html_MultilineLabel.prototype.set_html = 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/html/NumericStepper.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js b/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js index 4323042..f66ab83 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js @@ -12,26 +12,26 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.NumericStepper'); +goog.provide('org_apache_flex_html_NumericStepper'); -goog.require('org.apache.flex.core.UIBase'); -goog.require('org.apache.flex.html.Spinner'); -goog.require('org.apache.flex.html.TextInput'); -goog.require('org.apache.flex.html.beads.models.RangeModel'); +goog.require('org_apache_flex_core_UIBase'); +goog.require('org_apache_flex_html_Spinner'); +goog.require('org_apache_flex_html_TextInput'); +goog.require('org_apache_flex_html_beads_models_RangeModel'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html.NumericStepper = function() { +org_apache_flex_html_NumericStepper = function() { this.model = - new org.apache.flex.html.beads.models.RangeModel(); - org.apache.flex.html.NumericStepper.base(this, 'constructor'); + new org_apache_flex_html_beads_models_RangeModel(); + org_apache_flex_html_NumericStepper.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.NumericStepper, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_NumericStepper, + org_apache_flex_core_UIBase); /** @@ -39,25 +39,25 @@ goog.inherits(org.apache.flex.html.NumericStepper, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.NumericStepper.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_NumericStepper.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'NumericStepper', - qName: 'org.apache.flex.html.NumericStepper' }] }; + qName: 'org_apache_flex_html_NumericStepper' }] }; /** * @override */ -org.apache.flex.html.NumericStepper.prototype.createElement = +org_apache_flex_html_NumericStepper.prototype.createElement = function() { this.element = document.createElement('div'); this.positioner = this.element; - this.input = new org.apache.flex.html.TextInput(); + this.input = new org_apache_flex_html_TextInput(); this.addElement(this.input); this.input.positioner.style.display = 'inline-block'; this.input.positioner.style.width = '100px'; - this.spinner = new org.apache.flex.html.Spinner(); + this.spinner = new org_apache_flex_html_Spinner(); this.spinner.positioner.style.display = 'inline-block'; this.spinner.positioner.style.height = '24px'; this.spinner.positioner.style.marginLeft = '-2px'; @@ -90,13 +90,13 @@ org.apache.flex.html.NumericStepper.prototype.createElement = /** * @param {Object} event The input event. */ -org.apache.flex.html.NumericStepper.prototype.spinnerChange = +org_apache_flex_html_NumericStepper.prototype.spinnerChange = function(event) { var newValue = this.spinner.get_value(); this.set_value(newValue); this.input.set_text(String(this.spinner.get_value())); - this.dispatchEvent(new org.apache.flex.events.Event('valueChange')); + this.dispatchEvent(new org_apache_flex_events_Event('valueChange')); }; @@ -104,7 +104,7 @@ org.apache.flex.html.NumericStepper.prototype.spinnerChange = * @expose * @return {Number} The current minimum value. */ -org.apache.flex.html.NumericStepper.prototype.get_minimum = +org_apache_flex_html_NumericStepper.prototype.get_minimum = function() { return this.model.get_minimum(); }; @@ -114,7 +114,7 @@ org.apache.flex.html.NumericStepper.prototype.get_minimum = * @expose * @param {Number} value The new minimum value. */ -org.apache.flex.html.NumericStepper.prototype.set_minimum = +org_apache_flex_html_NumericStepper.prototype.set_minimum = function(value) { this.model.set_minimum(value); }; @@ -124,7 +124,7 @@ org.apache.flex.html.NumericStepper.prototype.set_minimum = * @expose * @return {Number} The current maximum value. */ -org.apache.flex.html.NumericStepper.prototype.get_maximum = +org_apache_flex_html_NumericStepper.prototype.get_maximum = function() { return this.model.get_maximum(); }; @@ -134,7 +134,7 @@ org.apache.flex.html.NumericStepper.prototype.get_maximum = * @expose * @param {Number} value The new maximum value. */ -org.apache.flex.html.NumericStepper.prototype.set_maximum = +org_apache_flex_html_NumericStepper.prototype.set_maximum = function(value) { this.model.set_maximum(value); }; @@ -144,7 +144,7 @@ org.apache.flex.html.NumericStepper.prototype.set_maximum = * @expose * @return {Number} The current value. */ -org.apache.flex.html.NumericStepper.prototype.get_value = +org_apache_flex_html_NumericStepper.prototype.get_value = function() { return this.model.get_value(); }; @@ -154,7 +154,7 @@ org.apache.flex.html.NumericStepper.prototype.get_value = * @expose * @param {Number} newValue The new value. */ -org.apache.flex.html.NumericStepper.prototype.set_value = +org_apache_flex_html_NumericStepper.prototype.set_value = function(newValue) { this.model.set_value(newValue); this.spinner.set_value(newValue); @@ -165,7 +165,7 @@ org.apache.flex.html.NumericStepper.prototype.set_value = * @expose * @return {Number} The current snapInterval value. */ -org.apache.flex.html.NumericStepper.prototype.get_snapInterval = +org_apache_flex_html_NumericStepper.prototype.get_snapInterval = function() { return this.model.get_snapInterval(); }; @@ -175,7 +175,7 @@ org.apache.flex.html.NumericStepper.prototype.get_snapInterval = * @expose * @param {Number} value The new snapInterval value. */ -org.apache.flex.html.NumericStepper.prototype.set_snapInterval = +org_apache_flex_html_NumericStepper.prototype.set_snapInterval = function(value) { this.model.set_snapInterval(value); }; @@ -185,7 +185,7 @@ org.apache.flex.html.NumericStepper.prototype.set_snapInterval = * @expose * @return {Number} The current stepSize value. */ -org.apache.flex.html.NumericStepper.prototype.get_stepSize = +org_apache_flex_html_NumericStepper.prototype.get_stepSize = function() { return this.model.get_stepSize(); }; @@ -195,7 +195,7 @@ org.apache.flex.html.NumericStepper.prototype.get_stepSize = * @expose * @param {Number} value The new stepSize value. */ -org.apache.flex.html.NumericStepper.prototype.set_stepSize = +org_apache_flex_html_NumericStepper.prototype.set_stepSize = function(value) { this.model.set_stepSize(value); }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js index eb9033b..b44f317 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js @@ -12,25 +12,25 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.Panel'); +goog.provide('org_apache_flex_html_Panel'); -goog.require('org.apache.flex.html.Container'); -goog.require('org.apache.flex.html.ControlBar'); -goog.require('org.apache.flex.html.TitleBar'); -goog.require('org.apache.flex.html.beads.PanelView'); -goog.require('org.apache.flex.html.beads.models.PanelModel'); +goog.require('org_apache_flex_html_Container'); +goog.require('org_apache_flex_html_ControlBar'); +goog.require('org_apache_flex_html_TitleBar'); +goog.require('org_apache_flex_html_beads_PanelView'); +goog.require('org_apache_flex_html_beads_models_PanelModel'); /** * @constructor - * @extends {org.apache.flex.html.Container} + * @extends {org_apache_flex_html_Container} */ -org.apache.flex.html.Panel = function() { - org.apache.flex.html.Panel.base(this, 'constructor'); +org_apache_flex_html_Panel = function() { + org_apache_flex_html_Panel.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.Panel, - org.apache.flex.html.Container); +goog.inherits(org_apache_flex_html_Panel, + org_apache_flex_html_Container); /** @@ -38,16 +38,16 @@ goog.inherits(org.apache.flex.html.Panel, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.Panel.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_Panel.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Panel', - qName: 'org.apache.flex.html.Panel' }] }; + qName: 'org_apache_flex_html_Panel' }] }; /** * @override * @param {Object} c Element being added. */ -org.apache.flex.html.Panel.prototype.addElement = function(c) { +org_apache_flex_html_Panel.prototype.addElement = function(c) { if (c == this.titleBar) { this.element.insertBefore(this.titleBar.element, this.contentArea); } @@ -66,7 +66,7 @@ org.apache.flex.html.Panel.prototype.addElement = function(c) { * @param {Object} c The child element. * @param {number} index The index. */ -org.apache.flex.html.Panel.prototype.addElementAt = +org_apache_flex_html_Panel.prototype.addElementAt = function(c, index) { var children = this.internalChildren(); if (index >= children.length) @@ -85,7 +85,7 @@ org.apache.flex.html.Panel.prototype.addElementAt = * @param {Object} c The child element. * @return {number} The index in parent. */ -org.apache.flex.html.Panel.prototype.getElementIndex = +org_apache_flex_html_Panel.prototype.getElementIndex = function(c) { var children = this.internalChildren(); var n = children.length; @@ -102,7 +102,7 @@ org.apache.flex.html.Panel.prototype.getElementIndex = * @override * @param {Object} c The child element. */ -org.apache.flex.html.Panel.prototype.removeElement = +org_apache_flex_html_Panel.prototype.removeElement = function(c) { this.contentArea.removeChild(c.element); }; @@ -111,7 +111,7 @@ org.apache.flex.html.Panel.prototype.removeElement = /** * @override */ -org.apache.flex.html.Panel.prototype.createElement = +org_apache_flex_html_Panel.prototype.createElement = function() { this.element = document.createElement('div'); @@ -132,9 +132,9 @@ org.apache.flex.html.Panel.prototype.createElement = /** * @override */ -org.apache.flex.html.Panel.prototype.addedToParent = +org_apache_flex_html_Panel.prototype.addedToParent = function() { - org.apache.flex.html.Panel.base(this, 'addedToParent'); + org_apache_flex_html_Panel.base(this, 'addedToParent'); }; @@ -142,7 +142,7 @@ org.apache.flex.html.Panel.prototype.addedToParent = * @expose * @return {boolean} The showCloseButton getter. */ -org.apache.flex.html.Panel.prototype.get_showCloseButton = function() { +org_apache_flex_html_Panel.prototype.get_showCloseButton = function() { return this.get_model().get_showCloseButton(); }; @@ -151,7 +151,7 @@ org.apache.flex.html.Panel.prototype.get_showCloseButton = function() { * @expose * @param {boolean} value The showCloseButton setter. */ -org.apache.flex.html.Panel.prototype.set_showCloseButton = +org_apache_flex_html_Panel.prototype.set_showCloseButton = function(value) { this.get_model().set_showCloseButton(value); }; @@ -161,7 +161,7 @@ org.apache.flex.html.Panel.prototype.set_showCloseButton = * @expose * @return {string} The title getter. */ -org.apache.flex.html.Panel.prototype.get_title = function() { +org_apache_flex_html_Panel.prototype.get_title = function() { return this.get_model().get_title(); }; @@ -170,7 +170,7 @@ org.apache.flex.html.Panel.prototype.get_title = function() { * @expose * @param {string} value The title setter. */ -org.apache.flex.html.Panel.prototype.set_title = +org_apache_flex_html_Panel.prototype.set_title = function(value) { this.get_model().set_title(value); }; @@ -180,7 +180,7 @@ function(value) { * @expose * @return {Array} The controlBar getter. */ -org.apache.flex.html.Panel.prototype.get_controlBar = +org_apache_flex_html_Panel.prototype.get_controlBar = function() { return this.controlBarChildren; }; @@ -190,7 +190,7 @@ org.apache.flex.html.Panel.prototype.get_controlBar = * @expose * @param {Array} value The controlBar setter. */ -org.apache.flex.html.Panel.prototype.set_controlBar = +org_apache_flex_html_Panel.prototype.set_controlBar = function(value) { this.controlBarChildren = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/RadioButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/RadioButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html/RadioButton.js index 46e9114..8fad4e5 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/RadioButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/RadioButton.js @@ -12,21 +12,21 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.RadioButton'); +goog.provide('org_apache_flex_html_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.html.RadioButton = function() { - org.apache.flex.html.RadioButton.base(this, 'constructor'); +org_apache_flex_html_RadioButton = function() { + org_apache_flex_html_RadioButton.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.RadioButton, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_RadioButton, + org_apache_flex_core_UIBase); /** @@ -34,26 +34,26 @@ goog.inherits(org.apache.flex.html.RadioButton, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.RadioButton.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_RadioButton.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'RadioButton', - qName: 'org.apache.flex.html.RadioButton'}] }; + qName: 'org_apache_flex_html_RadioButton'}] }; /** * Provides unique name */ -org.apache.flex.html.RadioButton.radioCounter = 0; +org_apache_flex_html_RadioButton.radioCounter = 0; /** * @override */ -org.apache.flex.html.RadioButton.prototype.createElement = +org_apache_flex_html_RadioButton.prototype.createElement = function() { this.input = document.createElement('input'); this.input.type = 'radio'; - this.input.id = '_radio_' + org.apache.flex.html.RadioButton.radioCounter++; + this.input.id = '_radio_' + org_apache_flex_html_RadioButton.radioCounter++; this.textNode = document.createTextNode('radio button'); @@ -74,7 +74,7 @@ org.apache.flex.html.RadioButton.prototype.createElement = /** * @expose */ -org.apache.flex.html.RadioButton.prototype.initModel = +org_apache_flex_html_RadioButton.prototype.initModel = function() { }; @@ -82,7 +82,7 @@ org.apache.flex.html.RadioButton.prototype.initModel = /** * @expose */ -org.apache.flex.html.RadioButton.prototype.initSkin = +org_apache_flex_html_RadioButton.prototype.initSkin = function() { }; @@ -90,8 +90,8 @@ org.apache.flex.html.RadioButton.prototype.initSkin = /** * @override */ -org.apache.flex.html.RadioButton.prototype.set_id = function(value) { - org.apache.flex.html.RadioButton.base(this, 'set_id', value); +org_apache_flex_html_RadioButton.prototype.set_id = function(value) { + org_apache_flex_html_RadioButton.base(this, 'set_id', value); this.labelFor.id = value; this.input.id = value; }; @@ -101,7 +101,7 @@ org.apache.flex.html.RadioButton.prototype.set_id = function(value) { * @expose * @return {string} The groupName getter. */ -org.apache.flex.html.RadioButton.prototype.get_groupName = +org_apache_flex_html_RadioButton.prototype.get_groupName = function() { return this.input.name; }; @@ -111,7 +111,7 @@ org.apache.flex.html.RadioButton.prototype.get_groupName = * @expose * @param {string} value The groupName setter. */ -org.apache.flex.html.RadioButton.prototype.set_groupName = +org_apache_flex_html_RadioButton.prototype.set_groupName = function(value) { this.input.name = value; }; @@ -121,7 +121,7 @@ org.apache.flex.html.RadioButton.prototype.set_groupName = * @expose * @return {string} The text getter. */ -org.apache.flex.html.RadioButton.prototype.get_text = +org_apache_flex_html_RadioButton.prototype.get_text = function() { return this.textNode.nodeValue; }; @@ -131,7 +131,7 @@ org.apache.flex.html.RadioButton.prototype.get_text = * @expose * @param {string} value The text setter. */ -org.apache.flex.html.RadioButton.prototype.set_text = +org_apache_flex_html_RadioButton.prototype.set_text = function(value) { this.textNode.nodeValue = value; }; @@ -141,7 +141,7 @@ org.apache.flex.html.RadioButton.prototype.set_text = * @expose * @return {boolean} The selected getter. */ -org.apache.flex.html.RadioButton.prototype.get_selected = +org_apache_flex_html_RadioButton.prototype.get_selected = function() { return this.input.checked; }; @@ -151,7 +151,7 @@ org.apache.flex.html.RadioButton.prototype.get_selected = * @expose * @param {boolean} value The selected setter. */ -org.apache.flex.html.RadioButton.prototype.set_selected = +org_apache_flex_html_RadioButton.prototype.set_selected = function(value) { this.input.checked = value; }; @@ -161,7 +161,7 @@ org.apache.flex.html.RadioButton.prototype.set_selected = * @expose * @return {Object} The value getter. */ -org.apache.flex.html.RadioButton.prototype.get_value = +org_apache_flex_html_RadioButton.prototype.get_value = function() { return this.input.value; }; @@ -171,7 +171,7 @@ org.apache.flex.html.RadioButton.prototype.get_value = * @expose * @param {Object} value The value setter. */ -org.apache.flex.html.RadioButton.prototype.set_value = +org_apache_flex_html_RadioButton.prototype.set_value = function(value) { this.input.value = value; }; @@ -181,7 +181,7 @@ org.apache.flex.html.RadioButton.prototype.set_value = * @expose * @return {Object} The value of the selected RadioButton. */ -org.apache.flex.html.RadioButton.prototype.get_selectedValue = +org_apache_flex_html_RadioButton.prototype.get_selectedValue = function() { var buttons, groupName, i, n; @@ -202,7 +202,7 @@ org.apache.flex.html.RadioButton.prototype.get_selectedValue = * @expose * @param {Object} value The value of the selected RadioButton. */ -org.apache.flex.html.RadioButton.prototype.set_selectedValue = +org_apache_flex_html_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/html/SimpleAlert.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleAlert.js b/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleAlert.js index 833769b..0937804 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleAlert.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleAlert.js @@ -12,22 +12,22 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.SimpleAlert'); +goog.provide('org_apache_flex_html_SimpleAlert'); -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.html.SimpleAlert = function() { - org.apache.flex.html.SimpleAlert.base(this, 'constructor'); +org_apache_flex_html_SimpleAlert = function() { + org_apache_flex_html_SimpleAlert.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.SimpleAlert, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_SimpleAlert, + org_apache_flex_core_UIBase); /** @@ -35,16 +35,16 @@ goog.inherits(org.apache.flex.html.SimpleAlert, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.SimpleAlert.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_SimpleAlert.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SimpleAlert', - qName: 'org.apache.flex.html.SimpleAlert'}] }; + qName: 'org_apache_flex_html_SimpleAlert'}] }; /** * @param {string} message The message to display in the alert. * @param {Object} host The host that should display the alert. */ -org.apache.flex.html.SimpleAlert.show = +org_apache_flex_html_SimpleAlert.show = function(message, host) { alert(message); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js b/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js index 886565e..1498c65 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js @@ -12,24 +12,23 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.SimpleList'); +goog.provide('org_apache_flex_html_SimpleList'); -goog.require('org.apache.flex.core.ListBase'); -goog.require('org.apache.flex.html.beads.models.ArraySelectionModel'); +goog.require('org_apache_flex_core_ListBase'); +goog.require('org_apache_flex_html_beads_models_ArraySelectionModel'); /** * @constructor - * @extends {org.apache.flex.core.ListBase} + * @extends {org_apache_flex_core_ListBase} */ -org.apache.flex.html.SimpleList = function() { - org.apache.flex.html.SimpleList.base(this, 'constructor'); - this.model = new org.apache.flex.html. - beads.models.ArraySelectionModel(); +org_apache_flex_html_SimpleList = function() { + org_apache_flex_html_SimpleList.base(this, 'constructor'); + this.model = new org_apache_flex_html_beads.models.ArraySelectionModel(); }; -goog.inherits(org.apache.flex.html.SimpleList, - org.apache.flex.core.ListBase); +goog.inherits(org_apache_flex_html_SimpleList, + org_apache_flex_core_ListBase); /** @@ -37,15 +36,15 @@ goog.inherits(org.apache.flex.html.SimpleList, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.SimpleList.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_SimpleList.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SimpleList', - qName: 'org.apache.flex.html.SimpleList'}] }; + qName: 'org_apache_flex_html_SimpleList'}] }; /** * @override */ -org.apache.flex.html.SimpleList.prototype. +org_apache_flex_html_SimpleList.prototype. createElement = function() { this.element = document.createElement('select'); this.element.size = 5; @@ -61,7 +60,7 @@ org.apache.flex.html.SimpleList.prototype. /** * @override */ -org.apache.flex.html.SimpleList.prototype. +org_apache_flex_html_SimpleList.prototype. get_dataProvider = function() { return this.model.get_dataProvider(); }; @@ -70,7 +69,7 @@ org.apache.flex.html.SimpleList.prototype. /** * @override */ -org.apache.flex.html.SimpleList.prototype. +org_apache_flex_html_SimpleList.prototype. set_dataProvider = function(value) { var dp, i, n, opt; @@ -95,7 +94,7 @@ org.apache.flex.html.SimpleList.prototype. /** * @override */ -org.apache.flex.html.SimpleList.prototype. +org_apache_flex_html_SimpleList.prototype. get_selectedIndex = function() { return this.model.get_selectedIndex(); }; @@ -104,7 +103,7 @@ org.apache.flex.html.SimpleList.prototype. /** * @override */ -org.apache.flex.html.SimpleList.prototype. +org_apache_flex_html_SimpleList.prototype. set_selectedIndex = function(value) { this.model.set_selectedIndex(value); }; @@ -113,7 +112,7 @@ org.apache.flex.html.SimpleList.prototype. /** * @override */ -org.apache.flex.html.SimpleList.prototype. +org_apache_flex_html_SimpleList.prototype. get_selectedItem = function() { return this.model.get_selectedItem(); }; @@ -122,7 +121,7 @@ org.apache.flex.html.SimpleList.prototype. /** * @override */ -org.apache.flex.html.SimpleList.prototype. +org_apache_flex_html_SimpleList.prototype. set_selectedItem = function(value) { this.model.set_selectedItem(value); }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js index 73bf8b8..ccc2456 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js @@ -12,27 +12,27 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.Slider'); +goog.provide('org_apache_flex_html_Slider'); -goog.require('org.apache.flex.core.UIBase'); -goog.require('org.apache.flex.html.beads.SliderThumbView'); -goog.require('org.apache.flex.html.beads.SliderTrackView'); -goog.require('org.apache.flex.html.beads.controllers.SliderMouseController'); -goog.require('org.apache.flex.html.beads.models.RangeModel'); +goog.require('org_apache_flex_core_UIBase'); +goog.require('org_apache_flex_html_beads_SliderThumbView'); +goog.require('org_apache_flex_html_beads_SliderTrackView'); +goog.require('org_apache_flex_html_beads_controllers_SliderMouseController'); +goog.require('org_apache_flex_html_beads_models_RangeModel'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html.Slider = function() { +org_apache_flex_html_Slider = function() { this.model = - new org.apache.flex.html.beads.models.RangeModel(); - org.apache.flex.html.Slider.base(this, 'constructor'); + new org_apache_flex_html_beads_models_RangeModel(); + org_apache_flex_html_Slider.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.Slider, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_Slider, + org_apache_flex_core_UIBase); /** @@ -40,29 +40,28 @@ goog.inherits(org.apache.flex.html.Slider, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.Slider.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_Slider.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Slider', - qName: 'org.apache.flex.html.Slider'}] }; + qName: 'org_apache_flex_html_Slider'}] }; /** * @override */ -org.apache.flex.html.Slider.prototype.createElement = +org_apache_flex_html_Slider.prototype.createElement = function() { this.element = document.createElement('div'); this.element.style.width = '200px'; this.element.style.height = '30px'; - this.track = new org.apache.flex.html.beads.SliderTrackView(); + this.track = new org_apache_flex_html_beads_SliderTrackView(); this.addBead(this.track); - this.thumb = new org.apache.flex.html.beads.SliderThumbView(); + this.thumb = new org_apache_flex_html_beads_SliderThumbView(); this.addBead(this.thumb); - this.controller = new org.apache.flex.html.beads.controllers. - SliderMouseController(); + this.controller = new org_apache_flex_html_beads_controllers_SliderMouseController(); this.addBead(this.controller); this.positioner = this.element; @@ -78,7 +77,7 @@ org.apache.flex.html.Slider.prototype.createElement = * @expose * @return {number} The value getter. */ -org.apache.flex.html.Slider.prototype.get_value = +org_apache_flex_html_Slider.prototype.get_value = function() { return this.model.get_value(); }; @@ -89,7 +88,7 @@ org.apache.flex.html.Slider.prototype.get_value = * @param {Object} newValue The new value. * @return {void} The value setter. */ -org.apache.flex.html.Slider.prototype.set_value = +org_apache_flex_html_Slider.prototype.set_value = function(newValue) { this.model.set_value(newValue); this.setThumbFromValue(this.model.get_value()); @@ -100,7 +99,7 @@ org.apache.flex.html.Slider.prototype.set_value = * @expose * @return {number} The minimum getter. */ -org.apache.flex.html.Slider.prototype.get_minimum = +org_apache_flex_html_Slider.prototype.get_minimum = function() { return this.model.get_minimum(); }; @@ -111,7 +110,7 @@ org.apache.flex.html.Slider.prototype.get_minimum = * @param {Object} value The new minimum value. * @return {void} The minimum setter. */ -org.apache.flex.html.Slider.prototype.set_minimum = +org_apache_flex_html_Slider.prototype.set_minimum = function(value) { this.model.set_minimum(value); }; @@ -121,7 +120,7 @@ org.apache.flex.html.Slider.prototype.set_minimum = * @expose * @return {number} The maximum getter. */ -org.apache.flex.html.Slider.prototype.get_maximum = +org_apache_flex_html_Slider.prototype.get_maximum = function() { return this.model.get_maximum(); }; @@ -132,7 +131,7 @@ org.apache.flex.html.Slider.prototype.get_maximum = * @param {Object} value The new maximum value. * @return {void} The maximum setter. */ -org.apache.flex.html.Slider.prototype.set_maximum = +org_apache_flex_html_Slider.prototype.set_maximum = function(value) { this.model.set_maximum(value); }; @@ -142,7 +141,7 @@ org.apache.flex.html.Slider.prototype.set_maximum = * @expose * @return {number} The snapInterval getter. */ -org.apache.flex.html.Slider.prototype.get_snapInterval = +org_apache_flex_html_Slider.prototype.get_snapInterval = function() { return this.model.get_snapInterval(); }; @@ -153,7 +152,7 @@ org.apache.flex.html.Slider.prototype.get_snapInterval = * @param {Object} value The new snapInterval value. * @return {void} The snapInterval setter. */ -org.apache.flex.html.Slider.prototype.set_snapInterval = +org_apache_flex_html_Slider.prototype.set_snapInterval = function(value) { this.model.set_snapInterval(value); }; @@ -163,7 +162,7 @@ org.apache.flex.html.Slider.prototype.set_snapInterval = * @expose * @return {number} The stepSize getter. */ -org.apache.flex.html.Slider.prototype.get_stepSize = +org_apache_flex_html_Slider.prototype.get_stepSize = function() { return this.model.get_stepSize(); }; @@ -174,7 +173,7 @@ org.apache.flex.html.Slider.prototype.get_stepSize = * @param {Object} value The new stepSize value. * @return {void} The stepSize setter. */ -org.apache.flex.html.Slider.prototype.set_stepSize = +org_apache_flex_html_Slider.prototype.set_stepSize = function(value) { this.model.set_stepSize(value); }; @@ -184,7 +183,7 @@ org.apache.flex.html.Slider.prototype.set_stepSize = * @param {Object} value The current value. * @return {number} Calculates the new value based snapInterval and stepSize. */ -org.apache.flex.html.Slider.prototype.snap = function(value) +org_apache_flex_html_Slider.prototype.snap = function(value) { var si = this.get_snapInterval(); var n = Math.round((value - this.get_minimum()) / si) * @@ -205,7 +204,7 @@ org.apache.flex.html.Slider.prototype.snap = function(value) * @param {number} value The value used to calculate new position of the thumb. * @return {void} Moves the thumb to the corresponding position. */ -org.apache.flex.html.Slider.prototype.setThumbFromValue = +org_apache_flex_html_Slider.prototype.setThumbFromValue = function(value) { var min = this.model.get_minimum(); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/Spacer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Spacer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Spacer.js index 2024bd4..c05f1d8 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Spacer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Spacer.js @@ -12,25 +12,25 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.Spacer'); +goog.provide('org_apache_flex_html_Spacer'); -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.html.Spacer = function() { - org.apache.flex.html.Spacer.base(this, 'constructor'); +org_apache_flex_html_Spacer = function() { + org_apache_flex_html_Spacer.base(this, 'constructor'); this.element = document.createElement('div'); this.positioner = this.element; this.element.flexjs_wrapper = this; }; -goog.inherits(org.apache.flex.html.Spacer, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_Spacer, + org_apache_flex_core_UIBase); /** @@ -38,7 +38,7 @@ goog.inherits(org.apache.flex.html.Spacer, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.Spacer.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_Spacer.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Spacer', - qName: 'org.apache.flex.html.Spacer' }] }; + qName: 'org_apache_flex_html_Spacer' }] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js index 116b120..61d532c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js @@ -12,20 +12,20 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.Spinner'); +goog.provide('org_apache_flex_html_Spinner'); -goog.require('org.apache.flex.core.UIBase'); -goog.require('org.apache.flex.html.TextButton'); -goog.require('org.apache.flex.html.beads.controllers.SpinnerMouseController'); +goog.require('org_apache_flex_core_UIBase'); +goog.require('org_apache_flex_html_TextButton'); +goog.require('org_apache_flex_html_beads_controllers_SpinnerMouseController'); /** * @constructor - * @extends {org.apache.flex.core.UIBase} + * @extends {org_apache_flex_core_UIBase} */ -org.apache.flex.html.Spinner = function() { - org.apache.flex.html.Spinner.base(this, 'constructor'); +org_apache_flex_html_Spinner = function() { + org_apache_flex_html_Spinner.base(this, 'constructor'); this.minimum_ = 0; this.maximum_ = 100; @@ -33,8 +33,8 @@ org.apache.flex.html.Spinner = function() { this.stepSize_ = 1; this.snapInterval_ = 1; }; -goog.inherits(org.apache.flex.html.Spinner, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_Spinner, + org_apache_flex_core_UIBase); /** @@ -42,31 +42,30 @@ goog.inherits(org.apache.flex.html.Spinner, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.Spinner.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_Spinner.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Spinner', - qName: 'org.apache.flex.html.Spinner'}] }; + qName: 'org_apache_flex_html_Spinner'}] }; /** * @override */ -org.apache.flex.html.Spinner.prototype.createElement = +org_apache_flex_html_Spinner.prototype.createElement = function() { this.element = document.createElement('div'); this.positioner = this.element; this.element.style.verticalAlign = 'middle'; - this.incrementButton = new org.apache.flex.html.TextButton(); + this.incrementButton = new org_apache_flex_html_TextButton(); this.incrementButton.set_text('\u25B2'); this.addElement(this.incrementButton); - this.decrementButton = new org.apache.flex.html.TextButton(); + this.decrementButton = new org_apache_flex_html_TextButton(); this.decrementButton.set_text('\u25BC'); this.addElement(this.decrementButton); - this.controller = new org.apache.flex.html. - beads.controllers.SpinnerMouseController(); + this.controller = new org_apache_flex_html_beads_controllers_SpinnerMouseController(); this.addBead(this.controller); this.element.flexjs_wrapper = this; @@ -79,7 +78,7 @@ org.apache.flex.html.Spinner.prototype.createElement = * @expose * @return {number} The current value. */ -org.apache.flex.html.Spinner.prototype.get_value = +org_apache_flex_html_Spinner.prototype.get_value = function() { return this.value_; }; @@ -89,7 +88,7 @@ org.apache.flex.html.Spinner.prototype.get_value = * @expose * @param {number} value The new value. */ -org.apache.flex.html.Spinner.prototype.set_value = +org_apache_flex_html_Spinner.prototype.set_value = function(value) { if (value != this.value_) { this.value_ = value; @@ -102,7 +101,7 @@ org.apache.flex.html.Spinner.prototype.set_value = * @expose * @return {number} The minimum value. */ -org.apache.flex.html.Spinner.prototype.get_minimum = function() { +org_apache_flex_html_Spinner.prototype.get_minimum = function() { return this.minimum_; }; @@ -111,7 +110,7 @@ org.apache.flex.html.Spinner.prototype.get_minimum = function() { * @expose * @param {number} value The new minimum value. */ -org.apache.flex.html.Spinner.prototype.set_minimum = +org_apache_flex_html_Spinner.prototype.set_minimum = function(value) { if (value != this.minimum_) { this.minimum_ = value; @@ -124,7 +123,7 @@ org.apache.flex.html.Spinner.prototype.set_minimum = * @expose * @return {number} The maximum value. */ -org.apache.flex.html.Spinner.prototype.get_maximum = +org_apache_flex_html_Spinner.prototype.get_maximum = function() { return this.maximum_; }; @@ -134,7 +133,7 @@ org.apache.flex.html.Spinner.prototype.get_maximum = * @expose * @param {number} value The new maximum setter. */ -org.apache.flex.html.Spinner.prototype.set_maximum = +org_apache_flex_html_Spinner.prototype.set_maximum = function(value) { if (value != this.maximum_) { this.maximum_ = value; @@ -147,7 +146,7 @@ org.apache.flex.html.Spinner.prototype.set_maximum = * @expose * @return {number} The snapInterval. */ -org.apache.flex.html.Spinner.prototype.get_snapInterval = +org_apache_flex_html_Spinner.prototype.get_snapInterval = function() { return this.snapInterval_; }; @@ -157,7 +156,7 @@ org.apache.flex.html.Spinner.prototype.get_snapInterval = * @expose * @param {number} value The new snapInterval value. */ -org.apache.flex.html.Spinner.prototype.set_snapInterval = +org_apache_flex_html_Spinner.prototype.set_snapInterval = function(value) { if (value != this.snapInterval_) { this.snapInterval_ = value; @@ -170,7 +169,7 @@ org.apache.flex.html.Spinner.prototype.set_snapInterval = * @expose * @return {number} The stepSize. */ -org.apache.flex.html.Spinner.prototype.get_stepSize = +org_apache_flex_html_Spinner.prototype.get_stepSize = function() { return this.stepSize_; }; @@ -180,7 +179,7 @@ org.apache.flex.html.Spinner.prototype.get_stepSize = * @expose * @param {number} value The new stepSize value. */ -org.apache.flex.html.Spinner.prototype.set_stepSize = +org_apache_flex_html_Spinner.prototype.set_stepSize = function(value) { if (value != this.stepSize_) { this.stepSize_ = value; @@ -194,7 +193,7 @@ org.apache.flex.html.Spinner.prototype.set_stepSize = * @return {number} The new value based on snapInterval * and stepSize. */ -org.apache.flex.html.Spinner.prototype.snap = function(value) +org_apache_flex_html_Spinner.prototype.snap = function(value) { var si = this.snapInterval_; var n = Math.round((value - this.minimum_) / si) * si + this.minimum_; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js b/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js index 979ffc7..aaba67e 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js @@ -12,21 +12,21 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.TextArea'); +goog.provide('org_apache_flex_html_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.html.TextArea = function() { - org.apache.flex.html.TextArea.base(this, 'constructor'); +org_apache_flex_html_TextArea = function() { + org_apache_flex_html_TextArea.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.TextArea, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_TextArea, + org_apache_flex_core_UIBase); /** @@ -34,15 +34,15 @@ goog.inherits(org.apache.flex.html.TextArea, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.TextArea.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_TextArea.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'TextArea', - qName: 'org.apache.flex.html.TextArea'}] }; + qName: 'org_apache_flex_html_TextArea'}] }; /** * @override */ -org.apache.flex.html.TextArea.prototype.createElement = +org_apache_flex_html_TextArea.prototype.createElement = function() { this.element = document.createElement('textarea'); @@ -57,7 +57,7 @@ org.apache.flex.html.TextArea.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html.TextArea.prototype.get_text = function() { +org_apache_flex_html_TextArea.prototype.get_text = function() { return this.element.value; }; @@ -66,7 +66,7 @@ org.apache.flex.html.TextArea.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html.TextArea.prototype.set_text = +org_apache_flex_html_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/html/TextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js index 45f12ed..1442327 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js @@ -12,21 +12,21 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.TextButton'); +goog.provide('org_apache_flex_html_TextButton'); -goog.require('org.apache.flex.html.Button'); +goog.require('org_apache_flex_html_Button'); /** * @constructor - * @extends {org.apache.flex.html.Button} + * @extends {org_apache_flex_html_Button} */ -org.apache.flex.html.TextButton = function() { - org.apache.flex.html.TextButton.base(this, 'constructor'); +org_apache_flex_html_TextButton = function() { + org_apache_flex_html_TextButton.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.TextButton, - org.apache.flex.html.Button); +goog.inherits(org_apache_flex_html_TextButton, + org_apache_flex_html_Button); /** @@ -34,16 +34,16 @@ goog.inherits(org.apache.flex.html.TextButton, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.TextButton.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_TextButton.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'TextButton', - qName: 'org.apache.flex.html.TextButton'}] }; + qName: 'org_apache_flex_html_TextButton'}] }; /** * @expose * @return {string} The text getter. */ -org.apache.flex.html.TextButton.prototype.get_text = function() { +org_apache_flex_html_TextButton.prototype.get_text = function() { return this.element.innerHTML; }; @@ -52,7 +52,7 @@ org.apache.flex.html.TextButton.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html.TextButton.prototype.set_text = +org_apache_flex_html_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/html/TextInput.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js b/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js index 872e176..b6fb306 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js @@ -12,21 +12,21 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.TextInput'); +goog.provide('org_apache_flex_html_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.html.TextInput = function() { - org.apache.flex.html.TextInput.base(this, 'constructor'); +org_apache_flex_html_TextInput = function() { + org_apache_flex_html_TextInput.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.TextInput, - org.apache.flex.core.UIBase); +goog.inherits(org_apache_flex_html_TextInput, + org_apache_flex_core_UIBase); /** @@ -34,15 +34,15 @@ goog.inherits(org.apache.flex.html.TextInput, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.TextInput.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_TextInput.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'TextInput', - qName: 'org.apache.flex.html.TextInput'}] }; + qName: 'org_apache_flex_html_TextInput'}] }; /** * @override */ -org.apache.flex.html.TextInput.prototype.createElement = function() { +org_apache_flex_html_TextInput.prototype.createElement = function() { this.element = document.createElement('input'); this.element.setAttribute('type', 'input'); @@ -61,7 +61,7 @@ org.apache.flex.html.TextInput.prototype.createElement = function() { * @expose * @return {string} The text getter. */ -org.apache.flex.html.TextInput.prototype.get_text = function() { +org_apache_flex_html_TextInput.prototype.get_text = function() { return this.element.value; }; @@ -70,9 +70,9 @@ org.apache.flex.html.TextInput.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html.TextInput.prototype.set_text = function(value) { +org_apache_flex_html_TextInput.prototype.set_text = function(value) { this.element.value = value; - this.dispatchEvent(new org.apache.flex.events.Event('textChange')); + this.dispatchEvent(new org_apache_flex_events_Event('textChange')); }; @@ -80,7 +80,7 @@ org.apache.flex.html.TextInput.prototype.set_text = function(value) { * @expose * @param {Object} event The event. */ -/*org.apache.flex.html.TextInput.prototype.killChangeHandler = function(event) { +/*org_apache_flex_html_TextInput.prototype.killChangeHandler = function(event) { //event.preventDefault(); };*/ @@ -89,9 +89,9 @@ org.apache.flex.html.TextInput.prototype.set_text = function(value) { * @private * @param {Object} event The event. */ -org.apache.flex.html.TextInput.prototype.inputChangeHandler_ = function(event) { +org_apache_flex_html_TextInput.prototype.inputChangeHandler_ = function(event) { event.stopPropagation(); - this.dispatchEvent(new org.apache.flex.events.Event(org.apache.flex.events.Event.EventType.CHANGE)); - this.dispatchEvent(new org.apache.flex.events.Event('textChange')); + this.dispatchEvent(new org_apache_flex_events_Event(org_apache_flex_events_Event.EventType.CHANGE)); + this.dispatchEvent(new org_apache_flex_events_Event('textChange')); }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js b/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js index 0f4a405..595314a 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js @@ -12,25 +12,25 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.TitleBar'); +goog.provide('org_apache_flex_html_TitleBar'); -goog.require('org.apache.flex.html.Container'); -goog.require('org.apache.flex.html.Label'); -goog.require('org.apache.flex.html.TextButton'); -goog.require('org.apache.flex.html.beads.models.TitleBarModel'); +goog.require('org_apache_flex_html_Container'); +goog.require('org_apache_flex_html_Label'); +goog.require('org_apache_flex_html_TextButton'); +goog.require('org_apache_flex_html_beads_models_TitleBarModel'); /** * @constructor - * @extends {org.apache.flex.html.Container} + * @extends {org_apache_flex_html_Container} */ -org.apache.flex.html.TitleBar = function() { +org_apache_flex_html_TitleBar = function() { - org.apache.flex.html.TitleBar.base(this, 'constructor'); + org_apache_flex_html_TitleBar.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.TitleBar, - org.apache.flex.html.Container); +goog.inherits(org_apache_flex_html_TitleBar, + org_apache_flex_html_Container); /** @@ -38,15 +38,15 @@ goog.inherits(org.apache.flex.html.TitleBar, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.TitleBar.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_TitleBar.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'TitleBar', - qName: 'org.apache.flex.html.TitleBar'}] }; + qName: 'org_apache_flex_html_TitleBar'}] }; /** * @override */ -org.apache.flex.html.TitleBar.prototype.createElement = +org_apache_flex_html_TitleBar.prototype.createElement = function() { this.element = document.createElement('div'); @@ -64,7 +64,7 @@ org.apache.flex.html.TitleBar.prototype.createElement = * @expose * @return {string} The title getter. */ -org.apache.flex.html.TitleBar.prototype.get_title = +org_apache_flex_html_TitleBar.prototype.get_title = function() { return this.model.get_title(); }; @@ -74,7 +74,7 @@ org.apache.flex.html.TitleBar.prototype.get_title = * @expose * @param {string} value The title setter. */ -org.apache.flex.html.TitleBar.prototype.set_title = +org_apache_flex_html_TitleBar.prototype.set_title = function(value) { this.model.set_title(value); }; @@ -84,7 +84,7 @@ org.apache.flex.html.TitleBar.prototype.set_title = * @expose * @return {string} The showCloseButton getter. */ -org.apache.flex.html.TitleBar.prototype.get_showCloseButton = +org_apache_flex_html_TitleBar.prototype.get_showCloseButton = function() { return this.model.get_showCloseButton(); }; @@ -94,7 +94,7 @@ org.apache.flex.html.TitleBar.prototype.get_showCloseButton = * @expose * @param {string} value The title setter. */ -org.apache.flex.html.TitleBar.prototype.set_showCloseButton = +org_apache_flex_html_TitleBar.prototype.set_showCloseButton = function(value) { this.model.set_showCloseButton(value); }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js index 9639afe..4aace7a 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js @@ -12,18 +12,18 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.ToggleTextButton'); +goog.provide('org_apache_flex_html_ToggleTextButton'); -goog.require('org.apache.flex.html.Button'); +goog.require('org_apache_flex_html_Button'); /** * @constructor - * @extends {org.apache.flex.html.Button} + * @extends {org_apache_flex_html_Button} */ -org.apache.flex.html.ToggleTextButton = function() { - org.apache.flex.html.ToggleTextButton.base(this, 'constructor'); +org_apache_flex_html_ToggleTextButton = function() { + org_apache_flex_html_ToggleTextButton.base(this, 'constructor'); @@ -33,8 +33,8 @@ org.apache.flex.html.ToggleTextButton = function() { */ this.selected_ = false; }; -goog.inherits(org.apache.flex.html.ToggleTextButton, - org.apache.flex.html.Button); +goog.inherits(org_apache_flex_html_ToggleTextButton, + org_apache_flex_html_Button); /** @@ -42,16 +42,16 @@ goog.inherits(org.apache.flex.html.ToggleTextButton, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.ToggleTextButton.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_ToggleTextButton.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ToggleTextButton', - qName: 'org.apache.flex.html.ToggleTextButton'}] }; + qName: 'org_apache_flex_html_ToggleTextButton'}] }; /** * @expose * @return {string} The text getter. */ -org.apache.flex.html.ToggleTextButton.prototype.get_text = function() { +org_apache_flex_html_ToggleTextButton.prototype.get_text = function() { return this.element.innerHTML; }; @@ -60,7 +60,7 @@ org.apache.flex.html.ToggleTextButton.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html.ToggleTextButton.prototype.set_text = +org_apache_flex_html_ToggleTextButton.prototype.set_text = function(value) { this.element.innerHTML = value; }; @@ -70,7 +70,7 @@ org.apache.flex.html.ToggleTextButton.prototype.set_text = * @expose * @return {boolean} The selected getter. */ -org.apache.flex.html.ToggleTextButton.prototype.get_selected = +org_apache_flex_html_ToggleTextButton.prototype.get_selected = function() { return this.selected_; }; @@ -80,7 +80,7 @@ org.apache.flex.html.ToggleTextButton.prototype.get_selected = * @expose * @param {boolean} value The selected setter. */ -org.apache.flex.html.ToggleTextButton.prototype.set_selected = +org_apache_flex_html_ToggleTextButton.prototype.set_selected = function(value) { if (this.selected_ != value) { this.selected_ = value; @@ -102,5 +102,5 @@ org.apache.flex.html.ToggleTextButton.prototype.set_selected = /** * @type {string} The selected setter. */ -org.apache.flex.html.ToggleTextButton.prototype.SELECTED = '_Selected'; +org_apache_flex_html_ToggleTextButton.prototype.SELECTED = '_Selected'; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js b/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js index b3f5b07..ab25eed 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/ToolTip.js @@ -12,22 +12,22 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.ToolTip'); +goog.provide('org_apache_flex_html_ToolTip'); -goog.require('org.apache.flex.html.Label'); +goog.require('org_apache_flex_html_Label'); /** * @constructor - * @extends {org.apache.flex.html.Label} + * @extends {org_apache_flex_html_Label} */ -org.apache.flex.html.ToolTip = function() { - org.apache.flex.html.ToolTip.base(this, 'constructor'); +org_apache_flex_html_ToolTip = function() { + org_apache_flex_html_ToolTip.base(this, 'constructor'); this.element.className = 'ToolTip'; }; -goog.inherits(org.apache.flex.html.ToolTip, - org.apache.flex.html.Label); +goog.inherits(org_apache_flex_html_ToolTip, + org_apache_flex_html_Label); /** @@ -35,6 +35,6 @@ goog.inherits(org.apache.flex.html.ToolTip, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.ToolTip.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_ToolTip.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ToolTip', - qName: 'org.apache.flex.html.ToolTip' }]}; + qName: 'org_apache_flex_html_ToolTip' }]}; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/VContainer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/VContainer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/VContainer.js index e1198eb..d7c608a 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/VContainer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/VContainer.js @@ -12,23 +12,23 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.VContainer'); +goog.provide('org_apache_flex_html_VContainer'); -goog.require('org.apache.flex.core.IContainer'); -goog.require('org.apache.flex.html.Container'); +goog.require('org_apache_flex_core_IContainer'); +goog.require('org_apache_flex_html_Container'); /** * @constructor - * @implements {org.apache.flex.core.IContainer} - * @extends {org.apache.flex.html.Container} + * @implements {org_apache_flex_core_IContainer} + * @extends {org_apache_flex_html_Container} */ -org.apache.flex.html.VContainer = function() { - org.apache.flex.html.VContainer.base(this, 'constructor'); +org_apache_flex_html_VContainer = function() { + org_apache_flex_html_VContainer.base(this, 'constructor'); }; -goog.inherits(org.apache.flex.html.VContainer, - org.apache.flex.html.Container); +goog.inherits(org_apache_flex_html_VContainer, + org_apache_flex_html_Container); /** @@ -36,7 +36,7 @@ goog.inherits(org.apache.flex.html.VContainer, * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.VContainer.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_VContainer.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'VContainer', - qName: 'org.apache.flex.html.VContainer' }], - interfaces: [org.apache.flex.core.IContainer] }; + qName: 'org_apache_flex_html_VContainer' }], + interfaces: [org_apache_flex_core_IContainer] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js b/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js index 9d5177d..f602571 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js @@ -12,14 +12,14 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.accessories.NumericOnlyTextInputBead'); +goog.provide('org_apache_flex_html_accessories_NumericOnlyTextInputBead'); /** * @constructor */ -org.apache.flex.html.accessories.NumericOnlyTextInputBead = +org_apache_flex_html_accessories_NumericOnlyTextInputBead = function() { /** @@ -35,16 +35,16 @@ org.apache.flex.html.accessories.NumericOnlyTextInputBead = * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.accessories.NumericOnlyTextInputBead.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_accessories_NumericOnlyTextInputBead.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'NumericOnlyTextInputBead', - qName: 'org.apache.flex.html.accessories.NumericOnlyTextInputBead' }] }; + qName: 'org_apache_flex_html_accessories_NumericOnlyTextInputBead' }] }; /** * @expose * @param {Object} value The new host. */ -org.apache.flex.html.accessories.NumericOnlyTextInputBead. +org_apache_flex_html_accessories_NumericOnlyTextInputBead. prototype.set_strand = function(value) { if (this.strand_ !== value) { this.strand_ = value; @@ -57,7 +57,7 @@ org.apache.flex.html.accessories.NumericOnlyTextInputBead. * @expose * @param {Object} event The input to validate? */ -org.apache.flex.html.accessories.NumericOnlyTextInputBead. +org_apache_flex_html_accessories_NumericOnlyTextInputBead. prototype.validateInput = function(event) { var code = event.charCode; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/PasswordInputBead.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/PasswordInputBead.js b/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/PasswordInputBead.js index b142764..84ac89b 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/PasswordInputBead.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/PasswordInputBead.js @@ -12,14 +12,14 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.accessories.PasswordInputBead'); +goog.provide('org_apache_flex_html_accessories_PasswordInputBead'); /** * @constructor */ -org.apache.flex.html.accessories.PasswordInputBead = +org_apache_flex_html_accessories_PasswordInputBead = function() { /** @@ -35,16 +35,16 @@ org.apache.flex.html.accessories.PasswordInputBead = * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.accessories.PasswordInputBead.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_accessories_PasswordInputBead.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'PasswordInputBead', - qName: 'org.apache.flex.html.accessories.PasswordInputBead' }] }; + qName: 'org_apache_flex_html_accessories_PasswordInputBead' }] }; /** * @expose * @param {Object} value The new host. */ -org.apache.flex.html.accessories.PasswordInputBead. +org_apache_flex_html_accessories_PasswordInputBead. prototype.set_strand = function(value) { if (this.strand_ !== value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/TextPromptBead.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/TextPromptBead.js b/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/TextPromptBead.js index 182c5d3..3011b66 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/TextPromptBead.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/TextPromptBead.js @@ -12,14 +12,14 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.accessories.TextPromptBead'); +goog.provide('org_apache_flex_html_accessories_TextPromptBead'); /** * @constructor */ -org.apache.flex.html.accessories.TextPromptBead = function() { +org_apache_flex_html_accessories_TextPromptBead = function() { /** * @protected @@ -34,16 +34,16 @@ org.apache.flex.html.accessories.TextPromptBead = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.accessories.TextPromptBead.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_accessories_TextPromptBead.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'TextPromptBead', - qName: 'org.apache.flex.html.accessories.TextPromptBead' }] }; + qName: 'org_apache_flex_html_accessories_TextPromptBead' }] }; /** * @expose * @return {string} value The new prompt. */ -org.apache.flex.html.accessories.TextPromptBead.prototype. +org_apache_flex_html_accessories_TextPromptBead.prototype. get_prompt = function() { return this.prompt; }; @@ -53,7 +53,7 @@ org.apache.flex.html.accessories.TextPromptBead.prototype. * @expose * @param {string} value The new prompt. */ -org.apache.flex.html.accessories.TextPromptBead.prototype. +org_apache_flex_html_accessories_TextPromptBead.prototype. set_prompt = function(value) { this.prompt = value; }; @@ -63,7 +63,7 @@ org.apache.flex.html.accessories.TextPromptBead.prototype. * @expose * @param {Object} value The new host. */ -org.apache.flex.html.accessories.TextPromptBead.prototype. +org_apache_flex_html_accessories_TextPromptBead.prototype. set_strand = function(value) { if (this.strand_ !== value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ButtonBarView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ButtonBarView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ButtonBarView.js index 249cc9d..5555e60 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ButtonBarView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ButtonBarView.js @@ -12,25 +12,25 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.beads.ButtonBarView'); +goog.provide('org_apache_flex_html_beads_ButtonBarView'); -goog.require('org.apache.flex.html.beads.ListView'); +goog.require('org_apache_flex_html_beads_ListView'); /** * @constructor - * @extends {org.apache.flex.html.beads.ListView} + * @extends {org_apache_flex_html_beads_ListView} */ -org.apache.flex.html.beads.ButtonBarView = function() { +org_apache_flex_html_beads_ButtonBarView = function() { this.lastSelectedIndex = -1; - org.apache.flex.html.beads.ButtonBarView.base(this, 'constructor'); + org_apache_flex_html_beads_ButtonBarView.base(this, 'constructor'); this.className = 'ButtonBarView'; }; goog.inherits( - org.apache.flex.html.beads.ButtonBarView, - org.apache.flex.html.beads.ListView); + org_apache_flex_html_beads_ButtonBarView, + org_apache_flex_html_beads_ListView); /** @@ -38,18 +38,18 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.ButtonBarView.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_beads_ButtonBarView.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ButtonBarView', - qName: 'org.apache.flex.html.beads.ButtonBarView' }] }; + qName: 'org_apache_flex_html_beads_ButtonBarView' }] }; /** * @expose * @param {Object} value The new host. */ -org.apache.flex.html.beads.ButtonBarView.prototype.set_strand = +org_apache_flex_html_beads_ButtonBarView.prototype.set_strand = function(value) { - org.apache.flex.html.beads.ButtonBarView.base(this, 'set_strand', value); + org_apache_flex_html_beads_ButtonBarView.base(this, 'set_strand', value); this.strand_ = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js index 6e9b1da..6d76e9b 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ContainerView.js @@ -12,26 +12,26 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.beads.ContainerView'); +goog.provide('org_apache_flex_html_beads_ContainerView'); -goog.require('org.apache.flex.core.BeadViewBase'); -goog.require('org.apache.flex.core.ILayoutParent'); +goog.require('org_apache_flex_core_BeadViewBase'); +goog.require('org_apache_flex_core_ILayoutParent'); /** * @constructor - * @extends {org.apache.flex.core.BeadViewBase} + * @extends {org_apache_flex_core_BeadViewBase} */ -org.apache.flex.html.beads.ContainerView = function() { +org_apache_flex_html_beads_ContainerView = function() { this.lastSelectedIndex = -1; - org.apache.flex.html.beads.ContainerView.base(this, 'constructor'); + org_apache_flex_html_beads_ContainerView.base(this, 'constructor'); this.className = 'ContainerView'; }; goog.inherits( - org.apache.flex.html.beads.ContainerView, - org.apache.flex.core.BeadViewBase); + org_apache_flex_html_beads_ContainerView, + org_apache_flex_core_BeadViewBase); /** @@ -39,10 +39,10 @@ goog.inherits( * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.ContainerView.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_beads_ContainerView.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ContainerView', - qName: 'org.apache.flex.html.beads.ContainerView' }], - interfaces: [org.apache.flex.core.ILayoutParent] + qName: 'org_apache_flex_html_beads_ContainerView' }], + interfaces: [org_apache_flex_core_ILayoutParent] }; @@ -50,7 +50,7 @@ org.apache.flex.html.beads.ContainerView.prototype.FLEXJS_CLASS_INFO = * @expose * @return {Object} value The content view. */ -org.apache.flex.html.beads.ContainerView.prototype.get_contentView = +org_apache_flex_html_beads_ContainerView.prototype.get_contentView = function() { return this._strand; @@ -61,7 +61,7 @@ org.apache.flex.html.beads.ContainerView.prototype.get_contentView = * @expose * @return {Object} value The resizeable view. */ -org.apache.flex.html.beads.ContainerView.prototype.get_resizableView = +org_apache_flex_html_beads_ContainerView.prototype.get_resizableView = function() { return this._strand; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js index aedb250..0994346 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js @@ -12,22 +12,22 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.beads.DataItemRendererFactoryForArrayData'); +goog.provide('org_apache_flex_html_beads_DataItemRendererFactoryForArrayData'); -goog.require('org.apache.flex.core.IDataProviderItemRendererMapper'); -goog.require('org.apache.flex.core.IListPresentationModel'); -goog.require('org.apache.flex.events.EventDispatcher'); -goog.require('org.apache.flex.html.beads.ListView'); -goog.require('org.apache.flex.html.beads.models.ArraySelectionModel'); -goog.require('org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer'); +goog.require('org_apache_flex_core_IDataProviderItemRendererMapper'); +goog.require('org_apache_flex_core_IListPresentationModel'); +goog.require('org_apache_flex_events_EventDispatcher'); +goog.require('org_apache_flex_html_beads_ListView'); +goog.require('org_apache_flex_html_beads_models_ArraySelectionModel'); +goog.require('org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer'); /** * @constructor - * @implements {org.apache.flex.core.IDataProviderItemRendererMapper} + * @implements {org_apache_flex_core_IDataProviderItemRendererMapper} */ -org.apache.flex.html.beads.DataItemRendererFactoryForArrayData = +org_apache_flex_html_beads_DataItemRendererFactoryForArrayData = function() { }; @@ -35,7 +35,7 @@ org.apache.flex.html.beads.DataItemRendererFactoryForArrayData = /** * @expose */ -org.apache.flex.html.beads.DataItemRendererFactoryForArrayData.prototype.itemRendererFactory = null; +org_apache_flex_html_beads_DataItemRendererFactoryForArrayData.prototype.itemRendererFactory = null; /** @@ -43,18 +43,18 @@ org.apache.flex.html.beads.DataItemRendererFactoryForArrayData.prototype.itemRen * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. +org_apache_flex_html_beads_DataItemRendererFactoryForArrayData. prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'DataItemRendererFactoryForArrayData', - qName: 'org.apache.flex.html.beads.DataItemRendererFactoryForArrayData' }], - interfaces: [org.apache.flex.core.IDataProviderItemRendererMapper] }; + qName: 'org_apache_flex_html_beads_DataItemRendererFactoryForArrayData' }], + interfaces: [org_apache_flex_core_IDataProviderItemRendererMapper] }; /** * @private * @type {Object} */ -org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. +org_apache_flex_html_beads_DataItemRendererFactoryForArrayData. prototype.itemRendererClass_ = null; @@ -62,25 +62,25 @@ org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. * @expose * @param {Object} value The component strand. */ -org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. +org_apache_flex_html_beads_DataItemRendererFactoryForArrayData. prototype.set_strand = function(value) { this.strand_ = value; this.model = value.getBeadByType( - org.apache.flex.html.beads.models.ArraySelectionModel); + org_apache_flex_html_beads_models_ArraySelectionModel); this.listView = value.getBeadByType( - org.apache.flex.html.beads.ListView); + org_apache_flex_html_beads_ListView); this.dataGroup = this.listView.get_dataGroup(); this.model.addEventListener('dataProviderChanged', goog.bind(this.dataProviderChangedHandler, this)); - if (org.apache.flex.core.ValuesManager.valuesImpl.getValue && !this.itemRendererFactory_) { + if (org_apache_flex_core_ValuesManager.valuesImpl.getValue && !this.itemRendererFactory_) { /** * @type {Function} */ - var c = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.getValue(this.strand_, + var c = /** @type {Function} */ (org_apache_flex_core_ValuesManager.valuesImpl.getValue(this.strand_, 'iItemRendererClassFactory')); this.itemRendererFactory_ = new c(); this.strand_.addBead(this.itemRendererFactory_); @@ -94,10 +94,10 @@ org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. * @expose * @return {Object} The itemRenderer. */ -org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. +org_apache_flex_html_beads_DataItemRendererFactoryForArrayData. prototype.get_itemRendererClass = function() { - if (org.apache.flex.core.ValuesManager.valuesImpl.getValue && !this.itemRendererClass_) { - var c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this.strand_, 'iItemRenderer'); + if (org_apache_flex_core_ValuesManager.valuesImpl.getValue && !this.itemRendererClass_) { + var c = org_apache_flex_core_ValuesManager.valuesImpl.getValue(this.strand_, 'iItemRenderer'); if (c) { this.itemRendererClass_ = c; } @@ -110,7 +110,7 @@ org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. * @expose * @param {Object} value class to use for the item renderer. */ -org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. +org_apache_flex_html_beads_DataItemRendererFactoryForArrayData. prototype.set_itemRendererClass = function(value) { this.itemRendererClass_ = value; }; @@ -120,13 +120,13 @@ org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. * @expose * @param {Object} event The event that triggered the dataProvider change. */ -org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. +org_apache_flex_html_beads_DataItemRendererFactoryForArrayData. prototype.dataProviderChangedHandler = function(event) { var dp, i, n, opt; this.dataGroup.removeAllElements(); - var presModel = this.strand_.getBeadByType(org.apache.flex.core.IListPresentationModel); + var presModel = this.strand_.getBeadByType(org_apache_flex_core_IListPresentationModel); dp = this.model.get_dataProvider(); n = dp.length; @@ -138,6 +138,6 @@ org.apache.flex.html.beads.DataItemRendererFactoryForArrayData. if (presModel) ir.set_height(presModel.get_rowHeight()); } - var newEvent = new org.apache.flex.events.Event('itemsCreated'); + var newEvent = new org_apache_flex_events_Event('itemsCreated'); this.strand_.dispatchEvent(newEvent); }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/IListView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/IListView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/IListView.js index b1c8458..a4d0bf5 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/IListView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/IListView.js @@ -17,9 +17,9 @@ * @suppress {checkTypes} */ -goog.provide('org.apache.flex.html.beads.IListView'); +goog.provide('org_apache_flex_html_beads_IListView'); -goog.require('org.apache.flex.core.IBeadView'); +goog.require('org_apache_flex_core_IBeadView'); @@ -28,7 +28,7 @@ goog.require('org.apache.flex.core.IBeadView'); * * @interface */ -org.apache.flex.html.beads.IListView = function() { +org_apache_flex_html_beads_IListView = function() { }; @@ -37,7 +37,7 @@ org.apache.flex.html.beads.IListView = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.IListView.prototype.FLEXJS_CLASS_INFO = +org_apache_flex_html_beads_IListView.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IListView', - qName: 'org.apache.flex.html.beads.IListView'}], - interfaces: [org.apache.flex.core.IBeadView] }; + qName: 'org_apache_flex_html_beads_IListView'}], + interfaces: [org_apache_flex_core_IBeadView] }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageButtonView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageButtonView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageButtonView.js index 838425a..3f17c84 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageButtonView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageButtonView.js @@ -12,14 +12,14 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.beads.ImageButtonView'); +goog.provide('org_apache_flex_html_beads_ImageButtonView'); /** * @constructor */ -org.apache.flex.html.beads.ImageButtonView = function() { +org_apache_flex_html_beads_ImageButtonView = function() { }; @@ -28,17 +28,17 @@ org.apache.flex.html.beads.ImageButtonView = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.ImageButtonView +org_apache_flex_html_beads_ImageButtonView .prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ImageButtonView', - qName: 'org.apache.flex.html.beads.ImageButtonView'}] }; + qName: 'org_apache_flex_html_beads_ImageButtonView'}] }; /** * @expose * @param {Object} value The new host. */ -org.apache.flex.html.beads.ImageButtonView.prototype.set_strand = +org_apache_flex_html_beads_ImageButtonView.prototype.set_strand = function(value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageView.js index c211975..94b6846 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ImageView.js @@ -12,17 +12,17 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html.beads.ImageView'); +goog.provide('org_apache_flex_html_beads_ImageView'); -goog.require('org.apache.flex.html.beads.models.ImageModel'); +goog.require('org_apache_flex_html_beads_models_ImageModel'); /** * @constructor */ -org.apache.flex.html.beads.ImageView = function() { +org_apache_flex_html_beads_ImageView = function() { }; @@ -31,23 +31,23 @@ org.apache.flex.html.beads.ImageView = function() { * * @type {Object.<string, Array.<Object>>} */ -org.apache.flex.html.beads.ImageView +org_apache_flex_html_beads_ImageView .prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ImageView', - qName: 'org.apache.flex.html.beads.ImageView'}] }; + qName: 'org_apache_flex_html_beads_ImageView'}] }; /** * @expose * @param {Object} value The new host. */ -org.apache.flex.html.beads.ImageView.prototype.set_strand = +org_apache_flex_html_beads_ImageView.prototype.set_strand = function(value) { this.strand_ = value; this.model = value.getBeadByType( - org.apache.flex.html.beads.models.ImageModel); + org_apache_flex_html_beads_models_ImageModel); this.model.addEventListener('sourceChanged', goog.bind(this.sourceChangeHandler, this)); }; @@ -57,7 +57,7 @@ org.apache.flex.html.beads.ImageView.prototype.set_strand = * @expose * @param {Object} event The event triggered by the source change. */ -org.apache.flex.html.beads.ImageView.prototype. +org_apache_flex_html_beads_ImageView.prototype. sourceChangeHandler = function(event) { this.strand_.element.src = this.model.get_source(); };
