http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 cae09d7..1fa21e0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js @@ -60,11 +60,11 @@ org_apache_flex_html_TextInput.prototype.createElement = function() { Object.defineProperties(org_apache_flex_html_TextInput.prototype, { 'text': { - /** @this {org_apache_flex_html_TextInput} */ + /** @this {org_apache_flex_html_TextInput} */ get: function() { return this.element.value; }, - /** @this {org_apache_flex_html_TextInput} */ + /** @this {org_apache_flex_html_TextInput} */ set: function(value) { this.element.value = value; this.dispatchEvent(new org_apache_flex_events_Event('textChange'));
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 3ca1f03..0867b49 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js @@ -62,23 +62,23 @@ org_apache_flex_html_TitleBar.prototype.createElement = Object.defineProperties(org_apache_flex_html_TitleBar.prototype, { 'title': { - /** @this {org_apache_flex_html_TitleBar} */ + /** @this {org_apache_flex_html_TitleBar} */ get: function() { return this.model.title; - }, - /** @this {org_apache_flex_html_TitleBar} */ + }, + /** @this {org_apache_flex_html_TitleBar} */ set: function(value) { this.model.title = value; - } - }, + } + }, 'showCloseButton': { - /** @this {org_apache_flex_html_TitleBar} */ + /** @this {org_apache_flex_html_TitleBar} */ get: function() { return this.model.showCloseButton; - }, - /** @this {org_apache_flex_html_TitleBar} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_TitleBar} */ + set: function(value) { this.model.showCloseButton = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 0ab348e..c7bfaeb 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js @@ -49,21 +49,21 @@ org_apache_flex_html_ToggleTextButton.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_html_ToggleTextButton.prototype, { 'text': { - /** @this {org_apache_flex_html_ToggleTextButton} */ + /** @this {org_apache_flex_html_ToggleTextButton} */ get: function() { return this.element.innerHTML; }, - /** @this {org_apache_flex_html_ToggleTextButton} */ + /** @this {org_apache_flex_html_ToggleTextButton} */ set: function(value) { this.element.innerHTML = value; } }, 'selected': { - /** @this {org_apache_flex_html_ToggleTextButton} */ + /** @this {org_apache_flex_html_ToggleTextButton} */ get: function() { return this.selected_; }, - /** @this {org_apache_flex_html_ToggleTextButton} */ + /** @this {org_apache_flex_html_ToggleTextButton} */ set: function(value) { if (this.selected_ != value) { this.selected_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 c8e925c..7375b36 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 @@ -42,7 +42,7 @@ org_apache_flex_html_accessories_NumericOnlyTextInputBead.prototype.FLEXJS_CLASS Object.defineProperties(org_apache_flex_html_accessories_NumericOnlyTextInputBead.prototype, { 'strand': { - /** @this {org_apache_flex_html_accessories_NumericOnlyTextInputBead} */ + /** @this {org_apache_flex_html_accessories_NumericOnlyTextInputBead} */ set: function(value) { if (this.strand_ !== value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 460aff9..bba9796 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 @@ -42,7 +42,7 @@ org_apache_flex_html_accessories_PasswordInputBead.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_html_accessories_PasswordInputBead.prototype, { 'strand': { - /** @this {org_apache_flex_html_accessories_PasswordInputBead} */ + /** @this {org_apache_flex_html_accessories_PasswordInputBead} */ set: function(value) { if (this.strand_ !== value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 5070da4..1cfacb3 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 @@ -43,20 +43,20 @@ Object.defineProperties(org_apache_flex_html_accessories_TextPromptBead.prototyp 'strand': { /** @this {org_apache_flex_html_accessories_TextPromptBead} */ set: function(value) { - if (this.strand_ !== value) { - this.strand_ = value; - value.element.placeholder = this.prompt; - } - } - }, + if (this.strand_ !== value) { + this.strand_ = value; + value.element.placeholder = this.prompt; + } + } + }, 'prompt': { /** @this {org_apache_flex_html_accessories_TextPromptBead} */ - get: function() { + get: function() { return this.prompt; - }, + }, /** @this {org_apache_flex_html_accessories_TextPromptBead} */ set: function(value) { this.prompt = value; } - } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 97a7dfa..c9d0605 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 @@ -49,8 +49,8 @@ Object.defineProperties(org_apache_flex_html_beads_ButtonBarView.prototype, { /** @this {org_apache_flex_html_beads_ButtonBarView} */ set: function(value) { org_apache_flex_utils_Language.superSetter( - org_apache_flex_html_beads_ButtonBarView, this, 'strand', value); + org_apache_flex_html_beads_ButtonBarView, this, 'strand', value); this.strand_ = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 d78f78d..3da4b06 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 @@ -51,12 +51,12 @@ Object.defineProperties(org_apache_flex_html_beads_ContainerView.prototype, { /** @this {org_apache_flex_html_beads_ContainerView} */ get: function() { return this._strand; - } - }, + } + }, 'resizableView': { /** @this {org_apache_flex_html_beads_ContainerView} */ get: function() { return this._strand; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 400ad90..a63a70d 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 @@ -39,6 +39,6 @@ Object.defineProperties(org_apache_flex_html_beads_ImageButtonView.prototype, { /** @this {org_apache_flex_html_beads_ImageButtonView} */ set: function(value) { this.strand_ = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 c926cdb..e0acf17 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 @@ -47,8 +47,8 @@ Object.defineProperties(org_apache_flex_html_beads_ImageView.prototype, { org_apache_flex_html_beads_models_ImageModel); this.model.addEventListener('sourceChanged', goog.bind(this.sourceChangeHandler, this)); - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ListView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ListView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ListView.js index 0d763b7..80b56c7 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ListView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ListView.js @@ -54,49 +54,49 @@ Object.defineProperties(org_apache_flex_html_beads_ListView.prototype, { 'strand': { /** @this {org_apache_flex_html_beads_ListView} */ set: function(value) { - this.strand_ = value; - - this.strand_.addEventListener('sizeChanged', - goog.bind(this.handleSizeChange, this)); - this.strand_.addEventListener('widthChanged', - goog.bind(this.handleSizeChange, this)); - this.strand_.addEventListener('heightChanged', - goog.bind(this.handleSizeChange, this)); - - this.model = this.strand_.model; - this.model.addEventListener('selectedIndexChanged', - goog.bind(this.selectionChangeHandler, this)); - this.model.addEventListener('dataProviderChanged', - goog.bind(this.dataProviderChangeHandler, this)); - - if (this.dataGroup_ == null) { - var m2 = org_apache_flex_core_ValuesManager.valuesImpl. - getValue(this.strand_, 'iDataGroup'); - this.dataGroup_ = new m2(); - } - this.dataGroup_.strand = this; - this.strand_.addElement(this.dataGroup_); - - if (this.strand_.getBeadByType(org_apache_flex_core_IBeadLayout) == null) { - var m3 = org_apache_flex_core_ValuesManager.valuesImpl.getValue(this.strand_, 'iBeadLayout'); - this.layout_ = new m3(); - this.strand_.addBead(this.layout_); - //this.layout_.strand = this.strand_; - } - - this.handleSizeChange(null); - } - }, + this.strand_ = value; + + this.strand_.addEventListener('sizeChanged', + goog.bind(this.handleSizeChange, this)); + this.strand_.addEventListener('widthChanged', + goog.bind(this.handleSizeChange, this)); + this.strand_.addEventListener('heightChanged', + goog.bind(this.handleSizeChange, this)); + + this.model = this.strand_.model; + this.model.addEventListener('selectedIndexChanged', + goog.bind(this.selectionChangeHandler, this)); + this.model.addEventListener('dataProviderChanged', + goog.bind(this.dataProviderChangeHandler, this)); + + if (this.dataGroup_ == null) { + var m2 = org_apache_flex_core_ValuesManager.valuesImpl. + getValue(this.strand_, 'iDataGroup'); + this.dataGroup_ = new m2(); + } + this.dataGroup_.strand = this; + this.strand_.addElement(this.dataGroup_); + + if (this.strand_.getBeadByType(org_apache_flex_core_IBeadLayout) == null) { + var m3 = org_apache_flex_core_ValuesManager.valuesImpl.getValue(this.strand_, 'iBeadLayout'); + this.layout_ = new m3(); + this.strand_.addBead(this.layout_); + //this.layout_.strand = this.strand_; + } + + this.handleSizeChange(null); + } + }, 'dataGroup': { /** @this {org_apache_flex_html_beads_ListView} */ get: function() { return this.dataGroup_; - }, + }, /** @this {org_apache_flex_html_beads_ListView} */ set: function(value) { this.dataGroup_ = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/PanelView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/PanelView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/PanelView.js index 4962de2..9e57655 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/PanelView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/PanelView.js @@ -54,35 +54,35 @@ Object.defineProperties(org_apache_flex_html_beads_PanelView.prototype, { set: function(value) { this.strand_ = value; - if (!this.titleBar_) - this.titleBar_ = new org_apache_flex_html_TitleBar(); - - this.strand_.titleBar = this.titleBar_; - this.titleBar_.id = 'titleBar'; - this.titleBar_.model = this.strand_.model; - - this.strand_.controlBar = - new org_apache_flex_html_ControlBar(); - - this.strand_.addEventListener('childrenAdded', - goog.bind(this.changeHandler, this)); - - // listen for changes to the strand's model so items can be changed - // in the view - this.strand_.model.addEventListener('titleChange', - goog.bind(this.changeHandler, this)); - } - }, + if (!this.titleBar_) + this.titleBar_ = new org_apache_flex_html_TitleBar(); + + this.strand_.titleBar = this.titleBar_; + this.titleBar_.id = 'titleBar'; + this.titleBar_.model = this.strand_.model; + + this.strand_.controlBar = + new org_apache_flex_html_ControlBar(); + + this.strand_.addEventListener('childrenAdded', + goog.bind(this.changeHandler, this)); + + // listen for changes to the strand's model so items can be changed + // in the view + this.strand_.model.addEventListener('titleChange', + goog.bind(this.changeHandler, this)); + } + }, 'titleBar': { /** @this {org_apache_flex_html_beads_PanelView} */ get: function() { return this.titleBar_; - }, + }, /** @this {org_apache_flex_html_beads_PanelView} */ - set: function(value) { + set: function(value) { this.titleBar_ = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js index ae6c45c..2a6226d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js @@ -50,28 +50,28 @@ Object.defineProperties(org_apache_flex_html_beads_ScrollingContainerView.protot /** @this {org_apache_flex_html_beads_ScrollingContainerView} */ get: function() { return this._strand; - } - }, + } + }, 'resizableView': { /** @this {org_apache_flex_html_beads_ScrollingContainerView} */ get: function() { return this._strand; - } - }, + } + }, 'verticalScrollPosition': { /** @this {org_apache_flex_html_beads_ScrollingContainerView} */ get: function() { return this._strand.scrollTop; - }, + }, /** @this {org_apache_flex_html_beads_ScrollingContainerView} */ - set: function(value) { + set: function(value) { this._strand.scrollTop = value; - } - }, - 'maxVerticalScrollPosition': { + } + }, + 'maxVerticalScrollPosition': { /** @this {org_apache_flex_html_beads_ScrollingContainerView} */ get: function() { return this._strand.scrollHeight - this._strand.clientHeight; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderThumbView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderThumbView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderThumbView.js index 96df74a..5344407 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderThumbView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderThumbView.js @@ -38,24 +38,24 @@ Object.defineProperties(org_apache_flex_html_beads_SliderThumbView.prototype, { 'strand': { /** @this {org_apache_flex_html_beads_SliderThumbView} */ set: function(value) { - this.strand_ = value; - - this.element = document.createElement('div'); - this.element.className = 'SliderThumb'; - this.element.id = 'thumb'; - this.element.style.backgroundColor = '#949494'; - this.element.style.border = 'thin solid #747474'; - this.element.style.position = 'relative'; - this.element.style.height = '30px'; - this.element.style.width = '10px'; - this.element.style.zIndex = '2'; - this.element.style.top = '-10px'; - this.element.style.left = '20px'; - - this.strand_.element.appendChild(this.element); - - this.positioner = this.element; - this.element.flexjs_wrapper = this; - } - } + this.strand_ = value; + + this.element = document.createElement('div'); + this.element.className = 'SliderThumb'; + this.element.id = 'thumb'; + this.element.style.backgroundColor = '#949494'; + this.element.style.border = 'thin solid #747474'; + this.element.style.position = 'relative'; + this.element.style.height = '30px'; + this.element.style.width = '10px'; + this.element.style.zIndex = '2'; + this.element.style.top = '-10px'; + this.element.style.left = '20px'; + + this.strand_.element.appendChild(this.element); + + this.positioner = this.element; + this.element.flexjs_wrapper = this; + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderTrackView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderTrackView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderTrackView.js index 39479ec..eb47bc0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderTrackView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/SliderTrackView.js @@ -41,21 +41,21 @@ Object.defineProperties(org_apache_flex_html_beads_SliderTrackView.prototype, { this.strand_ = value; this.element = document.createElement('div'); - this.element.className = 'SliderTrack'; - this.element.id = 'track'; - this.element.style.backgroundColor = '#E4E4E4'; - this.element.style.height = '10px'; - this.element.style.width = '200px'; - this.element.style.border = 'thin solid #C4C4C4'; - this.element.style.position = 'relative'; - this.element.style.left = '0px'; - this.element.style.top = '10px'; - this.element.style.zIndex = '1'; - - this.strand_.element.appendChild(this.element); - - this.positioner = this.element; - this.element.flexjs_wrapper = this; - } - } + this.element.className = 'SliderTrack'; + this.element.id = 'track'; + this.element.style.backgroundColor = '#E4E4E4'; + this.element.style.height = '10px'; + this.element.style.width = '200px'; + this.element.style.border = 'thin solid #C4C4C4'; + this.element.style.position = 'relative'; + this.element.style.left = '0px'; + this.element.style.top = '10px'; + this.element.style.zIndex = '1'; + + this.strand_.element.appendChild(this.element); + + this.positioner = this.element; + this.element.flexjs_wrapper = this; + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/TextInputWithBorderView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/TextInputWithBorderView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/TextInputWithBorderView.js index c5b4af5..116bbde 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/TextInputWithBorderView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/TextInputWithBorderView.js @@ -39,6 +39,6 @@ Object.defineProperties(org_apache_flex_html_beads_TextInputWithBorderView.proto /** @this {org_apache_flex_html_beads_TextInputWithBorderView} */ set: function(value) { this.strand_ = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js index 739e553..1a8a331 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js @@ -39,7 +39,7 @@ org_apache_flex_html_beads_controllers_ItemRendererMouseController.prototype.FLE Object.defineProperties(org_apache_flex_html_beads_controllers_ItemRendererMouseController.prototype, { 'strand': { - /** @this {org_apache_flex_html_beads_controllers_ItemRendererMouseController} */ + /** @this {org_apache_flex_html_beads_controllers_ItemRendererMouseController} */ set: function(value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js index 43b5452..d912483 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js @@ -41,7 +41,7 @@ org_apache_flex_html_beads_controllers_ListSingleSelectionMouseController.protot Object.defineProperties(org_apache_flex_html_beads_controllers_ListSingleSelectionMouseController.prototype, { 'strand': { - /** @this {org_apache_flex_html_beads_controllers_ListSingleSelectionMouseController} */ + /** @this {org_apache_flex_html_beads_controllers_ListSingleSelectionMouseController} */ set: function(value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/SliderMouseController.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/SliderMouseController.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/SliderMouseController.js index 6e671a7..33ae094 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/SliderMouseController.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/controllers/SliderMouseController.js @@ -39,7 +39,7 @@ org_apache_flex_html_beads_controllers_SliderMouseController.prototype.FLEXJS_CL Object.defineProperties(org_apache_flex_html_beads_controllers_SliderMouseController.prototype, { 'strand': { - /** @this {org_apache_flex_html_beads_controllers_SliderMouseController} */ + /** @this {org_apache_flex_html_beads_controllers_SliderMouseController} */ set: function(value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js index 4adaa02..c8468e5 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js @@ -47,32 +47,32 @@ Object.defineProperties(org_apache_flex_html_beads_layouts_ButtonBarLayout.proto 'strand': { /** @this {org_apache_flex_html_beads_layouts_ButtonBarLayout} */ set: function(value) { - if (this.strand_ !== value) { - this.strand_ = value; - this.strand_.addEventListener('childrenAdded', - goog.bind(this.changeHandler, this)); - this.strand_.addEventListener('itemsCreated', - goog.bind(this.changeHandler, this)); - this.strand_.addEventListener('widthChanged', - goog.bind(this.changeHandler, this)); - this.strand_.addEventListener('heightChanged', - goog.bind(this.changeHandler, this)); - this.strand_.addEventListener('sizeChanged', - goog.bind(this.changeHandler, this)); - this.strand_.element.style.display = 'block'; - } - } - }, + if (this.strand_ !== value) { + this.strand_ = value; + this.strand_.addEventListener('childrenAdded', + goog.bind(this.changeHandler, this)); + this.strand_.addEventListener('itemsCreated', + goog.bind(this.changeHandler, this)); + this.strand_.addEventListener('widthChanged', + goog.bind(this.changeHandler, this)); + this.strand_.addEventListener('heightChanged', + goog.bind(this.changeHandler, this)); + this.strand_.addEventListener('sizeChanged', + goog.bind(this.changeHandler, this)); + this.strand_.element.style.display = 'block'; + } + } + }, 'buttonWidths': { /** @this {org_apache_flex_html_beads_layouts_ButtonBarLayout} */ set: function(value) { this.buttonWidths_ = value; - }, + }, /** @this {org_apache_flex_html_beads_layouts_ButtonBarLayout} */ get: function() { return this.buttonWidths_; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js index fa6a77b..090c6ee 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualHorizontalLayout.js @@ -45,26 +45,26 @@ Object.defineProperties(org_apache_flex_html_beads_layouts_NonVirtualHorizontalL 'strand': { /** @this {org_apache_flex_html_beads_layouts_NonVirtualHorizontalLayout} */ set: function(value) { - if (this.strand_ !== value) { - this.strand_ = value; - if (this.strand_.isWidthSizedToContent() && - this.strand_.isHeightSizedToContent()) - this.addOtherListeners(); - else { - this.strand_.addEventListener('heightChanged', - goog.bind(this.changeHandler, this)); - this.strand_.addEventListener('widthChanged', - goog.bind(this.changeHandler, this)); - this.strand_.addEventListener('sizeChanged', - goog.bind(this.sizeChangeHandler, this)); - if (!isNaN(this.strand_.explicitWidth) && - !isNaN(this.strand_.explicitHeight)) - this.addOtherListeners(); - } - this.strand_.element.style.display = 'block'; - } - } - } + if (this.strand_ !== value) { + this.strand_ = value; + if (this.strand_.isWidthSizedToContent() && + this.strand_.isHeightSizedToContent()) + this.addOtherListeners(); + else { + this.strand_.addEventListener('heightChanged', + goog.bind(this.changeHandler, this)); + this.strand_.addEventListener('widthChanged', + goog.bind(this.changeHandler, this)); + this.strand_.addEventListener('sizeChanged', + goog.bind(this.sizeChangeHandler, this)); + if (!isNaN(this.strand_.explicitWidth) && + !isNaN(this.strand_.explicitHeight)) + this.addOtherListeners(); + } + this.strand_.element.style.display = 'block'; + } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/TileLayout.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/TileLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/TileLayout.js index e27d77d..c08c35c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/TileLayout.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/TileLayout.js @@ -51,38 +51,38 @@ Object.defineProperties(org_apache_flex_html_beads_layouts_TileLayout.prototype, this.strand_.addEventListener('layoutNeeded', goog.bind(this.changeHandler, this)); } - } - }, + } + }, 'numColumns': { /** @this {org_apache_flex_html_beads_layouts_TileLayout} */ - get: function() { + get: function() { return this._numColumns; - }, + }, /** @this {org_apache_flex_html_beads_layouts_TileLayout} */ set: function(value) { this._numColumns = value; - } - }, + } + }, 'columnWidth': { /** @this {org_apache_flex_html_beads_layouts_TileLayout} */ - get: function() { + get: function() { return this._columnWidth; - }, + }, /** @this {org_apache_flex_html_beads_layouts_TileLayout} */ set: function(value) { this._columnWidth = value; - } - }, + } + }, 'rowHeight': { /** @this {org_apache_flex_html_beads_layouts_TileLayout} */ - get: function() { + get: function() { return this._rowHeight; - }, + }, /** @this {org_apache_flex_html_beads_layouts_TileLayout} */ set: function(value) { this._rowHeight = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js index 2a3ca53..e3863a8 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js @@ -50,33 +50,33 @@ Object.defineProperties(org_apache_flex_html_beads_models_ArraySelectionModel.pr /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ set: function(value) { this.strand_ = value; - } - }, + } + }, 'dataProvider': { /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ - get: function() { + get: function() { return this.dataProvider_; - }, + }, /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ set: function(value) { this.dataProvider_ = value; this.dispatchEvent('dataProviderChanged'); - } - }, + } + }, 'selectedIndex': { /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ - get: function() { + get: function() { return this.selectedIndex_; - }, + }, /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ set: function(value) { this.selectedIndex_ = value; this.dispatchEvent('selectedIndexChanged'); - } - }, + } + }, 'selectedItem': { /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ - get: function() { + get: function() { var si; si = this.selectedIndex_; @@ -87,34 +87,34 @@ Object.defineProperties(org_apache_flex_html_beads_models_ArraySelectionModel.pr } return this.dataProvider_[si]; - }, + }, /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ set: function(value) { - // find item in dataProvider and set selectedIndex or -1 if not exists - - this.selectedIndex_ = -1; - var n = this.dataProvider_.length; - for (var i = 0; i < n; i++) { - var item = this.dataProvider_[i]; - if (item == value) { - this.selectedIndex_ = i; - break; - } - } - - this.dispatchEvent('selectedItemChanged'); - this.dispatchEvent('selectedIndexChanged'); - } - }, + // find item in dataProvider and set selectedIndex or -1 if not exists + + this.selectedIndex_ = -1; + var n = this.dataProvider_.length; + for (var i = 0; i < n; i++) { + var item = this.dataProvider_[i]; + if (item == value) { + this.selectedIndex_ = i; + break; + } + } + + this.dispatchEvent('selectedItemChanged'); + this.dispatchEvent('selectedIndexChanged'); + } + }, 'labelField': { /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ get: function() { return this.labelField_; - }, + }, /** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */ set: function(value) { this.labelField_ = value; this.dispatchEvent('labelFieldChanged'); - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/DataGridModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/DataGridModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/DataGridModel.js index 0f31c94..9d2016f 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/DataGridModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/DataGridModel.js @@ -53,18 +53,18 @@ Object.defineProperties(org_apache_flex_html_beads_models_DataGridModel.prototyp 'strand': { /** @this {org_apache_flex_html_beads_models_DataGridModel} */ set: function(value) { - org_apache_flex_utils-Language(org_apache_flex_html_beads_models_DataGridModel, this, 'strand', value); + org_apache_flex_utils_Language(org_apache_flex_html_beads_models_DataGridModel, this, 'strand', value); this.strand_ = value; - } - }, + } + }, 'columns': { /** @this {org_apache_flex_html_beads_models_DataGridModel} */ - set: function(value) { + set: function(value) { this.columns_ = value; - }, + }, /** @this {org_apache_flex_html_beads_models_DataGridModel} */ get: function() { return this.columns_; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js index e85f46f..e5fd9e5 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js @@ -46,17 +46,17 @@ Object.defineProperties(org_apache_flex_html_beads_models_ImageModel.prototype, /** @this {org_apache_flex_html_beads_models_ImageModel} */ set: function(value) { this.strand_ = value; - } - }, + } + }, 'source': { /** @this {org_apache_flex_html_beads_models_ImageModel} */ - get: function() { + get: function() { return this.source; - }, + }, /** @this {org_apache_flex_html_beads_models_ImageModel} */ set: function(value) { this.source = value; this.dispatchEvent('sourceChanged'); - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ListPresentationModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ListPresentationModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ListPresentationModel.js index 3b8f24f..3f934e6 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ListPresentationModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ListPresentationModel.js @@ -57,17 +57,17 @@ Object.defineProperties(org_apache_flex_html_beads_models_ListPresentationModel. /** @this {org_apache_flex_html_beads_models_ListPresentationModel} */ set: function(value) { this.strand_ = value; - } - }, + } + }, 'rowHeight': { /** @this {org_apache_flex_html_beads_models_ListPresentationModel} */ - get: function() { + get: function() { return this.rowHeight_; - }, + }, /** @this {org_apache_flex_html_beads_models_ListPresentationModel} */ set: function(value) { this.rowHeight_ = value; this.dispatchEvent('rowHeightChanged'); - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/PanelModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/PanelModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/PanelModel.js index 6a6f3f8..6ccc83e 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/PanelModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/PanelModel.js @@ -61,45 +61,45 @@ Object.defineProperties(org_apache_flex_html_beads_models_PanelModel.prototype, /** @this {org_apache_flex_html_beads_models_PanelModel} */ set: function(value) { this.strand_ = value; - } - }, + } + }, 'title': { /** @this {org_apache_flex_html_beads_models_PanelModel} */ - get: function() { + get: function() { return this.title_; - }, + }, /** @this {org_apache_flex_html_beads_models_PanelModel} */ set: function(value) { if (this.title_ != value) { this.title_ = value; this.dispatchEvent('titleChange'); } - } - }, + } + }, 'htmlTitle': { /** @this {org_apache_flex_html_beads_models_PanelModel} */ - get: function() { + get: function() { return this.htmlTitle_; - }, + }, /** @this {org_apache_flex_html_beads_models_PanelModel} */ set: function(value) { if (this.htmlTitle_ != value) { this.htmlTitle_ = value; this.dispatchEvent('htmlTitleChange'); } - } - }, + } + }, 'showCloseButton': { /** @this {org_apache_flex_html_beads_models_PanelModel} */ - get: function() { + get: function() { return this.showCloseButton_; - }, + }, /** @this {org_apache_flex_html_beads_models_PanelModel} */ set: function(value) { if (this.showCloseButton_ != value) { this.showCloseButton_ = value; this.dispatchEvent('showCloseButtonChange'); } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js index 73d3dda..eb20880 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js @@ -50,80 +50,80 @@ Object.defineProperties(org_apache_flex_html_beads_models_RangeModel.prototype, /** @this {org_apache_flex_html_beads_models_RangeModel} */ set: function(value) { this.strand_ = value; - } - }, + } + }, 'minimum': { /** @this {org_apache_flex_html_beads_models_RangeModel} */ - get: function() { + get: function() { return this.minimum_; - }, + }, /** @this {org_apache_flex_html_beads_models_RangeModel} */ set: function(value) { if (this.minimum_ != value) { this.minimum_ = value; this.dispatchEvent('minimumChange'); } - } - }, + } + }, 'maximum': { /** @this {org_apache_flex_html_beads_models_RangeModel} */ - get: function() { + get: function() { return this.maximum_; - }, + }, /** @this {org_apache_flex_html_beads_models_RangeModel} */ - set: function(value) { + set: function(value) { if (this.maximum_ != value) { this.maximum_ = value; this.dispatchEvent('maximumChange'); } - } - }, + } + }, 'value': { /** @this {org_apache_flex_html_beads_models_RangeModel} */ - get: function() { + get: function() { return this.value_; - }, + }, /** @this {org_apache_flex_html_beads_models_RangeModel} */ set: function(newValue) { - if (this.value_ != newValue) { - - // value must lie within the boundaries of minimum & maximum - // and be on a step interval, so the value is adjusted to - // what is coming in. - newValue = Math.max(this.minimum_, newValue - this.stepSize_); - newValue = Math.min(this.maximum_, newValue + this.stepSize_); - this.value_ = this.snap(newValue); - - this.dispatchEvent('valueChange'); - } - } - }, + if (this.value_ != newValue) { + + // value must lie within the boundaries of minimum & maximum + // and be on a step interval, so the value is adjusted to + // what is coming in. + newValue = Math.max(this.minimum_, newValue - this.stepSize_); + newValue = Math.min(this.maximum_, newValue + this.stepSize_); + this.value_ = this.snap(newValue); + + this.dispatchEvent('valueChange'); + } + } + }, 'snapInterval': { /** @this {org_apache_flex_html_beads_models_RangeModel} */ - get: function() { + get: function() { return this.snapInterval_; - }, + }, /** @this {org_apache_flex_html_beads_models_RangeModel} */ set: function(value) { if (this.snapInterval_ != value) { this.snapInterval_ = value; this.dispatchEvent('snapIntervalChange'); } - } - }, + } + }, 'stepSize': { /** @this {org_apache_flex_html_beads_models_RangeModel} */ - get: function() { + get: function() { return this.stepSize_; - }, + }, /** @this {org_apache_flex_html_beads_models_RangeModel} */ set: function(value) { if (this.stepSize_ != value) { this.stepSize_ = value; this.dispatchEvent('stepSizeChange'); } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js index b361bad..2072288 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TextModel.js @@ -50,17 +50,17 @@ Object.defineProperties(org_apache_flex_html_beads_models_TextModel.prototype, { /** @this {org_apache_flex_html_beads_models_TextModel} */ set: function(value) { this.strand_ = value; - } - }, + } + }, 'text': { /** @this {org_apache_flex_html_beads_models_TextModel} */ - get: function() { + get: function() { return this.text_; - }, + }, /** @this {org_apache_flex_html_beads_models_TextModel} */ - set: function(value) { + set: function(value) { this.text_ = value; this.dispatchEvent('textChange'); - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js index f1a7a8a..731963f 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/TitleBarModel.js @@ -64,45 +64,45 @@ Object.defineProperties(org_apache_flex_html_beads_models_TitleBarModel.prototyp /** @this {org_apache_flex_html_beads_models_TitleBarModel} */ set: function(value) { this.strand_ = value; - } - }, + } + }, 'title': { /** @this {org_apache_flex_html_beads_models_TitleBarModel} */ - get: function() { + get: function() { return this.title_; - }, + }, /** @this {org_apache_flex_html_beads_models_TitleBarModel} */ set: function(value) { if (this.title_ != value) { this.title_ = value; this.dispatchEvent('titleChange'); } - } - }, + } + }, 'htmlTitle': { /** @this {org_apache_flex_html_beads_models_TitleBarModel} */ - get: function() { + get: function() { return this.htmlTitle_; - }, + }, /** @this {org_apache_flex_html_beads_models_TitleBarModel} */ set: function(value) { if (this.htmlTitle_ != value) { this.htmlTitle_ = value; this.dispatchEvent('htmlTitleChange'); } - } - }, + } + }, 'showCloseButton': { /** @this {org_apache_flex_html_beads_models_TitleBarModel} */ - get: function() { + get: function() { return this.showCloseButton_; - }, + }, /** @this {org_apache_flex_html_beads_models_TitleBarModel} */ - set: function(value) { + set: function(value) { if (this.showCloseButton_ != value) { this.showCloseButton_ = value; this.dispatchEvent('showCloseButtonChange'); } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js index 78155f0..b916c6f 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataGridColumn.js @@ -27,45 +27,45 @@ org_apache_flex_html_supportClasses_DataGridColumn = Object.defineProperties(org_apache_flex_html_supportClasses_DataGridColumn.prototype, { - 'itemRenderer': { - /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ - get: function() { + 'itemRenderer': { + /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ + get: function() { return this.itemRenderer_; - }, - /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ - set: function(value) { - this.itemRenderer_ = value; - } - }, + }, + /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ + set: function(value) { + this.itemRenderer_ = value; + } + }, 'columnWidth': { - /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ + /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ get: function() { return this.columnWidth_; - }, - /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ + set: function(value) { this.columnWidth_ = value; - } - }, - 'label': { - /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ + } + }, + 'label': { + /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ get: function() { return this.label_; - }, - /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ + set: function(value) { this.label_ = value; - } - }, + } + }, 'dataField': { - /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ + /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ get: function() { return this.dataField_; - }, - /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ + }, + /** @this {org_apache_flex_html_supportClasses_DataGridColumn} */ set: function(value) { this.dataField_ = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js index 4293cf2..05c5e8a 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js @@ -75,29 +75,29 @@ Object.defineProperties(org_apache_flex_html_supportClasses_DataItemRenderer.pro get: function() { return this.rendererParent_; }, - /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ set: function(value) { this.rendererParent_ = value; } }, 'index': { - /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ set: function(value) { this.index_ = value; } }, 'dataField': { - /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ set: function(value) { this.dataField_ = value; }, - /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ get: function() { return this.dataField_; } }, 'selected': { - /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ set: function(value) { this.selected_ = value; @@ -109,7 +109,7 @@ Object.defineProperties(org_apache_flex_html_supportClasses_DataItemRenderer.pro } }, 'hovered': { - /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_DataItemRenderer} */ set: function(value) { this.hovered_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js index 0e68832..a42c19d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js @@ -46,13 +46,13 @@ org_apache_flex_html_supportClasses_NonVirtualDataGroup.prototype.FLEXJS_CLASS_I Object.defineProperties(org_apache_flex_html_supportClasses_NonVirtualDataGroup.prototype, { 'strand': { - /** @this {org_apache_flex_html_supportClasses_NonVirtualDataGroup} */ + /** @this {org_apache_flex_html_supportClasses_NonVirtualDataGroup} */ set: function(value) { this.strand_ = value; } }, 'numElements': { - /** @this {org_apache_flex_html_supportClasses_NonVirtualDataGroup} */ + /** @this {org_apache_flex_html_supportClasses_NonVirtualDataGroup} */ get: function() { var n = this.element.childNodes.length; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js index f8217bb..2e35047 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js @@ -73,43 +73,43 @@ org_apache_flex_html_supportClasses_StringItemRenderer. Object.defineProperties(org_apache_flex_html_supportClasses_StringItemRenderer.prototype, { 'strand': { - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ set: function(value) { this.strand_ = value; }, - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ get: function() { return this.strand_; } }, 'itemRendererParent': { - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ get: function() { return this.rendererParent_; }, - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ set: function(value) { this.rendererParent_ = value; } }, 'index': { - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ set: function(value) { this.index_ = value; } }, 'text': { - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ set: function(value) { this.element.innerHTML = value; }, - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ get: function() { return this.element.innerHTML; } }, 'data': { - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ set: function(value) { org_apache_flex_utils_Language.superSetter( org_apache_flex_html_supportClasses_StringItemRenderer, this, 'data', value); @@ -126,7 +126,7 @@ Object.defineProperties(org_apache_flex_html_supportClasses_StringItemRenderer.p this.element.innerHTML = String(value); } }, - /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ + /** @this {org_apache_flex_html_supportClasses_StringItemRenderer} */ get: function() { return this.element.innerHTML; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js index dba179c..91876dd 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js @@ -77,72 +77,72 @@ org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.generateMXMLAtt Object.defineProperties(org_apache_flex_html_supportClasses_UIItemRendererBase.prototype, { - 'MXMLDescriptor': { - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - get: function() { - return null; - } - }, + 'MXMLDescriptor': { + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + get: function() { + return null; + } + }, 'data': { - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - get: function() { + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + get: function() { return this.data_; - }, - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + set: function(value) { this.data_ = value; - } - }, - 'labelField': { - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - get: function() { + } + }, + 'labelField': { + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + get: function() { return this.labelField_; - }, - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + set: function(value) { this.labelField_ = value; - } - }, - 'index': { - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + } + }, + 'index': { + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ get: function() { return this.index_; - }, - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + set: function(value) { this.index_ = value; - } - }, - 'hovered': { - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - get: function() { + } + }, + 'hovered': { + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + get: function() { return this.hovered_; - }, - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + }, + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ set: function(value) { this.hovered_ = value; - } - }, + } + }, 'selected': { - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ get: function() { return this.selected_; - }, - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + set: function(value) { this.selected_ = value; - } - }, - 'down': { - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + } + }, + 'down': { + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ get: function() { return this.down_; - }, - /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_supportClasses_UIItemRendererBase} */ + set: function(value) { this.down_ = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 5bd547f..fed8ea6 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js @@ -51,21 +51,21 @@ org_apache_flex_html5_CheckBox.prototype.createElement = Object.defineProperties(org_apache_flex_html5_CheckBox.prototype, { 'text': { - /** @this {org_apache_flex_html5_CheckBox} */ + /** @this {org_apache_flex_html5_CheckBox} */ get: function() { return this.element.childNodes.item(1).nodeValue; }, - /** @this {org_apache_flex_html5_CheckBox} */ + /** @this {org_apache_flex_html5_CheckBox} */ set: function(value) { this.element.childNodes.item(1).nodeValue = value; } }, selected: { - /** @this {org_apache_flex_html5_CheckBox} */ + /** @this {org_apache_flex_html5_CheckBox} */ get: function() { return this.element.childNodes.item(0).checked; }, - /** @this {org_apache_flex_html5_CheckBox} */ + /** @this {org_apache_flex_html5_CheckBox} */ set: function(value) { this.element.childNodes.item(0).checked = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 53400ad..d884f01 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js @@ -168,17 +168,17 @@ org_apache_flex_html5_ComboBox.prototype.buttonClicked = Object.defineProperties(org_apache_flex_html5_ComboBox.prototype, { 'dataProvider': { - /** @this {org_apache_flex_html5_ComboBox} */ + /** @this {org_apache_flex_html5_ComboBox} */ set: function(value) { this.dataProvider = value; } }, 'text': { - /** @this {org_apache_flex_html5_ComboBox} */ + /** @this {org_apache_flex_html5_ComboBox} */ get: function() { return this.element.childNodes.item(0).value; }, - /** @this {org_apache_flex_html5_ComboBox} */ + /** @this {org_apache_flex_html5_ComboBox} */ set: function(value) { this.element.childNodes.item(0).value = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 8499d4d..a049e68 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js @@ -44,11 +44,11 @@ org_apache_flex_html5_Label.prototype.createElement = Object.defineProperties(org_apache_flex_html5_Label.prototype, { 'text': { - /** @this {org_apache_flex_html5_Label} */ + /** @this {org_apache_flex_html5_Label} */ get: function() { return this.element.innerHTML; }, - /** @this {org_apache_flex_html5_Label} */ + /** @this {org_apache_flex_html5_Label} */ set: function(value) { this.element.innerHTML = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 084d198..8a49c59 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/RadioButton.js @@ -51,33 +51,33 @@ org_apache_flex_html5_RadioButton.prototype.createElement = Object.defineProperties(org_apache_flex_html5_RadioButton.prototype, { 'groupName': { - /** @this {org_apache_flex_html5_RadioButton} */ + /** @this {org_apache_flex_html5_RadioButton} */ get: function() { return this.element.childNodes.item(0).name; - }, - /** @this {org_apache_flex_html5_RadioButton} */ - set: function(value) { + }, + /** @this {org_apache_flex_html5_RadioButton} */ + set: function(value) { this.element.childNodes.item(0).name = value; - } - }, + } + }, 'text' : { - /** @this {org_apache_flex_html5_RadioButton} */ + /** @this {org_apache_flex_html5_RadioButton} */ get: function() { return this.element.childNodes.item(1).nodeValue; - }, - /** @this {org_apache_flex_html5_RadioButton} */ + }, + /** @this {org_apache_flex_html5_RadioButton} */ set: function(value) { this.element.childNodes.item(1).nodeValue = value; - } - }, - 'selected': { - /** @this {org_apache_flex_html5_RadioButton} */ + } + }, + 'selected': { + /** @this {org_apache_flex_html5_RadioButton} */ get: function() { return this.element.childNodes.item(0).checked; - }, - /** @this {org_apache_flex_html5_RadioButton} */ - set: function(value) { + }, + /** @this {org_apache_flex_html5_RadioButton} */ + set: function(value) { this.element.childNodes.item(0).checked = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 3d3fd0d..a475688 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js @@ -44,11 +44,11 @@ org_apache_flex_html5_TextArea.prototype.createElement = Object.defineProperties(org_apache_flex_html5_TextArea.prototype, { 'text': { - /** @this {org_apache_flex_html5_TextArea} */ + /** @this {org_apache_flex_html5_TextArea} */ get: function() { return this.element.value; }, - /** @this {org_apache_flex_html5_TextArea} */ + /** @this {org_apache_flex_html5_TextArea} */ set: function(value) { this.element.value = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 9e4d3f6..e3aa434 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextButton.js @@ -45,11 +45,11 @@ org_apache_flex_html5_TextButton.prototype.createElement = Object.defineProperties(org_apache_flex_html5_TextButton.prototype, { 'text': { - /** @this {org_apache_flex_html5_TextButton} */ + /** @this {org_apache_flex_html5_TextButton} */ get: function() { return this.element.innerHTML; }, - /** @this {org_apache_flex_html5_TextButton} */ + /** @this {org_apache_flex_html5_TextButton} */ set: function(value) { this.element.innerHTML = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 28f28e4..d51ee0d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js @@ -45,11 +45,11 @@ org_apache_flex_html5_TextInput.prototype.createElement = Object.defineProperties(org_apache_flex_html5_TextInput.prototype, { 'text': { - /** @this {org_apache_flex_html5_TextInput} */ + /** @this {org_apache_flex_html5_TextInput} */ get: function() { return this.element.value; }, - /** @this {org_apache_flex_html5_TextInput} */ + /** @this {org_apache_flex_html5_TextInput} */ set: function(value) { this.element.value = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js index 4d3c7a6..5dc88ef 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js @@ -63,21 +63,21 @@ org_apache_flex_jquery_CheckBox.prototype.createElement = Object.defineProperties(org_apache_flex_jquery_CheckBox.prototype, { 'text': { - /** @this {org_apache_flex_jquery_CheckBox} */ + /** @this {org_apache_flex_jquery_CheckBox} */ get: function() { return this.element.childNodes.item(1).nodeValue; }, - /** @this {org_apache_flex_jquery_CheckBox} */ + /** @this {org_apache_flex_jquery_CheckBox} */ set: function(value) { this.element.childNodes.item(1).nodeValue = value; } }, 'selected': { - /** @this {org_apache_flex_jquery_CheckBox} */ + /** @this {org_apache_flex_jquery_CheckBox} */ get: function() { return this.element.childNodes.item(0).checked; }, - /** @this {org_apache_flex_jquery_CheckBox} */ + /** @this {org_apache_flex_jquery_CheckBox} */ set: function(value) { this.element.childNodes.item(0).checked = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js index 986533a..a134f9d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js @@ -102,7 +102,7 @@ org_apache_flex_jquery_RadioButton.prototype.addedToParent = Object.defineProperties(org_apache_flex_jquery_RadioButton.prototype, { 'id': { - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ set: function(value) { org_apache_flex_utils_Language(org_apache_flex_jquery_RadioButton.base, this, 'id', value); this.labelFor.id = value; @@ -110,48 +110,48 @@ Object.defineProperties(org_apache_flex_jquery_RadioButton.prototype, { } }, 'groupName': { - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ get: function() { return this.radioGroupName; }, - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ set: function(value) { this.radioGroupName = value; this.input.name = value; } }, 'text': { - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ get: function() { return this.labelFor.innerHTML; }, - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ set: function(value) { this.labelFor.innerHTML = value; } }, 'selected': { - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ get: function() { return this.input.checked; }, - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ set: function(value) { this.input.checked = value; } }, 'value': { - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ get: function() { return this.input.value; }, - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ set: function(value) { this.input.value = value; } }, 'selectedValue': { - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ get: function() { var buttons, groupName, i, n; @@ -166,7 +166,7 @@ Object.defineProperties(org_apache_flex_jquery_RadioButton.prototype, { } return null; }, - /** @this {org_apache_flex_jquery_RadioButton} */ + /** @this {org_apache_flex_jquery_RadioButton} */ set: function(value) { var buttons, groupName, i, n; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js index 624c8eb..0f2a1be 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js @@ -55,11 +55,11 @@ org_apache_flex_jquery_TextButton.prototype.addedToParent = Object.defineProperties(org_apache_flex_jquery_TextButton.prototype, { 'text': { - /** @this {org_apache_flex_jquery_TextButton} */ + /** @this {org_apache_flex_jquery_TextButton} */ get: function() { return this.element.innerHTML; }, - /** @this {org_apache_flex_jquery_TextButton} */ + /** @this {org_apache_flex_jquery_TextButton} */ set: function(value) { this.element.innerHTML = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js index de08c2e..f0b7ba0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js @@ -95,7 +95,7 @@ org_apache_flex_jquery_ToggleTextButton.prototype.addedToParent = Object.defineProperties(org_apache_flex_jquery_ToggleTextButton.prototype, { 'id': { - /** @this {org_apache_flex_jquery_ToggleTextButton} */ + /** @this {org_apache_flex_jquery_ToggleTextButton} */ set: function(value) { org_apache_flex_utils_Language.superSetter(org_apache_flex_jquery_ToggleTextButton.base, this, 'id', value); this.labelFor.id = value; @@ -103,21 +103,21 @@ Object.defineProperties(org_apache_flex_jquery_ToggleTextButton.prototype, { } }, 'text': { - /** @this {org_apache_flex_jquery_ToggleTextButton} */ + /** @this {org_apache_flex_jquery_ToggleTextButton} */ get: function() { return this.labelFor.innerHTML; }, - /** @this {org_apache_flex_jquery_ToggleTextButton} */ + /** @this {org_apache_flex_jquery_ToggleTextButton} */ set: function(value) { this.labelFor.innerHTML = value; } }, 'selected': { - /** @this {org_apache_flex_jquery_ToggleTextButton} */ + /** @this {org_apache_flex_jquery_ToggleTextButton} */ get: function() { return this.input.selected_; }, - /** @this {org_apache_flex_jquery_ToggleTextButton} */ + /** @this {org_apache_flex_jquery_ToggleTextButton} */ set: function(value) { if (this.input.selected_ != value) { this.inputselected_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js index 5840265..e63facc 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js @@ -81,13 +81,13 @@ org_apache_flex_maps_google_Map.prototype.createElement = Object.defineProperties(org_apache_flex_maps_google_Map.prototype, { 'token': { - /** @this {org_apache_flex_maps_google_Map} */ + /** @this {org_apache_flex_maps_google_Map} */ set: function(value) { this.token = value; } }, 'selectedMarker': { - /** @this {org_apache_flex_maps_google_Map} */ + /** @this {org_apache_flex_maps_google_Map} */ get: function() { return this._selectedMarker; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js index 73915c6..94e9ec0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js @@ -58,7 +58,7 @@ Object.defineProperties(org_apache_flex_maps_google_beads_MapView.prototype, { this.mapView.strand_.finishInitalization(); }; document.head.appendChild(script); - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js index ffcf3aa..cb9ddc0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js @@ -52,44 +52,44 @@ FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_maps_google_models_MapModelv.prototype, { 'strand': { /** @this {org_apache_flex_maps_google_models_MapModel} */ - set: function(value) { + set: function(value) { this.strand_ = value; - } - }, + } + }, 'searchResults': { - get: function() { + get: function() { return this._searchResults; - }, - set: function(value) { + }, + set: function(value) { this._searchResults = value; this.dispatchEvent('searchResultsChanged'); - } - }, + } + }, 'zoom': { get: function() { return this._zoom; - }, - set: function(value) { + }, + set: function(value) { this._zoom = value; this.dispatchEvent('zoomChanged'); - } - }, + } + }, 'selectedMarker': { get: function() { return this._selectedMarker; - }, - set: function(value) { + }, + set: function(value) { this._selectedMarker = value; this.dispatchEvent('selectedMarkerChanged'); - } - }, + } + }, 'currentLocation': { get: function() { return this._currentLocation; - }, - set: function(value) { + }, + set: function(value) { this._currentLocation = value; this.dispatchEvent('currentLocationChanged'); - } - } + } + } });
