rename packages in these files
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/189fb58a Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/189fb58a Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/189fb58a Branch: refs/heads/develop Commit: 189fb58ad323602674b458ab798103988f0d9789 Parents: 8d37ef3 Author: Alex Harui <[email protected]> Authored: Tue Mar 25 11:10:33 2014 -0700 Committer: Alex Harui <[email protected]> Committed: Tue Mar 25 11:10:33 2014 -0700 ---------------------------------------------------------------------- .../src/org/apache/flex/html5/Button.as | 2 +- .../src/org/apache/flex/html5/CheckBox.as | 2 +- .../src/org/apache/flex/html5/ComboBox.as | 2 +- .../src/org/apache/flex/html5/DropDownList.as | 2 +- .../FlexJSUI/src/org/apache/flex/html5/Label.as | 2 +- .../FlexJSUI/src/org/apache/flex/html5/List.as | 2 +- .../src/org/apache/flex/html5/RadioButton.as | 2 +- .../src/org/apache/flex/html5/TextArea.as | 2 +- .../src/org/apache/flex/html5/TextButton.as | 2 +- .../src/org/apache/flex/html5/TextInput.as | 2 +- .../src/org/apache/flex/html5/CheckBox.js | 16 ++++++++-------- .../src/org/apache/flex/html5/ComboBox.js | 20 ++++++++++---------- .../src/org/apache/flex/html5/DropDownList.js | 6 +++--- .../FlexJS/src/org/apache/flex/html5/Label.js | 12 ++++++------ .../js/FlexJS/src/org/apache/flex/html5/List.js | 8 ++++---- .../src/org/apache/flex/html5/RadioButton.js | 20 ++++++++++---------- .../src/org/apache/flex/html5/TextArea.js | 12 ++++++------ .../src/org/apache/flex/html5/TextButton.js | 12 ++++++------ .../src/org/apache/flex/html5/TextInput.js | 12 ++++++------ 19 files changed, 69 insertions(+), 69 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Button.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Button.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Button.as index f111168..41a81ab 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Button.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Button.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.Button; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/CheckBox.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/CheckBox.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/CheckBox.as index 5b7d875..8af13ac 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/CheckBox.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/CheckBox.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.CheckBox; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/ComboBox.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/ComboBox.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/ComboBox.as index 3c8e586..2c10af6 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/ComboBox.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/ComboBox.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.ComboBox; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/DropDownList.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/DropDownList.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/DropDownList.as index 3d4dfd5..41dea1a 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/DropDownList.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/DropDownList.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.DropDownList; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Label.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Label.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Label.as index 4a730a6..d6ee5d2 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Label.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/Label.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.Label; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/List.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/List.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/List.as index 4d3a9aa..8c501bd 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/List.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/List.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.List; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/RadioButton.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/RadioButton.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/RadioButton.as index d45440f..f3f1fa7 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/RadioButton.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/RadioButton.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.RadioButton; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextArea.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextArea.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextArea.as index 0bb5bc8..59363f7 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextArea.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextArea.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.TextArea; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextButton.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextButton.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextButton.as index 00984fc..d92bf03 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextButton.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextButton.as @@ -16,7 +16,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.TextButton; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextInput.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextInput.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextInput.as index 9bc9a1d..91d1eb9 100644 --- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextInput.as +++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html5/TextInput.as @@ -15,7 +15,7 @@ // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// -package org.apache.flex.html5.staticControls +package org.apache.flex.html5 { import org.apache.flex.html.TextInput; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/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 4bb0af5..fff02e9 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.CheckBox'); +goog.provide('org.apache.flex.html5.CheckBox'); goog.require('org.apache.flex.core.UIBase'); @@ -22,17 +22,17 @@ goog.require('org.apache.flex.core.UIBase'); * @constructor * @extends {org.apache.flex.core.UIBase} */ -org.apache.flex.html5.staticControls.CheckBox = function() { +org.apache.flex.html5.CheckBox = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.CheckBox, +goog.inherits(org.apache.flex.html5.CheckBox, org.apache.flex.core.UIBase); /** * @override */ -org.apache.flex.html5.staticControls.CheckBox.prototype.createElement = +org.apache.flex.html5.CheckBox.prototype.createElement = function() { var cb; @@ -53,7 +53,7 @@ org.apache.flex.html5.staticControls.CheckBox.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.staticControls.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.staticControls.CheckBox.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.staticControls.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.staticControls.CheckBox.prototype.set_text = * @expose * @return {boolean} The selected getter. */ -org.apache.flex.html5.staticControls.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.staticControls.CheckBox.prototype.get_selected = * @expose * @param {boolean} value The selected setter. */ -org.apache.flex.html5.staticControls.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/189fb58a/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 b6925e6..07427a8 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.ComboBox'); +goog.provide('org.apache.flex.html5.ComboBox'); goog.require('org.apache.flex.core.ListBase'); @@ -22,17 +22,17 @@ goog.require('org.apache.flex.core.ListBase'); * @constructor * @extends {org.apache.flex.core.ListBase} */ -org.apache.flex.html5.staticControls.ComboBox = function() { +org.apache.flex.html5.ComboBox = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.ComboBox, +goog.inherits(org.apache.flex.html5.ComboBox, org.apache.flex.core.ListBase); /** * @override */ -org.apache.flex.html5.staticControls.ComboBox.prototype.createElement = +org.apache.flex.html5.ComboBox.prototype.createElement = function() { var button, input; @@ -72,7 +72,7 @@ org.apache.flex.html5.staticControls.ComboBox.prototype.createElement = * @expose * @param {Event} event The event. */ -org.apache.flex.html5.staticControls.ComboBox.prototype.selectChanged = +org.apache.flex.html5.ComboBox.prototype.selectChanged = function(event) { var select; @@ -90,7 +90,7 @@ org.apache.flex.html5.staticControls.ComboBox.prototype.selectChanged = * @expose * @param {Event} event The event. */ -org.apache.flex.html5.staticControls.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.staticControls.ComboBox.prototype.dismissPopup = * @expose * @param {Event} event The event. */ -org.apache.flex.html5.staticControls.ComboBox.prototype.buttonClicked = +org.apache.flex.html5.ComboBox.prototype.buttonClicked = function(event) { /** * @type {Array.<string>} @@ -171,7 +171,7 @@ org.apache.flex.html5.staticControls.ComboBox.prototype.buttonClicked = * @expose * @param {Array.<Object>} value The collection of data. */ -org.apache.flex.html5.staticControls.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.staticControls.ComboBox.prototype.set_dataProvider = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.staticControls.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.staticControls.ComboBox.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.staticControls.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/189fb58a/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 406c262..fd34f61 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/DropDownList.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/DropDownList.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.DropDownList'); +goog.provide('org.apache.flex.html5.DropDownList'); goog.require('org.apache.flex.core.ListBase'); @@ -22,8 +22,8 @@ goog.require('org.apache.flex.core.ListBase'); * @constructor * @extends {org.apache.flex.core.ListBase} */ -org.apache.flex.html5.staticControls.DropDownList = function() { +org.apache.flex.html5.DropDownList = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.DropDownList, +goog.inherits(org.apache.flex.html5.DropDownList, org.apache.flex.core.ListBase); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/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 0265ce7..3221222 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.Label'); +goog.provide('org.apache.flex.html5.Label'); goog.require('org.apache.flex.core.UIBase'); @@ -22,17 +22,17 @@ goog.require('org.apache.flex.core.UIBase'); * @constructor * @extends {org.apache.flex.core.UIBase} */ -org.apache.flex.html5.staticControls.Label = function() { +org.apache.flex.html5.Label = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.Label, +goog.inherits(org.apache.flex.html5.Label, org.apache.flex.core.UIBase); /** * @override */ -org.apache.flex.html5.staticControls.Label.prototype.createElement = +org.apache.flex.html5.Label.prototype.createElement = function() { goog.base(this, 'createElement'); @@ -46,7 +46,7 @@ org.apache.flex.html5.staticControls.Label.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.staticControls.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.staticControls.Label.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.staticControls.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/189fb58a/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 754a77f..5d0eb74 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/List.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/List.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.List'); +goog.provide('org.apache.flex.html5.List'); goog.require('org.apache.flex.core.ListBase'); @@ -22,17 +22,17 @@ goog.require('org.apache.flex.core.ListBase'); * @constructor * @extends {org.apache.flex.core.ListBase} */ -org.apache.flex.html5.staticControls.List = function() { +org.apache.flex.html5.List = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.List, +goog.inherits(org.apache.flex.html5.List, org.apache.flex.core.ListBase); /** * @override */ -org.apache.flex.html5.staticControls.List.prototype.createElement = +org.apache.flex.html5.List.prototype.createElement = function() { goog.base(this, 'createElement'); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/189fb58a/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 4e5bc1f..ce2e2a3 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.RadioButton'); +goog.provide('org.apache.flex.html5.RadioButton'); goog.require('org.apache.flex.core.UIBase'); @@ -22,17 +22,17 @@ goog.require('org.apache.flex.core.UIBase'); * @constructor * @extends {org.apache.flex.core.UIBase} */ -org.apache.flex.html5.staticControls.RadioButton = function() { +org.apache.flex.html5.RadioButton = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.RadioButton, +goog.inherits(org.apache.flex.html5.RadioButton, org.apache.flex.core.UIBase); /** * @override */ -org.apache.flex.html5.staticControls.RadioButton.prototype.createElement = +org.apache.flex.html5.RadioButton.prototype.createElement = function() { var rb; @@ -53,7 +53,7 @@ org.apache.flex.html5.staticControls.RadioButton.prototype.createElement = * @expose * @return {string} The groupName getter. */ -org.apache.flex.html5.staticControls.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.staticControls.RadioButton.prototype.get_groupName = * @expose * @param {string} value The groupName setter. */ -org.apache.flex.html5.staticControls.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.staticControls.RadioButton.prototype.set_groupName = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.staticControls.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.staticControls.RadioButton.prototype.get_text = * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.staticControls.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.staticControls.RadioButton.prototype.set_text = * @expose * @return {boolean} The selected getter. */ -org.apache.flex.html5.staticControls.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.staticControls.RadioButton.prototype.get_selected = * @expose * @param {boolean} value The selected setter. */ -org.apache.flex.html5.staticControls.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/189fb58a/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 e65d895..ad6244c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.TextArea'); +goog.provide('org.apache.flex.html5.TextArea'); goog.require('org.apache.flex.core.UIBase'); @@ -22,17 +22,17 @@ goog.require('org.apache.flex.core.UIBase'); * @constructor * @extends {org.apache.flex.core.UIBase} */ -org.apache.flex.html5.staticControls.TextArea = function() { +org.apache.flex.html5.TextArea = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.TextArea, +goog.inherits(org.apache.flex.html5.TextArea, org.apache.flex.core.UIBase); /** * @override */ -org.apache.flex.html5.staticControls.TextArea.prototype.createElement = +org.apache.flex.html5.TextArea.prototype.createElement = function() { this.element = document.createElement('textarea'); @@ -46,7 +46,7 @@ org.apache.flex.html5.staticControls.TextArea.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.staticControls.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.staticControls.TextArea.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.staticControls.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/189fb58a/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 a244aa5..57229ef 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.TextButton'); +goog.provide('org.apache.flex.html5.TextButton'); goog.require('org.apache.flex.core.UIBase'); @@ -22,17 +22,17 @@ goog.require('org.apache.flex.core.UIBase'); * @constructor * @extends {org.apache.flex.core.UIBase} */ -org.apache.flex.html5.staticControls.TextButton = function() { +org.apache.flex.html5.TextButton = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.TextButton, +goog.inherits(org.apache.flex.html5.TextButton, org.apache.flex.core.UIBase); /** * @override */ -org.apache.flex.html5.staticControls.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.staticControls.TextButton.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.staticControls.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.staticControls.TextButton.prototype.get_text = * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.staticControls.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/189fb58a/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 9dc0d83..c31ffc0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js @@ -12,7 +12,7 @@ * limitations under the License. */ -goog.provide('org.apache.flex.html5.staticControls.TextInput'); +goog.provide('org.apache.flex.html5.TextInput'); goog.require('org.apache.flex.core.UIBase'); @@ -22,17 +22,17 @@ goog.require('org.apache.flex.core.UIBase'); * @constructor * @extends {org.apache.flex.core.UIBase} */ -org.apache.flex.html5.staticControls.TextInput = function() { +org.apache.flex.html5.TextInput = function() { goog.base(this); }; -goog.inherits(org.apache.flex.html5.staticControls.TextInput, +goog.inherits(org.apache.flex.html5.TextInput, org.apache.flex.core.UIBase); /** * @override */ -org.apache.flex.html5.staticControls.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.staticControls.TextInput.prototype.createElement = * @expose * @return {string} The text getter. */ -org.apache.flex.html5.staticControls.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.staticControls.TextInput.prototype.get_text = function() { * @expose * @param {string} value The text setter. */ -org.apache.flex.html5.staticControls.TextInput.prototype.set_text = +org.apache.flex.html5.TextInput.prototype.set_text = function(value) { this.element.value = value; };
