You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/12/02 20:36:10 UTC

[04/12] git commit: [flex-asjs] [refs/heads/core_js_to_as] - delete handwritten JS from these projects since they are theoretically replaced by cross-compiled AS

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js
deleted file mode 100644
index 7c44d8a..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/List.js
+++ /dev/null
@@ -1,196 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.List');
-
-goog.require('org.apache.flex.core.IDataProviderItemRendererMapper');
-goog.require('org.apache.flex.core.IFactory');
-goog.require('org.apache.flex.core.IItemRendererClassFactory');
-goog.require('org.apache.flex.core.IListPresentationModel');
-goog.require('org.apache.flex.core.ItemRendererClassFactory');
-goog.require('org.apache.flex.core.ListBase');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.html.beads.ListView');
-goog.require('org.apache.flex.html.beads.TextItemRendererFactoryForArrayData');
-goog.require('org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController');
-goog.require('org.apache.flex.html.beads.models.ArraySelectionModel');
-goog.require('org.apache.flex.html.beads.models.ListPresentationModel');
-goog.require('org.apache.flex.html.supportClasses.DataItemRenderer');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.ListBase}
- */
-org.apache.flex.html.List = function() {
-  org.apache.flex.html.List.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.List,
-    org.apache.flex.core.ListBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.List.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'List',
-                qName: 'org.apache.flex.html.List' }] };
-
-
-Object.defineProperties(org.apache.flex.html.List.prototype, {
-    /** @export */
-    itemRenderer: {
-        /** @this {org.apache.flex.html.List} */
-        get: function() {
-            return this.itemRenderer_;
-        },
-        /** @this {org.apache.flex.html.List} */
-        set: function(value) {
-            this.itemRenderer_ = value;
-        }
-    },
-    /** @export */
-    selectedItem: {
-        /** @this {org.apache.flex.html.List} */
-        get: function() {
-            return this.model.selectedItem;
-        },
-        /** @this {org.apache.flex.html.List} */
-        set: function(value) {
-            this.model.selectedItem = value;
-        }
-    },
-    /** @export */
-    labelField: {
-        /** @this {org.apache.flex.html.List} */
-        get: function() {
-            return this.model.labelField;
-        },
-        /** @this {org.apache.flex.html.List} */
-        set: function(value) {
-            this.model.labelField = value;
-        }
-    },
-    /** @export */
-    rowHeight: {
-        /** @this {org.apache.flex.html.List} */
-        get: function() {
-            return this.presentationModel.rowHeight;
-        },
-        /** @this {org.apache.flex.html.List} */
-        set: function(value) {
-            this.presentationModel.rowHeight = value;
-        }
-    },
-    /** @export */
-    presentationModel: {
-        /** @this {org.apache.flex.html.List} */
-        get: function() {
-            var presModel = this.getBeadByType(org.apache.flex.core.IListPresentationModel);
-            if (presModel == null) {
-              presModel = new org.apache.flex.html.beads.models.ListPresentationModel();
-              this.addBead(presModel);
-            }
-            return presModel;
-        }
-    }
-});
-
-
-/**
- * @override
- */
-org.apache.flex.html.List.prototype.createElement =
-    function() {
-  org.apache.flex.html.List.base(this, 'createElement');
-  this.className = 'List';
-
-  return this.element;
-};
-
-
-/**
- * @override
- */
-org.apache.flex.html.List.prototype.addedToParent =
-    function() {
-  org.apache.flex.html.List.base(this, 'addedToParent');
-
-  var dataFactory = this.getBeadByType(org.apache.flex.core.IDataProviderItemRendererMapper);
-  if (dataFactory == null) {
-    var m1 = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'iDataProviderItemRendererMapper');
-    dataFactory = new m1();
-    this.addBead(dataFactory);
-  }
-
-  var itemRendererFactory = this.getBeadByType(org.apache.flex.core.IItemRendererClassFactory);
-  if (itemRendererFactory == null) {
-    var m2 = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'iItemRendererClassFactory');
-    itemRendererFactory = new m2();
-    this.addBead(itemRendererFactory);
-  }
-
-  this.dispatchEvent(new org.apache.flex.events.Event('initComplete'));
-};
-
-
-/**
- * @export
- * @return {Array.<Object>} An array of objects that make up the actual
- *                          list (most likely itemRenderers).
- */
-org.apache.flex.html.List.prototype.internalChildren =
-    function() {
-  var listView =
-      this.getBeadByType(org.apache.flex.html.beads.ListView);
-  var dg = listView.dataGroup;
-  var items = null;
-  if (dg.renderers) {
-    items = [];
-    for (var i = 0; i < dg.renderers.length; i++) {
-      var r = dg.renderers[i];
-      var element = r.element;
-      items.push(element);
-    }
-  }
-  return items;
-};
-
-
-/**
- * @export
- * @param {Object} event The event that triggered the selection.
- */
-org.apache.flex.html.List.prototype.selectedHandler =
-    function(event) {
-  var itemRenderer = event.currentTarget;
-  if (this.renderers) {
-    var n = this.renderers.length;
-    var i;
-    for (i = 0; i < n; i++) {
-      var test = this.renderers[i];
-      if (test == itemRenderer) {
-        this.model.selectedIndex = i;
-        itemRenderer.selected = true;
-      }
-      else {
-        test.selected = false;
-      }
-    }
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/MultilineLabel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/MultilineLabel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/MultilineLabel.js
deleted file mode 100644
index 5e177ad..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/MultilineLabel.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.MultilineLabel');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.MultilineLabel = function() {
-  org.apache.flex.html.MultilineLabel.base(this, 'constructor');
-
-  this.element = document.createElement('div');
-  this.positioner = this.element;
-  this.element.flexjs_wrapper = this;
-};
-goog.inherits(org.apache.flex.html.MultilineLabel,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.MultilineLabel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'MultilineLabel',
-                qName: 'org.apache.flex.html.MultilineLabel' }] };
-
-
-Object.defineProperties(org.apache.flex.html.MultilineLabel.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.MultilineLabel} */
-        get: function() {
-            return this.element.innerHTML;
-        },
-        /** @this {org.apache.flex.html.MultilineLabel} */
-        set: function(value) {
-            this.element.innerHTML = value;
-        }
-    },
-    /** @export */
-    html: {
-        /** @this {org.apache.flex.html.MultilineLabel} */
-        get: function() {
-            return this.element.innerHTML;
-        },
-        /** @this {org.apache.flex.html.MultilineLabel} */
-        set: function(value) {
-            this.element.innerHTML = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/NumericStepper.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/NumericStepper.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/NumericStepper.js
deleted file mode 100644
index a9ddbc4..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/NumericStepper.js
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.NumericStepper');
-
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.html.Spinner');
-goog.require('org.apache.flex.html.TextInput');
-goog.require('org.apache.flex.html.beads.models.RangeModel');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.NumericStepper = function() {
-  org.apache.flex.html.NumericStepper.base(this, 'constructor');
-  this.model =
-      new org.apache.flex.html.beads.models.RangeModel();
-};
-goog.inherits(org.apache.flex.html.NumericStepper,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.NumericStepper.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'NumericStepper',
-                qName: 'org.apache.flex.html.NumericStepper' }] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.NumericStepper.prototype.createElement =
-    function() {
-  this.element = document.createElement('div');
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  this.input = new org.apache.flex.html.TextInput();
-  this.addElement(this.input);
-  this.input.positioner.style.display = 'inline-block';
-  this.input.positioner.style.width = '100px';
-
-  this.spinner = new org.apache.flex.html.Spinner();
-  this.spinner.positioner.style.display = 'inline-block';
-  this.spinner.positioner.style.height = '24px';
-  this.spinner.positioner.style.marginLeft = '-1px';
-  this.spinner.positioner.style.marginTop = '-1px';
-  this.addElement(this.spinner);
-  /* TODO: ajh move to view and css */
-  this.spinner.incrementButton.positioner.style.display = 'block';
-  this.spinner.incrementButton.positioner.style.marginBottom = '-1px';
-  this.spinner.incrementButton.positioner.style.paddingTop = '1.5px';
-  this.spinner.incrementButton.positioner.style.paddingBottom = '2px';
-  this.spinner.incrementButton.positioner.style.fontSize = '7px';
-  this.spinner.decrementButton.positioner.style.marginTop = '0px';
-  this.spinner.decrementButton.positioner.style.display = 'block';
-  this.spinner.decrementButton.positioner.style.paddingTop = '2px';
-  this.spinner.decrementButton.positioner.style.paddingBottom = '1.5px';
-  this.spinner.decrementButton.positioner.style.fontSize = '7px';
-  this.spinner.positioner.style.display = 'inline-block';
-  goog.events.listen(this.spinner, 'valueChange',
-      goog.bind(this.spinnerChange, this));
-
-  this.element.flexjs_wrapper = this;
-  this.className = 'NumericStepper';
-
-  this.input.text = String(this.spinner.value);
-
-  return this.element;
-};
-
-
-/**
- * @param {Object} event The input event.
- */
-org.apache.flex.html.NumericStepper.prototype.spinnerChange =
-    function(event)
-    {
-  var newValue = this.spinner.value;
-  this.value = newValue;
-  this.input.text = String(this.spinner.value);
-  this.dispatchEvent(new org.apache.flex.events.Event('valueChange'));
-};
-
-
-Object.defineProperties(org.apache.flex.html.NumericStepper.prototype, {
-    /** @export */
-    minimum: {
-        /** @this {org.apache.flex.html.NumericStepper} */
-        get: function() {
-            return this.model.minimum;
-        },
-        /** @this {org.apache.flex.html.NumericStepper} */
-        set: function(value) {
-            this.model.minimum = value;
-        }
-    },
-    /** @export */
-    maximum: {
-        /** @this {org.apache.flex.html.NumericStepper} */
-        get: function() {
-            return this.model.maximum;
-        },
-        /** @this {org.apache.flex.html.NumericStepper} */
-        set: function(value) {
-            this.model.maximum = value;
-        }
-    },
-    /** @export */
-    value: {
-        /** @this {org.apache.flex.html.NumericStepper} */
-        get: function() {
-            return this.model.value;
-        },
-        /** @this {org.apache.flex.html.NumericStepper} */
-        set: function(newValue) {
-            this.model.value = newValue;
-            this.spinner.value = newValue;
-        }
-    },
-    /** @export */
-    snapInterval: {
-        /** @this {org.apache.flex.html.NumericStepper} */
-        get: function() {
-            return this.model.snapInterval;
-        },
-        /** @this {org.apache.flex.html.NumericStepper} */
-        set: function(value) {
-            this.model.snapInterval = value;
-        }
-    },
-    /** @export */
-    stepSize: {
-        /** @this {org.apache.flex.html.NumericStepper} */
-        get: function() {
-            return this.model.stepSize;
-        },
-        /** @this {org.apache.flex.html.NumericStepper} */
-        set: function(value) {
-            this.model.stepSize = value;
-        }
-    }
-});
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js
deleted file mode 100644
index e05c0e5..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.Panel');
-
-goog.require('org.apache.flex.html.Container');
-goog.require('org.apache.flex.html.beads.PanelView');
-goog.require('org.apache.flex.html.beads.models.PanelModel');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Container}
- */
-org.apache.flex.html.Panel = function() {
-  org.apache.flex.html.Panel.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.Panel,
-    org.apache.flex.html.Container);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Panel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Panel',
-                qName: 'org.apache.flex.html.Panel' }] };
-
-
-/**
- * @override
- * @param {Object} c Element being added.
- *
-org.apache.flex.html.Panel.prototype.addElement = function(c) {
-  if (c == this.titleBar) {
-    this.element.insertBefore(this.titleBar.element, this.contentArea);
-  }
-  else if (c == this.controlBar) {
-    this.element.appendChild(c.element);
-  }
-  else {
-    this.contentArea.appendChild(c.element);
-  }
-  c.addedToParent();
-  this.dispatchEvent('childrenAdded');
-};*/
-
-
-/**
- * @override
- * @param {Object} c The child element.
- * @param {number} index The index.
- *
-org.apache.flex.html.Panel.prototype.addElementAt =
-    function(c, index) {
-  var children = this.internalChildren();
-  if (index >= children.length)
-    this.addElement(c);
-  else
-  {
-    this.contentArea.insertBefore(c.element,
-        children[index]);
-    c.addedToParent();
-    this.dispatchEvent('childrenAdded');
-  }
-};*/
-
-
-/**
- * @override
- * @param {Object} c The child element.
- * @return {number} The index in parent.
- *
-org.apache.flex.html.Panel.prototype.getElementIndex =
-    function(c) {
-  var children = this.internalChildren();
-  var n = children.length;
-  for (var i = 0; i < n; i++)
-  {
-    if (children[i] == c.element)
-      return i;
-  }
-  return -1;
-};*/
-
-
-/**
- * @override
- * @param {Object} c The child element.
- *
-org.apache.flex.html.Panel.prototype.removeElement =
-    function(c) {
-  this.contentArea.removeChild(c.element);
-};*/
-
-
-/**
- * @override
- */
-org.apache.flex.html.Panel.prototype.createElement =
-    function() {
-  org.apache.flex.html.Panel.base(this, 'createElement');
-  this.element.className = 'Panel';
-  this.typeNames = 'Panel';
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.Panel.prototype, {
-    /** @export */
-    showCloseButton: {
-        /** @this {org.apache.flex.html.Panel} */
-        get: function() {
-            return this.model.showCloseButton;
-        },
-        /** @this {org.apache.flex.html.Panel} */
-        set: function(value) {
-            this.model.showCloseButton = value;
-        }
-    },
-    /** @export */
-    title: {
-        /** @this {org.apache.flex.html.Panel} */
-        get: function() {
-            return this.model.title;
-        },
-        /** @this {org.apache.flex.html.Panel} */
-        set: function(value) {
-            this.model.title = value;
-        }
-    },
-    /** @export */
-    controlBar: {
-        /** @this {org.apache.flex.html.Panel} */
-        get: function() {
-            return this.controlBarChildren;
-        },
-        /** @this {org.apache.flex.html.Panel} */
-        set: function(value) {
-            this.controlBarChildren = value;
-
-            for (var i = 0; i < value.length; i++) {
-              var item = value[i];
-              this.controlBar.addElement(item);
-            }
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/RadioButton.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/RadioButton.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/RadioButton.js
deleted file mode 100644
index f24d439..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/RadioButton.js
+++ /dev/null
@@ -1,180 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.RadioButton');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.RadioButton = function() {
-  org.apache.flex.html.RadioButton.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.RadioButton,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.RadioButton.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'RadioButton',
-                qName: 'org.apache.flex.html.RadioButton'}] };
-
-
-/**
- * Provides unique name
- */
-org.apache.flex.html.RadioButton.radioCounter = 0;
-
-
-/**
- * @override
- */
-org.apache.flex.html.RadioButton.prototype.createElement =
-    function() {
-
-  this.input = document.createElement('input');
-  this.input.type = 'radio';
-  this.input.id = '_radio_' + org.apache.flex.html.RadioButton.radioCounter++;
-
-  this.textNode = document.createTextNode('radio button');
-
-  this.labelFor = document.createElement('label');
-  this.labelFor.appendChild(this.input);
-  this.labelFor.appendChild(this.textNode);
-
-  this.element = this.labelFor;
-  this.element.className = 'RadioButton';
-  this.typeNames = 'RadioButton';
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.input.flexjs_wrapper = this;
-  this.element.flexjs_wrapper = this;
-  this.textNode.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-/**
- * @export
- */
-org.apache.flex.html.RadioButton.prototype.initModel =
-    function() {
-};
-
-
-/**
- * @export
- */
-org.apache.flex.html.RadioButton.prototype.initSkin =
-    function() {
-};
-
-
-Object.defineProperties(org.apache.flex.html.RadioButton.prototype, {
-    /** @export */
-    id: {
-        /** @this {org.apache.flex.html.RadioButton} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(org.apache.flex.html.RadioButton, this, 'id', value);
-            this.labelFor.id = value;
-            this.input.id = value;
-        }
-    },
-    /** @export */
-    groupName: {
-        /** @this {org.apache.flex.html.RadioButton} */
-        get: function() {
-            return this.input.name;
-        },
-        /** @this {org.apache.flex.html.RadioButton} */
-        set: function(value) {
-            this.input.name = value;
-        }
-    },
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.RadioButton} */
-        get: function() {
-            return this.textNode.nodeValue;
-        },
-        /** @this {org.apache.flex.html.RadioButton} */
-        set: function(value) {
-            this.textNode.nodeValue = value;
-        }
-    },
-    /** @export */
-    selected: {
-        /** @this {org.apache.flex.html.RadioButton} */
-        get: function() {
-            return this.input.checked;
-        },
-        /** @this {org.apache.flex.html.RadioButton} */
-        set: function(value) {
-            this.input.checked = value;
-        }
-    },
-    /** @export */
-    value: {
-        /** @this {org.apache.flex.html.RadioButton} */
-        get: function() {
-            return this.input.value;
-        },
-        /** @this {org.apache.flex.html.RadioButton} */
-        set: function(value) {
-            this.input.value = value;
-        }
-    },
-    /** @export */
-    selectedValue: {
-        /** @this {org.apache.flex.html.RadioButton} */
-        get: function() {
-            var buttons, groupName, i, n;
-
-            groupName = this.input.name;
-            buttons = document.getElementsByName(groupName);
-            n = buttons.length;
-
-            for (i = 0; i < n; i++) {
-              if (buttons[i].checked) {
-                return buttons[i].value;
-              }
-            }
-            return null;
-        },
-        /** @this {org.apache.flex.html.RadioButton} */
-        set: function(value) {
-            var buttons, groupName, i, n;
-
-            groupName = this.input.name;
-            buttons = document.getElementsByName(groupName);
-            n = buttons.length;
-            for (i = 0; i < n; i++) {
-              if (buttons[i].value === value) {
-                buttons[i].checked = true;
-                break;
-              }
-            }
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/SimpleAlert.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/SimpleAlert.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/SimpleAlert.js
deleted file mode 100644
index 833769b..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/SimpleAlert.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.SimpleAlert');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.SimpleAlert = function() {
-  org.apache.flex.html.SimpleAlert.base(this, 'constructor');
-
-};
-goog.inherits(org.apache.flex.html.SimpleAlert,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.SimpleAlert.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SimpleAlert',
-                qName: 'org.apache.flex.html.SimpleAlert'}] };
-
-
-/**
- * @param {string} message The message to display in the alert.
- * @param {Object} host The host that should display the alert.
- */
-org.apache.flex.html.SimpleAlert.show =
-    function(message, host) {
-
-  alert(message);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/SimpleList.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/SimpleList.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/SimpleList.js
deleted file mode 100644
index db2546e..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/SimpleList.js
+++ /dev/null
@@ -1,111 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.SimpleList');
-
-goog.require('org.apache.flex.core.ListBase');
-goog.require('org.apache.flex.html.beads.models.ArraySelectionModel');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.ListBase}
- */
-org.apache.flex.html.SimpleList = function() {
-  org.apache.flex.html.SimpleList.base(this, 'constructor');
-  this.model = new org.apache.flex.html.beads.models.ArraySelectionModel();
-};
-goog.inherits(org.apache.flex.html.SimpleList,
-    org.apache.flex.core.ListBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.SimpleList.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SimpleList',
-                qName: 'org.apache.flex.html.SimpleList'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.SimpleList.prototype.
-    createElement = function() {
-  this.element = document.createElement('select');
-  this.element.size = 5;
-  goog.events.listen(this.element, 'change',
-      goog.bind(this.changeHandler, this));
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.className = 'SimpleList';
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.SimpleList.prototype, {
-    /** @export */
-    dataProvider: {
-        /** @this {org.apache.flex.html.SimpleList} */
-        get: function() {
-            return this.model.dataProvider;
-        },
-        /** @this {org.apache.flex.html.SimpleList} */
-        set: function(value) {
-            var dp, i, n, opt;
-
-            this.model.dataProvider = value;
-
-            dp = this.element.options;
-            n = dp.length;
-            for (i = 0; i < n; i++) {
-              dp.remove(0);
-            }
-
-            n = value.length;
-            for (i = 0; i < n; i++) {
-              opt = document.createElement('option');
-              opt.text = value[i].toString();
-              dp.add(opt);
-            }
-        }
-    },
-    /** @export */
-    selectedIndex: {
-        /** @this {org.apache.flex.html.SimpleList} */
-        get: function() {
-            return this.model.selectedIndex;
-        },
-        /** @this {org.apache.flex.html.SimpleList} */
-        set: function(value) {
-            this.model.selectedIndex = value;
-        }
-    },
-    /** @export */
-    selectedItem: {
-        /** @this {org.apache.flex.html.SimpleList} */
-        get: function() {
-            return this.model.selectedItem;
-        },
-        /** @this {org.apache.flex.html.SimpleList} */
-        set: function(value) {
-            this.model.selectedItem = value;
-        }
-    }
-});
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Slider.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Slider.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Slider.js
deleted file mode 100644
index 308967c..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Slider.js
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.Slider');
-
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.html.beads.SliderThumbView');
-goog.require('org.apache.flex.html.beads.SliderTrackView');
-goog.require('org.apache.flex.html.beads.controllers.SliderMouseController');
-goog.require('org.apache.flex.html.beads.models.RangeModel');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.Slider = function() {
-  this.model =
-      new org.apache.flex.html.beads.models.RangeModel();
-  org.apache.flex.html.Slider.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.Slider,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Slider.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Slider',
-                qName: 'org.apache.flex.html.Slider'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.Slider.prototype.createElement =
-    function() {
-
-  this.element = document.createElement('div');
-  this.element.style.width = '200px';
-  this.element.style.height = '30px';
-
-  this.track = new org.apache.flex.html.beads.SliderTrackView();
-  this.addBead(this.track);
-
-  this.thumb = new org.apache.flex.html.beads.SliderThumbView();
-  this.addBead(this.thumb);
-
-  this.controller = new org.apache.flex.html.beads.controllers.SliderMouseController();
-  this.addBead(this.controller);
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  this.className = 'Slider';
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.Slider.prototype, {
-    /** @export */
-    value: {
-        /** @this {org.apache.flex.html.Slider} */
-        get: function() {
-            return this.model.value;
-        },
-        /** @this {org.apache.flex.html.Slider} */
-        set: function(newValue) {
-            this.model.value = newValue;
-            this.setThumbFromValue(this.model.value);
-        }
-    },
-    /** @export */
-    minimum: {
-        /** @this {org.apache.flex.html.Slider} */
-        get: function() {
-            return this.model.minimum;
-        },
-        /** @this {org.apache.flex.html.Slider} */
-        set: function(value) {
-            this.model.minimum = value;
-        }
-    },
-    /** @export */
-    maximum: {
-        /** @this {org.apache.flex.html.Slider} */
-        get: function() {
-            return this.model.maximum;
-        },
-        /** @this {org.apache.flex.html.Slider} */
-        set: function(value) {
-            this.model.maximum = value;
-        }
-    },
-    /** @export */
-    snapInterval: {
-        /** @this {org.apache.flex.html.Slider} */
-        get: function() {
-            return this.model.snapInterval;
-        },
-        /** @this {org.apache.flex.html.Slider} */
-        set: function(value) {
-            this.model.snapInterval = value;
-        }
-    },
-    /** @export */
-    stepSize: {
-        /** @this {org.apache.flex.html.Slider} */
-        get: function() {
-            return this.model.stepSize;
-        },
-        /** @this {org.apache.flex.html.Slider} */
-        set: function(value) {
-            this.model.stepSize = value;
-        }
-    }
-});
-
-
-/**
- * @param {Object} value The current value.
- * @return {number} Calculates the new value based snapInterval and stepSize.
- */
-org.apache.flex.html.Slider.prototype.snap = function(value)
-    {
-  var si = this.snapInterval;
-  var n = Math.round((value - this.minimum) / si) *
-      si + this.minimum;
-  if (value > 0)
-  {
-    if (value - n < n + si - value)
-      return n;
-    return n + si;
-  }
-  if (value - n > n + si - value)
-    return n + si;
-  return n;
-};
-
-
-/**
- * @param {number} value The value used to calculate new position of the thumb.
- * @return {void} Moves the thumb to the corresponding position.
- */
-org.apache.flex.html.Slider.prototype.setThumbFromValue =
-    function(value)
-    {
-  var min = this.model.minimum;
-  var max = this.model.maximum;
-  var p = (value - min) / (max - min);
-  var xloc = p * (parseInt(this.track.element.style.width, 10) -
-             parseInt(this.thumb.element.style.width, 10));
-
-  this.thumb.element.style.left = String(xloc) + 'px';
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Spacer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Spacer.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Spacer.js
deleted file mode 100644
index 2024bd4..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Spacer.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.Spacer');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.Spacer = function() {
-  org.apache.flex.html.Spacer.base(this, 'constructor');
-
-  this.element = document.createElement('div');
-  this.positioner = this.element;
-  this.element.flexjs_wrapper = this;
-};
-goog.inherits(org.apache.flex.html.Spacer,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Spacer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Spacer',
-                qName: 'org.apache.flex.html.Spacer' }] };
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Spinner.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Spinner.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Spinner.js
deleted file mode 100644
index 2c04200..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Spinner.js
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.Spinner');
-
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.html.TextButton');
-goog.require('org.apache.flex.html.beads.controllers.SpinnerMouseController');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.Spinner = function() {
-  org.apache.flex.html.Spinner.base(this, 'constructor');
-
-  this.minimum_ = 0;
-  this.maximum_ = 100;
-  this.value_ = 1;
-  this.stepSize_ = 1;
-  this.snapInterval_ = 1;
-};
-goog.inherits(org.apache.flex.html.Spinner,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Spinner.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Spinner',
-                qName: 'org.apache.flex.html.Spinner'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.Spinner.prototype.createElement =
-    function() {
-  this.element = document.createElement('div');
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  this.element.style.verticalAlign = 'middle';
-
-  this.incrementButton = new org.apache.flex.html.TextButton();
-  this.incrementButton.text = '\u25B2';
-  this.addElement(this.incrementButton);
-
-  this.decrementButton = new org.apache.flex.html.TextButton();
-  this.decrementButton.text = '\u25BC';
-  this.addElement(this.decrementButton);
-
-  this.controller = new org.apache.flex.html.beads.controllers.SpinnerMouseController();
-  this.addBead(this.controller);
-
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.Spinner.prototype, {
-    /** @export */
-    minimum: {
-        /** @this {org.apache.flex.html.Spinner} */
-        get: function() {
-            return this.minimum_;
-        },
-        /** @this {org.apache.flex.html.Spinner} */
-        set: function(value) {
-            if (value != this.minimum_) {
-              this.minimum_ = value;
-              this.dispatchEvent('minimumChanged');
-            }
-        }
-    },
-    /** @export */
-    maximum: {
-        /** @this {org.apache.flex.html.Spinner} */
-        get: function() {
-            return this.maximum_;
-        },
-        /** @this {org.apache.flex.html.Spinner} */
-        set: function(value) {
-            if (value != this.maximum_) {
-              this.maximum_ = value;
-              this.dispatchEvent('maximumChanged');
-            }
-        }
-    },
-    /** @export */
-    snapInterval: {
-        /** @this {org.apache.flex.html.Spinner} */
-        get: function() {
-            return this.snapInterval_;
-        },
-        /** @this {org.apache.flex.html.Spinner} */
-        set: function(value) {
-            if (value != this.snapInterval_) {
-              this.snapInterval_ = value;
-              this.dispatchEvent('snapIntervalChanged');
-            }
-        }
-    },
-    /** @export */
-    stepSize: {
-        /** @this {org.apache.flex.html.Spinner} */
-        get: function() {
-            return this.stepSize_;
-        },
-        /** @this {org.apache.flex.html.Spinner} */
-        set: function(value) {
-            if (value != this.stepSize_) {
-              this.stepSize_ = value;
-              this.dispatchEvent('stepSizeChanged');
-            }
-        }
-    },
-    /** @export */
-    value: {
-        /** @this {org.apache.flex.html.Spinner} */
-        get: function() {
-            return this.value_;
-        },
-        /** @this {org.apache.flex.html.Spinner} */
-        set: function(value) {
-            if (value != this.value_) {
-              this.value_ = value;
-              this.dispatchEvent('valueChange');
-            }
-        }
-    }
-});
-
-
-/**
- * @param {number} value The proposed value.
- * @return {number} The new value based on snapInterval
- * and stepSize.
- */
-org.apache.flex.html.Spinner.prototype.snap = function(value)
-    {
-  var si = this.snapInterval_;
-  var n = Math.round((value - this.minimum_) / si) * si + this.minimum_;
-  if (value > 0)
-  {
-    if (value - n < n + si - value)
-      return n;
-    return n + si;
-  }
-  if (value - n > n + si - value)
-    return n + si;
-  return n;
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextArea.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextArea.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/TextArea.js
deleted file mode 100644
index 4c18081..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextArea.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.TextArea');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.TextArea = function() {
-  org.apache.flex.html.TextArea.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.TextArea,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.TextArea.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextArea',
-                qName: 'org.apache.flex.html.TextArea'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.TextArea.prototype.createElement =
-    function() {
-
-  this.element = document.createElement('textarea');
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-  this.element.className = 'TextArea';
-  this.typeNames = 'TextArea';
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.TextArea.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.TextArea} */
-        get: function() {
-            return this.element.value;
-        },
-        /** @this {org.apache.flex.html.TextArea} */
-        set: function(value) {
-            this.element.value = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextButton.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/TextButton.js
deleted file mode 100644
index 6d52448..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextButton.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.TextButton');
-
-goog.require('org.apache.flex.html.Button');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Button}
- */
-org.apache.flex.html.TextButton = function() {
-  org.apache.flex.html.TextButton.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.TextButton,
-    org.apache.flex.html.Button);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.TextButton.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextButton',
-                qName: 'org.apache.flex.html.TextButton'}] };
-
-
-Object.defineProperties(org.apache.flex.html.TextButton.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.TextButton} */
-        get: function() {
-            return this.element.innerHTML;
-        },
-        /** @this {org.apache.flex.html.TextButton} */
-        set: function(value) {
-            this.element.innerHTML = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextInput.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextInput.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/TextInput.js
deleted file mode 100644
index a6a67b1..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/TextInput.js
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.TextInput');
-
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.events.Event');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.TextInput = function() {
-  org.apache.flex.html.TextInput.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.TextInput,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.TextInput.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextInput',
-                qName: 'org.apache.flex.html.TextInput'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.TextInput.prototype.createElement = function() {
-  this.element = document.createElement('input');
-  this.element.setAttribute('type', 'input');
-  this.element.className = 'TextInput';
-  this.typeNames = 'TextInput';
-
-  //attach input handler to dispatch flexjs change event when user write in textinput
-  //goog.events.listen(this.element, 'change', goog.bind(this.killChangeHandler, this));
-  goog.events.listen(this.element, 'input', goog.bind(this.inputChangeHandler_, this));
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.TextInput.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.TextInput} */
-        get: function() {
-            return this.element.value;
-        },
-        /** @this {org.apache.flex.html.TextInput} */
-        set: function(value) {
-            this.element.value = value;
-            this.dispatchEvent(new org.apache.flex.events.Event('textChange'));
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {Object} event The event.
- */
-/*org.apache.flex.html.TextInput.prototype.killChangeHandler = function(event) {
-    //event.preventDefault();
-};*/
-
-
-/**
- * @private
- * @param {Object} event The event.
- */
-org.apache.flex.html.TextInput.prototype.inputChangeHandler_ = function(event) {
-  event.stopPropagation();
-
-  this.dispatchEvent(new org.apache.flex.events.Event(org.apache.flex.events.Event.EventType.CHANGE));
-  this.dispatchEvent(new org.apache.flex.events.Event('textChange'));
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
deleted file mode 100644
index 5df5dde..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.TitleBar');
-
-goog.require('org.apache.flex.html.Container');
-goog.require('org.apache.flex.html.Label');
-goog.require('org.apache.flex.html.TextButton');
-goog.require('org.apache.flex.html.beads.models.TitleBarModel');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Container}
- */
-org.apache.flex.html.TitleBar = function() {
-
-  org.apache.flex.html.TitleBar.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.TitleBar,
-    org.apache.flex.html.Container);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.TitleBar.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TitleBar',
-                qName: 'org.apache.flex.html.TitleBar'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.TitleBar.prototype.createElement =
-    function() {
-
-  this.element = document.createElement('div');
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  this.className = 'TitleBar';
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.TitleBar.prototype, {
-    /** @export */
-    title: {
-        /** @this {org.apache.flex.html.TitleBar} */
-        get: function() {
-            return this.model.title;
-        },
-        /** @this {org.apache.flex.html.TitleBar} */
-        set: function(value) {
-            this.model.title = value;
-        }
-    },
-    /** @export */
-    showCloseButton: {
-        /** @this {org.apache.flex.html.TitleBar} */
-        get: function() {
-            return this.model.showCloseButton;
-        },
-        /** @this {org.apache.flex.html.TitleBar} */
-        set: function(value) {
-            this.model.showCloseButton = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/ToggleTextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/ToggleTextButton.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/ToggleTextButton.js
deleted file mode 100644
index 2f8bafa..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/ToggleTextButton.js
+++ /dev/null
@@ -1,122 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.ToggleTextButton');
-
-goog.require('org.apache.flex.html.Button');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Button}
- */
-org.apache.flex.html.ToggleTextButton = function() {
-  org.apache.flex.html.ToggleTextButton.base(this, 'constructor');
-
-  this.typeNames = 'toggleTextButton';
-
-  /**
-   * @private
-   * @type {boolean}
-   */
-  this.selected_ = false;
-};
-goog.inherits(org.apache.flex.html.ToggleTextButton,
-    org.apache.flex.html.Button);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.ToggleTextButton.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ToggleTextButton',
-                qName: 'org.apache.flex.html.ToggleTextButton'}] };
-
-
-Object.defineProperties(org.apache.flex.html.ToggleTextButton.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.ToggleTextButton} */
-        get: function() {
-            return this.element.innerHTML;
-        },
-        /** @this {org.apache.flex.html.ToggleTextButton} */
-        set: function(value) {
-            this.element.innerHTML = value;
-        }
-    },
-    /** @export */
-    selected: {
-        /** @this {org.apache.flex.html.ToggleTextButton} */
-        get: function() {
-             return this.selected_;
-        },
-        /** @this {org.apache.flex.html.ToggleTextButton} */
-        set: function(value) {
-            if (this.selected_ != value) {
-              this.selected_ = value;
-
-              var className = this.className;
-              var typeNames = this.typeNames;
-              if (value) {
-                if (typeNames.indexOf(this.SELECTED) == -1) {
-                  this.typeNames = typeNames + this.SELECTED;
-                  if (className)
-                    this.element.className = this.typeNames + ' ' + className;
-                  else
-                    this.element.className = this.typeNames;
-                }
-              }
-              else {
-                if (typeNames.indexOf(this.SELECTED) == typeNames.length - this.SELECTED.length) {
-                  this.typeNames = typeNames.substring(0, typeNames.length - this.SELECTED.length);
-                  if (className)
-                    this.element.className = this.typeNames + ' ' + className;
-                  else
-                    this.element.className = this.typeNames;
-                }
-              }
-           }
-        }
-    }
-});
-
-
-/**
- * @type {string} The selected setter.
- */
-org.apache.flex.html.ToggleTextButton.prototype.SELECTED = '_Selected';
-
-
-/**
- * @override
- */
-org.apache.flex.html.ToggleTextButton.prototype.createElement = function() {
-  org.apache.flex.html.ToggleTextButton.base(this, 'createElement');
-  this.addEventListener('click', goog.bind(this.clickHandler_, this));
-  return this.element;
-};
-
-
-/**
- * @private.
- * @param {Object} e The event object.
- */
-org.apache.flex.html.ToggleTextButton.prototype.clickHandler_ = function(e) {
-  this.selected = !this.selected;
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/ToolTip.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/ToolTip.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/ToolTip.js
deleted file mode 100644
index b3f5b07..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/ToolTip.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.ToolTip');
-
-goog.require('org.apache.flex.html.Label');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Label}
- */
-org.apache.flex.html.ToolTip = function() {
-  org.apache.flex.html.ToolTip.base(this, 'constructor');
-  this.element.className = 'ToolTip';
-};
-goog.inherits(org.apache.flex.html.ToolTip,
-    org.apache.flex.html.Label);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.ToolTip.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ToolTip',
-                qName: 'org.apache.flex.html.ToolTip' }]};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/VContainer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/VContainer.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/VContainer.js
deleted file mode 100644
index e1198eb..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/VContainer.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.VContainer');
-
-goog.require('org.apache.flex.core.IContainer');
-goog.require('org.apache.flex.html.Container');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IContainer}
- * @extends {org.apache.flex.html.Container}
- */
-org.apache.flex.html.VContainer = function() {
-  org.apache.flex.html.VContainer.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.VContainer,
-    org.apache.flex.html.Container);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.VContainer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'VContainer',
-                qName: 'org.apache.flex.html.VContainer' }],
-      interfaces: [org.apache.flex.core.IContainer] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/VRule.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/VRule.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/VRule.js
deleted file mode 100644
index 01959f1..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/VRule.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.VRule');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.VRule = function() {
-  org.apache.flex.html.VRule.base(this, 'constructor');
-
-  this.element = document.createElement('div');
-  this.element.style.borderLeftStyle = 'solid';
-  this.element.style.borderLeftWidth = '1px';
-  this.element.style.borderTop = 'none';
-  this.element.style.borderBottom = 'none';
-  this.element.style.borderRight = 'none';
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-};
-goog.inherits(org.apache.flex.html.VRule,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.VRule.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'VRule',
-                qName: 'org.apache.flex.html.VRule' }] };
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js
deleted file mode 100644
index 4e89151..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.accessories.NumericOnlyTextInputBead');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.accessories.NumericOnlyTextInputBead =
-    function() {
-
-  /**
-   * @protected
-   * @type {Object}
-   */
-  this.promptElement = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.accessories.NumericOnlyTextInputBead.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'NumericOnlyTextInputBead',
-                qName: 'org.apache.flex.html.accessories.NumericOnlyTextInputBead' }] };
-
-
-Object.defineProperties(org.apache.flex.html.accessories.NumericOnlyTextInputBead.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.accessories.NumericOnlyTextInputBead} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              value.addEventListener('keypress', goog.bind(this.validateInput, this));
-            }
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {Object} event The input to validate?
- */
-org.apache.flex.html.accessories.NumericOnlyTextInputBead.
-    prototype.validateInput = function(event) {
-
-  var code = event.charCode;
-
-  // backspace or delete
-  if (event.keyCode == 8 || event.keyCode == 46) return;
-
-  // tab or return/enter
-  if (event.keyCode == 9 || event.keyCode == 13) return;
-
-  // left or right cursor arrow
-  if (event.keyCode == 37 || event.keyCode == 39) return;
-
-  var key = String.fromCharCode(code);
-
-  var regex = /[0-9]|\./;
-  if (!regex.test(key)) {
-    event.returnValue = false;
-    if (event.preventDefault) event.preventDefault();
-    return;
-  }
-  var cursorStart = event.target.selectionStart;
-  var cursorEnd = event.target.selectionEnd;
-  var left = event.target.value.substring(0, cursorStart);
-  var right = event.target.value.substr(cursorEnd);
-  var complete = left + key + right;
-  if (isNaN(complete)) {
-    event.returnValue = false;
-    if (event.preventDefault) event.preventDefault();
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/PasswordInputBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/PasswordInputBead.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/PasswordInputBead.js
deleted file mode 100644
index be9c65e..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/PasswordInputBead.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.accessories.PasswordInputBead');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.accessories.PasswordInputBead =
-    function() {
-
-  /**
-   * @protected
-   * @type {Object}
-   */
-  this.promptElement = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.accessories.PasswordInputBead.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PasswordInputBead',
-                qName: 'org.apache.flex.html.accessories.PasswordInputBead' }] };
-
-
-Object.defineProperties(org.apache.flex.html.accessories.PasswordInputBead.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.accessories.PasswordInputBead} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              value.element.type = 'password';
-            }
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/TextPromptBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/TextPromptBead.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/TextPromptBead.js
deleted file mode 100644
index cfea7f7..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/accessories/TextPromptBead.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.accessories.TextPromptBead');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.accessories.TextPromptBead = function() {
-
-  /**
-   * @protected
-   * @type {Object}
-   */
-  this.promptElement = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.accessories.TextPromptBead.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextPromptBead',
-                qName: 'org.apache.flex.html.accessories.TextPromptBead' }] };
-
-
-Object.defineProperties(org.apache.flex.html.accessories.TextPromptBead.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.accessories.TextPromptBead} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              value.element.placeholder = this.prompt;
-            }
-        }
-    },
-    /** @export */
-    prompt: {
-        /** @this {org.apache.flex.html.accessories.TextPromptBead} */
-        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/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js
deleted file mode 100644
index b65965f..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.beads.ButtonBarView');
-
-goog.require('org.apache.flex.html.beads.ListView');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.beads.ListView}
- */
-org.apache.flex.html.beads.ButtonBarView = function() {
-  this.lastSelectedIndex = -1;
-  org.apache.flex.html.beads.ButtonBarView.base(this, 'constructor');
-
-  this.className = 'ButtonBarView';
-};
-goog.inherits(
-    org.apache.flex.html.beads.ButtonBarView,
-    org.apache.flex.html.beads.ListView);
-
-
-/**
- * @override
- */
-org.apache.flex.html.beads.ButtonBarView.
-    prototype.layoutViewBeforeContentLayout = function() {
-  var host = this._strand;
-  var vm = this.viewportModel;
-  vm.borderMetrics = org.apache.flex.utils.CSSContainerUtils.getBorderMetrics(host);
-  vm.chromeMetrics = this.getChromeMetrics();
-  this.viewport.setPosition(0, 0);
-  this.viewport.layoutViewportBeforeContentLayout(host.width, host.height);
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.ButtonBarView.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ButtonBarView',
-                qName: 'org.apache.flex.html.beads.ButtonBarView' }] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.ButtonBarView.prototype, {
-    /** @export */
-    strand: {
-        /** @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);
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js
deleted file mode 100644
index 39158f6..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js
+++ /dev/null
@@ -1,434 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.html.beads.ContainerView');
-
-goog.require('org.apache.flex.core.BeadViewBase');
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.IContainerView');
-goog.require('org.apache.flex.core.ILayoutHost');
-goog.require('org.apache.flex.core.IViewport');
-goog.require('org.apache.flex.core.IViewportModel');
-goog.require('org.apache.flex.geom.Rectangle');
-goog.require('org.apache.flex.utils.CSSContainerUtils');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.BeadViewBase}
- * @implements {org.apache.flex.core.ILayoutHost}
- */
-org.apache.flex.html.beads.ContainerView = function() {
-  this.lastSelectedIndex = -1;
-  org.apache.flex.html.beads.ContainerView.base(this, 'constructor');
-
-  this.className = 'ContainerView';
-  this.runningLayout = false;
-};
-goog.inherits(
-    org.apache.flex.html.beads.ContainerView,
-    org.apache.flex.core.BeadViewBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.ContainerView.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ContainerView',
-                qName: 'org.apache.flex.html.beads.ContainerView' }],
-    interfaces: [org.apache.flex.core.ILayoutHost, org.apache.flex.core.IContainerView]
-    };
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.html.beads.ContainerView.prototype.viewport_ = null;
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.html.beads.ContainerView.prototype.viewportModel_ = null;
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.html.beads.ContainerView.prototype.contentArea_ = null;
-
-
-/**
- * @param {org.apache.flex.events.Event} event The event.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.initCompleteHandler = function(event) {
-  if ((this.host.isHeightSizedToContent() || !isNaN(this.host.explicitHeight)) &&
-      (this.host.isWidthSizedToContent() || !isNaN(this.host.explicitWidth))) {
-         this.completeSetup();
-
-         var num = this.contentView.numElements;
-         // make sure there are children AND you are in the DOM before laying out.
-         // If not in the DOM, you'll get funky numbers
-         if (num > 0 && document.body.contains(this.host.element)) {
-           this.performLayout(event);
-         }
-   }
-   else {
-     this._strand.addEventListener('sizeChanged',
-       org.apache.flex.utils.Language.closure(this.deferredSizeHandler, this, 'deferredSizeHandler'));
-     this._strand.addEventListener('widthChanged',
-       org.apache.flex.utils.Language.closure(this.deferredSizeHandler, this, 'deferredSizeHandler'));
-     this._strand.addEventListener('heightChanged',
-       org.apache.flex.utils.Language.closure(this.deferredSizeHandler, this, 'deferredSizeHandler'));
-   }
-};
-
-
-/**
- * @param {org.apache.flex.events.Event} event The event.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.deferredSizeHandler = function(event) {
-    this._strand.removeEventListener('sizeChanged',
-      org.apache.flex.utils.Language.closure(this.deferredSizeHandler, this, 'deferredSizeHandler'));
-    this._strand.removeEventListener('widthChanged',
-      org.apache.flex.utils.Language.closure(this.deferredSizeHandler, this, 'deferredSizeHandler'));
-    this._strand.removeEventListener('heightChanged',
-      org.apache.flex.utils.Language.closure(this.deferredSizeHandler, this, 'deferredSizeHandler'));
-    this.completeSetup();
-
-    var num = this.contentView.numElements;
-    if (num > 0) {
-      this.performLayout(event);
-    }
-};
-
-
-/**
- * @param {org.apache.flex.events.Event} event The event.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.changeHandler = function(event) {
-  this.performLayout(event);
-};
-
-
-/**
- * @param {org.apache.flex.events.Event} event The event.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.childrenChangedHandler = function(event) {
-    var num = this.contentView.numElements;
-    for (var i = 0; i < num; i++) {
-      var child = this.contentView.getElementAt(i);
-      child.addEventListener('widthChanged',
-          org.apache.flex.utils.Language.closure(this.childResizeHandler, this, 'childResizeHandler'));
-      child.addEventListener('heightChanged',
-          org.apache.flex.utils.Language.closure(this.childResizeHandler, this, 'childResizeHandler'));
-    }
-};
-
-
-/**
- * @param {org.apache.flex.events.Event} event The event.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.sizeChangeHandler = function(event) {
-  if (this.runningLayout) return;
-  this.performLayout(event);
-};
-
-
-/**
- * @param {org.apache.flex.events.Event} event The event.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.resizeHandler = function(event) {
-  if (this.runningLayout) return;
-  this.performLayout(event);
-};
-
-
-/**
- * @param {org.apache.flex.events.Event} event The event.
- */
- org.apache.flex.html.beads.ContainerView.
-    prototype.childResizeHandler = function(event) {
-  if (this.runningLayout) return;
-  this.performLayout(event);
-};
-
-
-/**
- *
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.completeSetup = function() {
-  this.createViewport();
-
-  this._strand.addEventListener('childrenAdded',
-      org.apache.flex.utils.Language.closure(this.childrenChangedHandler, this, 'childrenChangedHandler'));
-  this.childrenChangedHandler(null);
-  this._strand.addEventListener('childrenAdded',
-      org.apache.flex.utils.Language.closure(this.changeHandler, this, 'changeHandler'));
-  this._strand.addEventListener('childrenRemoved',
-      org.apache.flex.utils.Language.closure(this.changeHandler, this, 'changeHandler'));
-  this._strand.addEventListener('layoutNeeded',
-     org.apache.flex.utils.Language.closure(this.performLayout, this, 'performLayout'));
-  this._strand.addEventListener('widthChanged',
-     org.apache.flex.utils.Language.closure(this.resizeHandler, this, 'resizeHandler'));
-  this._strand.addEventListener('heightChanged',
-     org.apache.flex.utils.Language.closure(this.resizeHandler, this, 'resizeHandler'));
-  this._strand.addEventListener('sizeChanged',
-     org.apache.flex.utils.Language.closure(this.resizeHandler, this, 'resizeHandler'));
-};
-
-
-/**
- * Calculate the space taken up by non-content children like a TItleBar in a Panel.
- * @return {org.apache.flex.geom.Rectangle} The space.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.getChromeMetrics = function() {
-  return new org.apache.flex.geom.Rectangle(0, 0, 0, 0);
-};
-
-
-/**
- * Creates the viewport and viewportModel.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.createViewport = function() {
-  this.viewportModel = this._strand.getBeadByType(org.apache.flex.core.IViewportModel);
-  if (this.viewportModel == null) {
-    var m3 = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this._strand, 'iViewportModel');
-    this.viewportModel = new m3();
-    this._strand.addBead(this.viewportModel);
-  }
-  this.viewport = this._strand.getBeadByType(org.apache.flex.core.IViewport);
-  if (this.viewport == null) {
-    var m2 = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this._strand, 'iViewport');
-    this.viewport = new m2();
-    this._strand.addBead(this.viewport);
-  }
-};
-
-
-/**
- *
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.layoutViewBeforeContentLayout = function() {
-  var host = this._strand;
-  var vm = this.viewportModel;
-  vm.borderMetrics = org.apache.flex.utils.CSSContainerUtils.getBorderMetrics(host);
-  vm.chromeMetrics = this.getChromeMetrics();
-  this.viewport.setPosition(vm.borderMetrics.left + vm.chromeMetrics.left,
-                            vm.borderMetrics.top + vm.chromeMetrics.top);
-  this.viewport.layoutViewportBeforeContentLayout(
-      !host.isWidthSizedToContent() ?
-          host.width - vm.borderMetrics.left - vm.borderMetrics.right -
-                     vm.chromeMetrics.left - vm.chromeMetrics.right - 1 : NaN,
-      !host.isHeightSizedToContent() ?
-          host.height - vm.borderMetrics.top - vm.borderMetrics.bottom -
-                     vm.chromeMetrics.top - vm.chromeMetrics.bottom - 1 : NaN);
-};
-
-
-/**
- * @param {org.apache.flex.events.Event} event The event.
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.performLayout = function(event) {
-  this.runningLayout = true;
-  this.layoutViewBeforeContentLayout();
-  if (this.layout == null) {
-    this.layout = this._strand.getBeadByType(org.apache.flex.core.IBeadLayout);
-    if (this.layout == null) {
-      var m3 = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this._strand, 'iBeadLayout');
-      this.layout = new m3();
-      this._strand.addBead(this.layout);
-    }
-  }
-  this.layout.layout();
-
-  this.layoutViewAfterContentLayout();
-  this.runningLayout = false;
-};
-
-
-/**
- *
- */
-org.apache.flex.html.beads.ContainerView.
-    prototype.layoutViewAfterContentLayout = function() {
-  var host = this._strand;
-
-  var viewportSize = this.viewport.layoutViewportAfterContentLayout();
-  var vm = this.viewportModel;
-
-  if (host.isWidthSizedToContent() && host.isHeightSizedToContent()) {
-    host.setWidthAndHeight(viewportSize.width + vm.borderMetrics.left + vm.borderMetrics.right +
-                               vm.chromeMetrics.left + vm.chromeMetrics.right + 1,
-                           viewportSize.height + vm.borderMetrics.top + vm.borderMetrics.bottom +
-                               vm.chromeMetrics.top + vm.chromeMetrics.bottom + 1, false);
-  }
-  else if (!host.isWidthSizedToContent() && host.isHeightSizedToContent()) {
-    host.setHeight(viewportSize.height + vm.borderMetrics.top + vm.borderMetrics.bottom +
-                               vm.chromeMetrics.top + vm.chromeMetrics.bottom + 1, false);
-  }
-  else if (host.isWidthSizedToContent() && !host.isHeightSizedToContent()) {
-    host.setWidth(viewportSize.width + vm.borderMetrics.left + vm.borderMetrics.right +
-                               vm.chromeMetrics.left + vm.chromeMetrics.right + 1, false);
-  }
-};
-
-
-/**
- * @expose
- * @return {number} The count of the elements in this object.
- */
-org.apache.flex.html.beads.ContainerView.prototype.numElements =
-  function() {
-  return this.contentView.numElements();
-};
-
-
-/**
- * @expose
- * @param {Object} c The element being added.
- * @param {boolean=} opt_dispatchEvent If true and event is dispatched.
- */
-org.apache.flex.html.beads.ContainerView.prototype.addElement =
-  function(c, opt_dispatchEvent) {
-  this.contentView.addElement(c, opt_dispatchEvent);
-};
-
-
-/**
- * @expose
- * @param {Object} c The element being added.
- * @param {number} index The index of the new element.
- * @param {boolean=} opt_dispatchEvent If true and event is dispatched.
- */
-org.apache.flex.html.beads.ContainerView.prototype.addElementAt =
-  function(c, index, opt_dispatchEvent) {
-  this.contentView.addElementAt(c, index, opt_dispatchEvent);
-};
-
-
-/**
- * @expose
- * @param {Object} c The element being removed.
- * @param {boolean=} opt_dispatchEvent If true and event is dispatched.
- */
-org.apache.flex.html.beads.ContainerView.prototype.removeElement =
-  function(c, opt_dispatchEvent) {
-  this.contentView.removeElement(c, opt_dispatchEvent);
-};
-
-
-/**
- * @expose
- * @param {Object} c The element whose index is sought.
- * @return {number} The index of the given element.
- */
-org.apache.flex.html.beads.ContainerView.prototype.getElementIndex =
-  function(c) {
-  return this.contentView.getElementIndex(c);
-};
-
-
-/**
- * @expose
- * @param {number} index The index of the element.
- * @return {Object} The element at the given index.
- */
-org.apache.flex.html.beads.ContainerView.prototype.getElementAt =
-  function(index) {
-  return this.contentView.getElementAt(index);
-};
-
-
-Object.defineProperties(org.apache.flex.html.beads.ContainerView.prototype, {
-    /** @export */
-    contentView: {
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        get: function() {
-            return this.viewport.contentView;
-        }
-    },
-    /** @export */
-    resizableView: {
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        get: function() {
-            return this._strand;
-        },
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        set: function(value) {
-        }
-    },
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(org.apache.flex.html.beads.ContainerView, this, 'strand', value);
-            this.createViewport();
-            this.host.strandChildren.addElement(this.viewport.contentView, false);
-            this._strand.addEventListener('initComplete',
-                  org.apache.flex.utils.Language.closure(this.initCompleteHandler, this, 'initCompleteHandler'));
-         }
-    },
-    /** @export */
-    viewport: {
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        set: function(value) {
-            this.viewport_ = value;
-        },
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        get: function() {
-            return this.viewport_;
-        }
-    },
-    /** @export */
-    viewportModel: {
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        set: function(value) {
-            this.viewportModel_ = value;
-        },
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        get: function() {
-            return this.viewportModel_;
-        }
-    },
-    /** @export */
-    layout: {
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        set: function(value) {
-            this.layout_ = value;
-        },
-        /** @this {org.apache.flex.html.beads.ContainerView} */
-        get: function() {
-            return this.layout_;
-        }
-    }
-
-});