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:07 UTC

[01/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

Repository: flex-asjs
Updated Branches:
  refs/heads/core_js_to_as 970554993 -> 094395209


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Network/js/src/org/apache/flex/net/HTTPService.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/js/src/org/apache/flex/net/HTTPService.js b/frameworks/projects/Network/js/src/org/apache/flex/net/HTTPService.js
deleted file mode 100644
index cfdd874..0000000
--- a/frameworks/projects/Network/js/src/org/apache/flex/net/HTTPService.js
+++ /dev/null
@@ -1,420 +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.net.HTTPService');
-
-goog.require('org.apache.flex.core.HTMLElementWrapper');
-goog.require('org.apache.flex.net.HTTPHeader');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.HTMLElementWrapper}
- */
-org.apache.flex.net.HTTPService = function() {
-  org.apache.flex.net.HTTPService.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {?string}
-   */
-  this.url_ = null;
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.status_ = -1;
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.method_ = 'GET';
-
-  /**
-   * @private
-   * @type {Array}
-   */
-  this.headers_ = null;
-
-  /**
-   * @private
-   * @type {Array}
-   */
-  this.responseHeaders_ = null;
-
-  /**
-   * @private
-   * @type {?string}
-   */
-  this.responseURL_ = null;
-
-  /**
-   * @private
-   * @type {Array.<Object>}
-   */
-  this.mxmlBeads_ = null;
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.timeout_ = 0;
-
-  /**
-   * @private
-   * @type {?string}
-   */
-  this.contentData_ = null;
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.contentType_ = 'application/x-www-form-urlencoded';
-
-  /**
-   * @private
-   * @type {?string}
-   */
-  this.id_ = null;
-
-  //try { // (erikdebruin) 'desperate' attempt to bypass XDR security in IE < 10
-  //  this.contentType_ = 'text/plain';
-  //  this.element = new XDomainRequest();
-  //} catch (e) {}
-
-  this.element = new XMLHttpRequest();
-};
-goog.inherits(org.apache.flex.net.HTTPService,
-    org.apache.flex.core.HTMLElementWrapper);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.net.HTTPService.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'HTTPService',
-                qName: 'org.apache.flex.net.HTTPService'}] };
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPService.HTTP_METHOD_GET = 'GET';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPService.HTTP_METHOD_POST = 'POST';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPService.HTTP_METHOD_PUT = 'PUT';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPService.HTTP_METHOD_DELETE = 'DELETE';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPService.EVENT_COMPLETE = 'complete';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPService.EVENT_IO_ERROR = 'ioError';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPService.EVENT_HTTP_STATUS = 'httpStatus';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPService.EVENT_HTTP_RESPONSE_STATUS = 'httpResponseStatus';
-
-
-Object.defineProperties(org.apache.flex.net.HTTPService.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {}
-    },
-    /** @export */
-    beads: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {
-            this.mxmlBeads_ = value;
-        }
-    },
-    /** @export */
-    data: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.element.responseText;
-        }
-    },
-    /** @export */
-    json: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            if (!this._json)
-              this._json = JSON.parse(this.data);
-            return this._json;
-        }
-    },
-    /** @export */
-    contentData: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.contentData_;
-        },
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {
-            this.contentData_ = value;
-        }
-    },
-    /** @export */
-    contentType: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.contentType_;
-        },
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {
-            this.contentType_ = value;
-        }
-    },
-    /** @export */
-    headers: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            if (this.headers_ === undefined) {
-              this.headers_ = [];
-            }
-
-            return this.headers_;
-        },
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {
-            this.headers_ = value;
-        }
-    },
-    /** @export */
-    method: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.method_;
-        },
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {
-            this.method_ = value;
-        }
-    },
-    /** @export */
-    responseHeaders: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            var allHeaders, c, hdr, i, n, part1, part2;
-
-            if (typeof this.responseHeaders_ === 'undefined') {
-              allHeaders = this.element.getAllResponseHeaders();
-              this.responseHeaders_ = allHeaders.split('\n');
-              n = this.responseHeaders_.length;
-              for (i = 0; i < n; i++) {
-                hdr = this.responseHeaders_[i];
-                c = hdr.indexOf(':');
-                part1 = hdr.substring(0, c);
-                part2 = hdr.substring(c + 2);
-                this.responseHeaders_[i] =
-                    new org.apache.flex.net.HTTPHeader(part1, part2);
-              }
-            }
-            return this.responseHeaders_;
-        }
-    },
-    /** @export */
-    responseURL: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.responseURL_;
-        }
-    },
-    /** @export */
-    status: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.status_;
-        }
-    },
-    /** @export */
-    timeout: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.timeout_;
-        },
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {
-            this.timeout_ = value;
-        }
-    },
-    /** @export */
-    url: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.url_;
-        },
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {
-            this.url_ = value;
-        }
-    },
-    /** @export */
-    id: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return this.id_;
-        },
-        /** @this {org.apache.flex.net.HTTPService} */
-        set: function(value) {
-            if (this.id_ !== value) {
-              this.id_ = value;
-              this.dispatchEvent('idChanged');
-            }
-        }
-    },
-    /** @export */
-    MXMLDescriptor: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return null;
-        }
-    },
-    /** @export */
-    MXMLProperties: {
-        /** @this {org.apache.flex.net.HTTPService} */
-        get: function() {
-            return null;
-        }
-    }
-});
-
-
-/**
- * @export
- */
-org.apache.flex.net.HTTPService.prototype.send = function() {
-  var contentData, header, i, n, sawContentType, url;
-
-  if (this._beads == null && this.mxmlBeads_) {
-    var m = this.mxmlBeads_.length;
-    for (var j = 0; j < m; j++) {
-      this.addBead(this.mxmlBeads_[j]);
-    }
-  }
-
-  this.element.onreadystatechange = goog.bind(this.progressHandler, this);
-
-  url = this.url_;
-
-  contentData = null;
-  if (this.contentData_ !== undefined) {
-    if (this.method_ === org.apache.flex.net.HTTPService.HTTP_METHOD_GET) {
-      if (url.indexOf('?') !== -1) {
-        url += this.contentData_;
-      } else {
-        url += '?' + this.contentData_;
-      }
-    } else {
-      contentData = this.contentData_;
-    }
-  }
-
-  this.element.open(this.method_, this.url_, true);
-  this.element.timeout = this.timeout_;
-
-  sawContentType = false;
-  if (this.headers_) {
-    n = this.headers_.length;
-    for (i = 0; i < n; i++) {
-      header = this.headers_[i];
-      if (header.name === org.apache.flex.net.HTTPHeader.CONTENT_TYPE) {
-        sawContentType = true;
-      }
-
-      this.element.setRequestHeader(header.name, header.value);
-    }
-  }
-
-  if (this.method_ !== org.apache.flex.net.HTTPService.HTTP_METHOD_GET &&
-      !sawContentType && contentData) {
-    this.element.setRequestHeader(
-        org.apache.flex.net.HTTPHeader.CONTENT_TYPE, this.contentType_);
-  }
-
-  if (contentData) {
-    this.element.setRequestHeader('Content-length', contentData.length);
-    this.element.setRequestHeader('Connection', 'close');
-    this.element.send(contentData);
-  } else {
-    this.element.send();
-  }
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.net.HTTPService.prototype.progressHandler = function() {
-  if (this.element.readyState === 2) {
-    this.status_ = this.element.status;
-    this.dispatchEvent('httpResponseStatus');
-    this.dispatchEvent('httpStatus');
-  } else if (this.element.readyState === 4) {
-    this.dispatchEvent('complete');
-  }
-};
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {string} id The id for the instance.
- */
-org.apache.flex.net.HTTPService.prototype.setDocument = function(document, id) {
-  this.document = document;
-};


[03/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

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js
deleted file mode 100644
index 4971449..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js
+++ /dev/null
@@ -1,140 +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.DataItemRendererFactoryForArrayData');
-
-goog.require('org.apache.flex.core.IDataProviderItemRendererMapper');
-goog.require('org.apache.flex.core.IListPresentationModel');
-goog.require('org.apache.flex.events.EventDispatcher');
-goog.require('org.apache.flex.html.beads.ListView');
-goog.require('org.apache.flex.html.beads.models.ArraySelectionModel');
-goog.require('org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IDataProviderItemRendererMapper}
- */
-org.apache.flex.html.beads.DataItemRendererFactoryForArrayData =
-    function() {
-};
-
-
-/**
- * @export
- */
-org.apache.flex.html.beads.DataItemRendererFactoryForArrayData.prototype.itemRendererFactory = null;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.DataItemRendererFactoryForArrayData.
-    prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'DataItemRendererFactoryForArrayData',
-                qName: 'org.apache.flex.html.beads.DataItemRendererFactoryForArrayData' }],
-      interfaces: [org.apache.flex.core.IDataProviderItemRendererMapper] };
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.html.beads.DataItemRendererFactoryForArrayData.
-    prototype.itemRendererClass_ = null;
-
-
-Object.defineProperties(org.apache.flex.html.beads.DataItemRendererFactoryForArrayData.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.DataItemRendererFactoryForArrayData} */
-        set: function(value) {
-            this.strand_ = value;
-
-            this.model = value.getBeadByType(
-                org.apache.flex.html.beads.models.ArraySelectionModel);
-
-            this.listView = value.getBeadByType(
-                org.apache.flex.html.beads.ListView);
-            this.dataGroup = this.listView.dataGroup;
-
-            this.model.addEventListener('dataProviderChanged',
-                goog.bind(this.dataProviderChangedHandler, this));
-
-            if (org.apache.flex.core.ValuesManager.valuesImpl.getValue && !this.itemRendererFactory_) {
-              /**
-               * @type {Function}
-               */
-              var c = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.getValue(this.strand_,
-                  'iItemRendererClassFactory'));
-              this.itemRendererFactory_ = new c();
-              this.strand_.addBead(this.itemRendererFactory_);
-            }
-
-            this.dataProviderChangedHandler(null);
-        }
-    },
-    /** @export */
-    itemRendererClass: {
-        /** @this {org.apache.flex.html.beads.DataItemRendererFactoryForArrayData} */
-        get: function() {
-            if (org.apache.flex.core.ValuesManager.valuesImpl.getValue && !this.itemRendererClass_) {
-              var c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this.strand_, 'iItemRenderer');
-              if (c) {
-                this.itemRendererClass_ = c;
-              }
-            }
-            return this.itemRendererClass_;
-        },
-        /** @this {org.apache.flex.html.beads.DataItemRendererFactoryForArrayData} */
-        set: function(value) {
-            this.itemRendererClass_ = value;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {Object} event The event that triggered the dataProvider change.
- */
-org.apache.flex.html.beads.DataItemRendererFactoryForArrayData.
-    prototype.dataProviderChangedHandler = function(event) {
-  var dp, i, n, opt;
-
-  this.dataGroup.removeAllElements();
-
-  var presModel = this.strand_.getBeadByType(org.apache.flex.core.IListPresentationModel);
-
-  dp = this.model.dataProvider;
-  if (dp === undefined) return;
-
-  n = dp.length;
-  for (i = 0; i < n; i++) {
-    var ir = this.itemRendererFactory_.createItemRenderer(this.dataGroup);
-    ir.index = i;
-    ir.labelField = this.model.labelField;
-    ir.data = dp[i];
-    if (presModel) {
-      ir.element.style['margin-bottom'] = presModel.separatorThickness;
-      ir.height = presModel.rowHeight;
-    }
-  }
-
-  var newEvent = new org.apache.flex.events.Event('itemsCreated');
-  this.strand_.dispatchEvent(newEvent);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/IListView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/IListView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/IListView.js
deleted file mode 100644
index b1c8458..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/IListView.js
+++ /dev/null
@@ -1,43 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.html.beads.IListView');
-
-goog.require('org.apache.flex.core.IBeadView');
-
-
-
-/**
- * IListView
- *
- * @interface
- */
-org.apache.flex.html.beads.IListView = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.IListView.prototype.FLEXJS_CLASS_INFO =
-{ names: [{ name: 'IListView',
-            qName: 'org.apache.flex.html.beads.IListView'}],
-  interfaces: [org.apache.flex.core.IBeadView] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ImageButtonView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ImageButtonView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ImageButtonView.js
deleted file mode 100644
index 2e262bc..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ImageButtonView.js
+++ /dev/null
@@ -1,45 +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.ImageButtonView');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.beads.ImageButtonView = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.ImageButtonView
-  .prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ImageButtonView',
-                qName: 'org.apache.flex.html.beads.ImageButtonView'}] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.ImageButtonView.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.ImageButtonView} */
-        set: function(value) {
-            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/ImageView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ImageView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ImageView.js
deleted file mode 100644
index 5ada7bc..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ImageView.js
+++ /dev/null
@@ -1,117 +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.ImageView');
-
-
-goog.require('org.apache.flex.html.beads.models.ImageModel');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.beads.ImageView = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.ImageView
-  .prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ImageView',
-                qName: 'org.apache.flex.html.beads.ImageView'}] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.ImageView.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.ImageView} */
-        set: function(value) {
-            this.strand_ = value;
-
-            this.model = value.getBeadByType(
-                org.apache.flex.html.beads.models.ImageModel);
-            this.model.addEventListener('sourceChanged',
-                goog.bind(this.sourceChangeHandler, this));
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {Object} event The event triggered by the source change.
- */
-org.apache.flex.html.beads.ImageView.prototype.
-    sourceChangeHandler = function(event) {
-  this.strand_.element.addEventListener('load',
-      goog.bind(this.loadHandler, this));
-  this.strand_.addEventListener('sizeChanged',
-      goog.bind(this.sizeChangedHandler, this));
-  this.strand_.element.src = this.model.source;
-};
-
-
-/**
- * @export
- * @param {Object} event The event triggered by the load.
- */
-org.apache.flex.html.beads.ImageView.prototype.
-    loadHandler = function(event) {
-  this.strand_.parent.dispatchEvent('layoutNeeded');
-};
-
-
-/**
- * @export
- * @param {Object} event The event triggered by the size change.
- */
-org.apache.flex.html.beads.ImageView.prototype.
-    sizeChangedHandler = function(event) {
-  var s = this.strand_.positioner.style;
-  var l = NaN;
-  var ls = s.left;
-  if (typeof(ls) === 'string' && ls.length > 0)
-    l = parseFloat(ls.substring(0, ls.length - 2));
-  var r = NaN;
-  var rs = s.right;
-  if (typeof(rs) === 'string' && rs.length > 0)
-    r = parseFloat(rs.substring(0, rs.length - 2));
-  if (!isNaN(l) &&
-      !isNaN(r)) {
-    // if just using size constraints and image will not shrink or grow
-    var computedWidth = this.strand_.positioner.offsetParent.offsetWidth -
-                           l - r;
-    s.width = computedWidth.toString() + 'px';
-  }
-  var t = NaN;
-  var ts = s.top;
-  if (typeof(ts) === 'string' && ts.length > 0)
-    t = parseFloat(ts.substring(0, ts.length - 2));
-  var b = NaN;
-  var bs = s.right;
-  if (typeof(bs) === 'string' && bs.length > 0)
-    b = parseFloat(bs.substring(0, bs.length - 2));
-  if (!isNaN(t) &&
-      !isNaN(b)) {
-    // if just using size constraints and image will not shrink or grow
-    var computedHeight = this.strand_.positioner.offsetParent.offsetHeight -
-                           t - b;
-    s.height = computedHeight.toString() + 'px';
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js
deleted file mode 100644
index 89401f2..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js
+++ /dev/null
@@ -1,169 +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.ListView');
-
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.IBeadView');
-goog.require('org.apache.flex.core.IItemRendererParent');
-goog.require('org.apache.flex.core.ILayoutHost');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.html.beads.ContainerView');
-goog.require('org.apache.flex.html.beads.IListView');
-goog.require('org.apache.flex.html.beads.TextItemRendererFactoryForArrayData');
-goog.require('org.apache.flex.html.beads.models.ArraySelectionModel');
-goog.require('org.apache.flex.html.supportClasses.DataGroup');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.beads.ContainerView}
- * @implements {org.apache.flex.core.ILayoutHost}
- * @implements {org.apache.flex.html.beads.IListView}
- */
-org.apache.flex.html.beads.ListView = function() {
-  this.lastSelectedIndex = -1;
-
-  this.className = 'ListView';
-  org.apache.flex.html.beads.ListView.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.beads.ListView,
-    org.apache.flex.html.beads.ContainerView);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.ListView.prototype.
-    FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ListView',
-                qName: 'org.apache.flex.html.beads.ListView' }],
-      interfaces: [org.apache.flex.html.beads.IListView, org.apache.flex.core.ILayoutHost] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.beads.ListView.
-    prototype.completeSetup = function() {
-  org.apache.flex.html.beads.ListView.base(this, 'completeSetup');
-  this._strand.addEventListener('itemsCreated',
-  goog.bind(this.changeHandler, this));
-};
-
-
-Object.defineProperties(org.apache.flex.html.beads.ListView.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.ListView} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(
-                org.apache.flex.html.beads.ListView, this, 'strand', value);
-
-            this.model = this._strand.model;
-            this.model.addEventListener('selectedIndexChanged',
-                goog.bind(this.selectionChangeHandler, this));
-            this.model.addEventListener('dataProviderChanged',
-                goog.bind(this.dataProviderChangeHandler, this));
-
-            this.dataGroup.strand = this;
-
-            /*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 {org.apache.flex.html.beads.ListView} */
-        get: function() {
-            return this._strand;
-        }
-    },
-    /** @export */
-    dataGroup: {
-        /** @this {org.apache.flex.html.beads.ListView} */
-        get: function() {
-            return this.contentView;
-        }
-    },
-    /** @export */
-    border: {
-        /** @this {org.apache.flex.html.beads.ListView} */
-        get: function() {
-            return null;
-        }
-    },
-    /** @export */
-    vScrollBar: {
-        /** @this {org.apache.flex.html.beads.ListView} */
-        get: function() {
-            return null;
-        },
-        /** @this {org.apache.flex.html.beads.ListView} */
-        set: function(value) {
-        }
-    },
-    /** @export */
-    resizeableView: {
-        /** @this {org.apache.flex.html.beads.ListView} */
-        get: function() {
-            return this;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {org.apache.flex.events.Event} value The event that triggered the selection.
- */
-org.apache.flex.html.beads.ListView.prototype.
-    selectionChangeHandler = function(value) {
-  var ir;
-  if (this.lastSelectedIndex != -1) {
-    ir = this.dataGroup.getItemRendererForIndex(this.lastSelectedIndex);
-    if (ir) ir.selected = false;
-  }
-  if (this.model.selectedIndex != -1) {
-    ir = this.dataGroup.getItemRendererForIndex(
-        this.model.selectedIndex);
-    if (ir) ir.selected = true;
-  }
-  this.lastSelectedIndex = this.model.selectedIndex;
-};
-
-
-/**
- * @export
- * @param {org.apache.flex.events.Event} value The event that triggered the selection.
- */
-org.apache.flex.html.beads.ListView.prototype.
-    dataProviderChangeHandler = function(value) {
-    // override in subclass
-    this.changeHandler(value);
-};
-
-
-/**
- * @export
- * @param {org.apache.flex.events.Event} event The event that triggered the resize.
- */
-org.apache.flex.html.beads.ListView.prototype.handleSizeChange = function(event) {
-  this.dataGroup.width = this._strand.width;
-  this.dataGroup.height = this._strand.height;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/PanelView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/PanelView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/PanelView.js
deleted file mode 100644
index f0e02b7..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/PanelView.js
+++ /dev/null
@@ -1,204 +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.PanelView');
-
-goog.require('org.apache.flex.html.TitleBar');
-goog.require('org.apache.flex.html.beads.ContainerView');
-goog.require('org.apache.flex.utils.CSSContainerUtils');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.beads.ContainerView}
- */
-org.apache.flex.html.beads.PanelView = function() {
-  org.apache.flex.html.beads.PanelView.base(this, 'constructor');
-  /**
-   * @private
-   * @type {boolean}
-  */
-  this.titleBarAdded_ = false;
-
-  /**
-   * @private
-   * @type {?Object}
-  */
-  this.titleBar_ = null;
-
-  this.className = 'PanelView';
-};
-goog.inherits(
-    org.apache.flex.html.beads.PanelView,
-    org.apache.flex.html.beads.ContainerView);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.PanelView
-  .prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PanelView',
-                qName: 'org.apache.flex.html.beads.PanelView'}]};
-
-
-/**
- * @override
- */
-org.apache.flex.html.beads.PanelView.
-    prototype.completeSetup = function() {
-  org.apache.flex.html.beads.PanelView.base(this, 'completeSetup');
-  // 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));
-};
-
-
-Object.defineProperties(org.apache.flex.html.beads.PanelView.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.PanelView} */
-        set: function(value) {
-            if (!this.titleBar_)
-              this.titleBar_ = new org.apache.flex.html.TitleBar();
-
-            value.titleBar = this.titleBar_;
-            this.titleBar_.id = 'panelTitleBar';
-            this.titleBar_.model = value.model;
-            this.titleBarAdded_ = true;
-            value.strandChildren.addElement(this.titleBar_);
-
-//            this._strand.controlBar =
-//                new org.apache.flex.html.ControlBar();
-
-            org.apache.flex.utils.Language.superSetter(org.apache.flex.html.beads.PanelView, this, 'strand', value);
-        }
-    },
-    /** @export */
-    titleBar: {
-        /** @this {org.apache.flex.html.beads.PanelView} */
-        get: function() {
-            return this.titleBar_;
-        },
-        /** @this {org.apache.flex.html.beads.PanelView} */
-        set: function(value) {
-            this.titleBar_ = value;
-        }
-    }
-});
-
-
-/**
- * @override
- */
-org.apache.flex.html.beads.PanelView.
-    prototype.layoutViewBeforeContentLayout = function() {
-  var vm = this.viewportModel;
-  var host = this._strand;
-  var w = host.width;
-  var s = window.getComputedStyle(host.element);
-  var sw = Number(s.width.substring(0, s.width.length - 2));
-  if (sw > w) w = sw;
-  vm.borderMetrics = org.apache.flex.utils.CSSContainerUtils.getBorderMetrics(host);
-  this.titleBar.x = 0;
-  this.titleBar.y = 0;
-  if (!host.isWidthSizedToContent())
-    this.titleBar.width = w - vm.borderMetrics.left - vm.borderMetrics.right;
-  vm.chromeMetrics = this.getChromeMetrics();
-  this.viewport.setPosition(vm.chromeMetrics.left,
-                            vm.chromeMetrics.top);
-  this.viewport.layoutViewportBeforeContentLayout(
-      !host.isWidthSizedToContent() ?
-          w - vm.borderMetrics.left - vm.borderMetrics.right -
-                       vm.chromeMetrics.left - vm.chromeMetrics.right : NaN,
-      !host.isHeightSizedToContent() ?
-          host.height - vm.borderMetrics.top - vm.borderMetrics.bottom -
-                        vm.chromeMetrics.top - vm.chromeMetrics.bottom : NaN);
-};
-
-
-/**
- * @override
- */
-org.apache.flex.html.beads.PanelView.
-    prototype.layoutViewAfterContentLayout = function() {
-  var vm = this.viewportModel;
-  var host = this._strand;
-  var viewportSize = this.viewport.layoutViewportAfterContentLayout();
-  var hasWidth = !host.isWidthSizedToContent();
-  var hasHeight = !host.isHeightSizedToContent();
-  if (!hasWidth) {
-    this.titleBar.width = viewportSize.width; // should get titlebar to layout and get new height
-    vm.chromeMetrics = this.getChromeMetrics();
-  }
-  org.apache.flex.html.beads.PanelView.base(this, 'layoutViewAfterContentLayout');
-};
-
-
-/**
- * @override
- * Returns the chrome metrics
- */
-org.apache.flex.html.beads.PanelView.
-    prototype.getChromeMetrics = function() {
-  return new org.apache.flex.geom.Rectangle(0, this.titleBar.height, 0, 0 - this.titleBar.height);
-};
-
-
-
-
-/**
- * @override
- * @param {org.apache.flex.events.Event} event The event that triggered this handler.
- */
-/**org.apache.flex.html.beads.PanelView.prototype.changeHandler =
-    function(event) {
-  var strand = this._strand;
-  if (!this.titleBarAdded_)
-  {
-    this.titleBarAdded_ = true;
-    strand.addElement(this.titleBar_);
-    if (strand.controlBar != null)
-      strand.addElement(strand.controlBar);
-  }
-
-  if (event.type == 'titleChange') {
-    this.titleBar_.title = strand.model.title;
-  }
-
-  var p = this._strand.positioner;
-  if (!strand.isWidthSizedToContent()) {
-    var w = strand.width;
-    w -= p.offsetWidth - p.clientWidth;
-    this.titleBar_.setWidth(w);
-    strand.contentArea.style.width = w.toString() + 'px';
-    if (strand.controlBar)
-      strand.controlBar.setWidth(w);
-  }
-  if (!strand.isHeightSizedToContent()) {
-    var t = this.titleBar_.height;
-    var b = 0;
-    if (strand.controlBar)
-      b = strand.controlBar.height;
-    strand.contentArea.style.top = t.toString() + 'px';
-    var h = strand.height - t - b;
-    h -= p.offsetHeight - p.clientHeight;
-    strand.contentArea.style.height = h.toString() + 'px';
-  }
-  org.apache.flex.html.beads.PanelView.base(this, 'changeHandler', event);
-};**/

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js
deleted file mode 100644
index c4a7eac..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js
+++ /dev/null
@@ -1,81 +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.ScrollingContainerView');
-
-goog.require('org.apache.flex.html.beads.ContainerView');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.beads.ContainerView}
- */
-org.apache.flex.html.beads.ScrollingContainerView = function() {
-  this.lastSelectedIndex = -1;
-  org.apache.flex.html.beads.ScrollingContainerView.base(this, 'constructor');
-
-  this.className = 'ScrollingContainerView';
-};
-goog.inherits(
-    org.apache.flex.html.beads.ScrollingContainerView,
-    org.apache.flex.html.beads.ContainerView);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.ScrollingContainerView.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ScrollingContainerView',
-                qName: 'org.apache.flex.html.beads.ScrollingContainerView' }],
-    interfaces: [org.apache.flex.core.ILayoutHost]
-    };
-
-
-Object.defineProperties(org.apache.flex.html.beads.ScrollingContainerView.prototype, {
-    /** @export */
-    contentView: {
-        /** @this {org.apache.flex.html.beads.ScrollingContainerView} */
-        get: function() {
-            return this._strand;
-        }
-    },
-    /** @export */
-    resizableView: {
-        /** @this {org.apache.flex.html.beads.ScrollingContainerView} */
-        get: function() {
-            return this._strand;
-        }
-    },
-    /** @export */
-    verticalScrollPosition: {
-        /** @this {org.apache.flex.html.beads.ScrollingContainerView} */
-        get: function() {
-           return this._strand.scrollTop;
-        },
-        /** @this {org.apache.flex.html.beads.ScrollingContainerView} */
-        set: function(value) {
-           this._strand.scrollTop = value;
-        }
-    },
-    /** @export */
-    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/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/SliderThumbView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/SliderThumbView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/SliderThumbView.js
deleted file mode 100644
index 4ec086a..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/SliderThumbView.js
+++ /dev/null
@@ -1,62 +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.SliderThumbView');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.beads.SliderThumbView = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.SliderThumbView
-  .prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SliderThumbView',
-                qName: 'org.apache.flex.html.beads.SliderThumbView'}] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.SliderThumbView.prototype, {
-    /** @export */
-    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;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/SliderTrackView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/SliderTrackView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/SliderTrackView.js
deleted file mode 100644
index 9bdcd5f..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/SliderTrackView.js
+++ /dev/null
@@ -1,62 +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.SliderTrackView');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.beads.SliderTrackView = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.SliderTrackView
-  .prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SliderTrackView',
-                qName: 'org.apache.flex.html.beads.SliderTrackView'}] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.SliderTrackView.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.SliderTrackView} */
-        set: function(value) {
-            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;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/TextInputWithBorderView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/TextInputWithBorderView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/TextInputWithBorderView.js
deleted file mode 100644
index 830fec5..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/TextInputWithBorderView.js
+++ /dev/null
@@ -1,45 +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.TextInputWithBorderView');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.beads.TextInputWithBorderView = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.TextInputWithBorderView
-  .prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextInputWithBorderView',
-                qName: 'org.apache.flex.html.beads.TextInputWithBorderView'}] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.TextInputWithBorderView.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.TextInputWithBorderView} */
-        set: function(value) {
-            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/TextItemRendererFactoryForArrayData.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/TextItemRendererFactoryForArrayData.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/TextItemRendererFactoryForArrayData.js
deleted file mode 100644
index de7dde4..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/TextItemRendererFactoryForArrayData.js
+++ /dev/null
@@ -1,117 +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.TextItemRendererFactoryForArrayData');
-
-goog.require('org.apache.flex.core.IDataProviderItemRendererMapper');
-goog.require('org.apache.flex.core.IItemRenderer');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.EventDispatcher');
-goog.require('org.apache.flex.html.beads.models.ArraySelectionModel');
-goog.require('org.apache.flex.html.supportClasses.StringItemRenderer');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @implements {org.apache.flex.core.IItemRenderer}
- */
-org.apache.flex.html.beads.TextItemRendererFactoryForArrayData =
-    function() {
-  org.apache.flex.html.beads.TextItemRendererFactoryForArrayData.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.beads.TextItemRendererFactoryForArrayData,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.TextItemRendererFactoryForArrayData.
-    prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextItemRendererFactoryForArrayData',
-                qName: 'org.apache.flex.html.beads.TextItemRendererFactoryForArrayData' }],
-      interfaces: [org.apache.flex.core.IItemRenderer] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.TextItemRendererFactoryForArrayData.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.TextItemRendererFactoryForArrayData} */
-        set: function(value) {
-            this.strand_ = value;
-
-            this.model = value.getBeadByType(
-                org.apache.flex.html.beads.models.ArraySelectionModel);
-
-            this.listView = value.getBeadByType(
-                org.apache.flex.html.beads.ListView);
-            this.dataGroup = this.listView.dataGroup;
-
-            this.model.addEventListener('dataProviderChanged',
-                goog.bind(this.dataProviderChangedHandler, this));
-
-            if (!this.itemRendererFactory)
-            {
-                var m2 = org.apache.flex.core.ValuesManager.valuesImpl.
-                    getValue(this.strand_, 'iItemRendererClassFactory');
-                this.itemRendererFactory = new m2();
-                this.strand_.addBead(this.itemRendererFactory);
-            }
-
-            this.dataProviderChangedHandler(null);
-        },
-        /** @this {org.apache.flex.html.beads.TextItemRendererFactoryForArrayData} */
-        get: function() {
-            return this.strand_;
-        }
-    },
-    itemRendererFactory: {
-        /** @this {org.apache.flex.html.beads.TextItemRendererFactoryForArrayData} */
-        set: function(value) {
-           this.itemRendererFactory_ = value;
-        },
-        /** @this {org.apache.flex.html.beads.TextItemRendererFactoryForArrayData} */
-        get: function() {
-           return this.itemRendererFactory_;
-        }
-     }
-});
-
-
-/**
- * @export
- * @param {Object} event The event that triggered the dataProvider change.
- */
-org.apache.flex.html.beads.TextItemRendererFactoryForArrayData.
-    prototype.dataProviderChangedHandler = function(event) {
-  var dp, i, n, opt;
-
-  dp = this.model.dataProvider;
-  n = dp.length;
-  for (i = 0; i < n; i++) {
-    var tf = this.itemRendererFactory.createItemRenderer(this.dataGroup);
-    this.dataGroup.addElement(tf);
-    tf.data = dp[i];
-    tf.index = i;
-  }
-
-  var newEvent = new org.apache.flex.events.Event('itemsCreated');
-  this.strand_.dispatchEvent(newEvent);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js
deleted file mode 100644
index ea2362c..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.js
+++ /dev/null
@@ -1,127 +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.controllers.ItemRendererMouseController');
-
-goog.require('goog.events.Event');
-goog.require('goog.events.EventType');
-goog.require('org.apache.flex.core.IBeadController');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBeadController}
- */
-org.apache.flex.html.beads.controllers.ItemRendererMouseController = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.controllers.ItemRendererMouseController.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ItemRendererMouseController',
-                qName: 'org.apache.flex.html.beads.controllers.ItemRendererMouseController' }],
-      interfaces: [org.apache.flex.core.IBeadController] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.controllers.ItemRendererMouseController.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.controllers.ItemRendererMouseController} */
-        set: function(value) {
-            this.strand_ = value;
-
-            goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEOVER,
-                goog.bind(this.handleMouseOver, this));
-
-            goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEOUT,
-                goog.bind(this.handleMouseOut, this));
-
-            goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEDOWN,
-                goog.bind(this.handleMouseDown, this));
-
-            goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEUP,
-                goog.bind(this.handleMouseUp, this));
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {Object} e The mouse event that triggered the hover.
- */
-org.apache.flex.html.beads.controllers.ItemRendererMouseController.prototype.handleMouseOver = function(e) {
-
-  this.strand_.hovered = true;
-
-  var newEvent = new MouseEvent('rollover');
-  newEvent.initMouseEvent('rollover', false, false,
-    e.view, e.detail, e.screenX, e.screenY,
-    e.clientX, e.clientY, e.ctrlKey, e.altKey,
-    e.shiftKey, e.metaKey, e.button, e.relatedTarget);
-  this.strand_.itemRendererParent.dispatchEvent(newEvent);
-};
-
-
-/**
- * @export
- * @param {Object} e The mouse-out event.
- */
-org.apache.flex.html.beads.controllers.ItemRendererMouseController.prototype.handleMouseOut = function(e) {
-
-  this.strand_.hovered = false;
-
-  var newEvent = new MouseEvent('rollout');
-  newEvent.initMouseEvent('rollout', false, false,
-    e.view, e.detail, e.screenX, e.screenY,
-    e.clientX, e.clientY, e.ctrlKey, e.altKey,
-    e.shiftKey, e.metaKey, e.button, e.relatedTarget);
-  this.strand_.itemRendererParent.dispatchEvent(newEvent);
-};
-
-
-/**
- * @export
- * @param {Object} event The mouse-down event.
- */
-org.apache.flex.html.beads.controllers.ItemRendererMouseController.prototype.handleMouseDown = function(event) {
-
-  // ??
-};
-
-
-/**
- * @export
- * @param {Object} event The mouse-up event that triggers the selection.
- */
-org.apache.flex.html.beads.controllers.ItemRendererMouseController.prototype.handleMouseUp = function(event) {
-
-  var newEvent = new goog.events.Event('selected');
-
-  // normally you do not - and should not - change the target of an event,
-  // but these events do not propagate nor bubble up the object tree, so
-  // we have to force the event's target to be this item renderer instance.
-
-  newEvent.target = this.strand_;
-
-  // since the event is not going to up the chain, we also have to dispatch
-  // it against its final destination.
-
-  this.strand_.itemRendererParent.dispatchEvent(newEvent);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js
deleted file mode 100644
index 282e8fd..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js
+++ /dev/null
@@ -1,77 +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.controllers.ListSingleSelectionMouseController');
-
-goog.require('org.apache.flex.core.IBeadController');
-goog.require('org.apache.flex.core.ISelectableItemRenderer');
-goog.require('org.apache.flex.core.ISelectionModel');
-goog.require('org.apache.flex.html.beads.ListView');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBeadController}
- */
-org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ListSingleSelectionMouseController',
-                qName: 'org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController' }],
-      interfaces: [org.apache.flex.core.IBeadController] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController} */
-        set: function(value) {
-            this.strand_ = value;
-
-            this.model = value.getBeadByType(
-                org.apache.flex.core.ISelectionModel);
-            this.listView = value.getBeadByType(
-                org.apache.flex.html.beads.ListView);
-
-            this.dataGroup = this.listView.dataGroup;
-            this.dataGroup.addEventListener('selected',
-                goog.bind(this.selectedHandler, this));
-        }
-    }
-});
-
-
-/**
- * @export
- *        ListSingleSelectionMouseController}
- * @param {Object} event The event that triggered the selection.
- */
-org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController.prototype.selectedHandler =
-        function(event) {
-
-  var renderer = org.apache.flex.utils.Language.as(event.target, org.apache.flex.core.ISelectableItemRenderer);
-  var index = renderer.index;
-  this.model.selectedIndex = index;
-
-  this.strand_.dispatchEvent('change');
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/SliderMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/SliderMouseController.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/SliderMouseController.js
deleted file mode 100644
index 3801d70..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/SliderMouseController.js
+++ /dev/null
@@ -1,172 +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.controllers.SliderMouseController');
-
-goog.require('org.apache.flex.html.beads.SliderThumbView');
-goog.require('org.apache.flex.html.beads.SliderTrackView');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.beads.controllers.SliderMouseController =
-    function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.controllers.SliderMouseController.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SliderMouseController',
-                qName: 'org.apache.flex.html.beads.controllers.SliderMouseController' }] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.controllers.SliderMouseController.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.controllers.SliderMouseController} */
-        set: function(value) {
-            this.strand_ = value;
-
-            this.track = this.strand_.getBeadByType(
-                org.apache.flex.html.beads.SliderTrackView);
-            this.thumb = this.strand_.getBeadByType(
-                org.apache.flex.html.beads.SliderThumbView);
-
-            goog.events.listen(this.track.element, goog.events.EventType.CLICK,
-                     this.handleTrackClick, false, this);
-
-            goog.events.listen(this.thumb.element, goog.events.EventType.MOUSEDOWN,
-                     this.handleThumbDown, false, this);
-        }
-    }
-});
-
-
-/**
- *        SliderMouseController}
- * @param {Event} event The event triggering the function.
- * @return {void} Handles click on track.
- */
-org.apache.flex.html.beads.controllers.SliderMouseController.
-    prototype.handleTrackClick =
-    function(event)
-    {
-  var xloc = event.clientX;
-  var p = Math.min(1, xloc / parseInt(this.track.element.style.width, 10));
-  var n = p * (this.strand_.maximum - this.strand_.minimum) +
-          this.strand_.minimum;
-
-  this.strand_.value = n;
-
-  this.origin = parseInt(this.thumb.element.style.left, 10);
-  this.position = parseInt(this.thumb.element.style.left, 10);
-
-  this.calcValFromMousePosition(event, true);
-
-  this.strand_.dispatchEvent(new org.apache.flex.events.Event('valueChange'));
-};
-
-
-/**
- *        SliderMouseController}
- * @param {Event} event The event triggering the function.
- * @return {void} Handles mouse-down on the thumb.
- */
-org.apache.flex.html.beads.controllers.SliderMouseController.
-    prototype.handleThumbDown =
-    function(event)
-    {
-  goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEUP,
-                     this.handleThumbUp, false, this);
-  goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEMOVE,
-                     this.handleThumbMove, false, this);
-
-  this.origin = event.clientX;
-  this.position = parseInt(this.thumb.element.style.left, 10);
-};
-
-
-/**
- *        SliderMouseController}
- * @param {Event} event The event triggering the function.
- * @return {void} Handles mouse-up on the thumb.
- */
-org.apache.flex.html.beads.controllers.SliderMouseController.
-    prototype.handleThumbUp =
-    function(event)
-    {
-  goog.events.unlisten(this.strand_.element, goog.events.EventType.MOUSEUP,
-                       this.handleThumbUp, false, this);
-  goog.events.unlisten(this.strand_.element, goog.events.EventType.MOUSEMOVE,
-                       this.handleThumbMove, false, this);
-
-  this.calcValFromMousePosition(event, false);
-
-  this.strand_.dispatchEvent(new org.apache.flex.events.Event('valueChange'));
-};
-
-
-/**
- *        SliderMouseController}
- * @param {Event} event The event triggering the function.
- * @return {void} Handles mouse-move on the thumb.
- */
-org.apache.flex.html.beads.controllers.SliderMouseController.
-    prototype.handleThumbMove =
-    function(event)
-    {
-  this.calcValFromMousePosition(event, false);
-
-  this.strand_.dispatchEvent(new org.apache.flex.events.Event('valueChange'));
-};
-
-
-/**
- *        SliderMouseController}
- * @param {Event} event The event triggering the function.
- * @param {boolean} useOffset If true, event.offsetX is used in the calculation.
- * @return {void} Determines the new value based on the movement of the mouse
- * along the slider.
- */
-org.apache.flex.html.beads.controllers.SliderMouseController.
-    prototype.calcValFromMousePosition =
-    function(event, useOffset)
-    {
-  var deltaX = (useOffset ? event.offsetX : event.clientX) - this.origin;
-  var thumbW = parseInt(this.thumb.element.style.width, 10) / 2;
-  var newX = this.position + deltaX;
-
-  var p = newX / parseInt(this.track.element.style.width, 10);
-  var n = p * (this.strand_.maximum - this.strand_.minimum) +
-          this.strand_.minimum;
-  n = this.strand_.snap(n);
-  if (n < this.strand_.minimum) n = this.strand_.minimum;
-  else if (n > this.strand_.maximum) n = this.strand_.maximum;
-
-  p = (n - this.strand_.minimum) / (this.strand_.maximum -
-      this.strand_.minimum);
-  newX = p * parseInt(this.track.element.style.width, 10);
-
-  this.thumb.element.style.left = String(newX -
-      parseInt(this.thumb.element.style.width, 10) / 2) + 'px';
-
-  this.strand_.value = n;
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/SpinnerMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/SpinnerMouseController.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/SpinnerMouseController.js
deleted file mode 100644
index 48a0ed8..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/SpinnerMouseController.js
+++ /dev/null
@@ -1,85 +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.controllers.SpinnerMouseController');
-
-goog.require('org.apache.flex.html.TextButton');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.beads.controllers.SpinnerMouseController =
-    function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.controllers.SpinnerMouseController.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SpinnerMouseController',
-                qName: 'org.apache.flex.html.beads.controllers.SpinnerMouseController' }] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.controllers.SpinnerMouseController.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.controllers.SpinnerMouseController} */
-        set: function(value) {
-            this.strand_ = value;
-
-            this.incrementButton = this.strand_.incrementButton;
-            this.decrementButton = this.strand_.decrementButton;
-
-            goog.events.listen(this.incrementButton.element, goog.events.EventType.CLICK,
-                goog.bind(this.handleIncrementClick, this));
-
-            goog.events.listen(this.decrementButton.element, goog.events.EventType.CLICK,
-                goog.bind(this.handleDecrementClick, this));
-        }
-    }
-});
-
-
-/**
- *        SpinnerMouseController}
- * @param {Object} event The event object.
- */
-org.apache.flex.html.beads.controllers.SpinnerMouseController.
-    prototype.handleIncrementClick = function(event)
-    {
-  var newValue = this.strand_.snap(Math.min(this.strand_.maximum,
-      this.strand_.value +
-      this.strand_.stepSize));
-  this.strand_.value = newValue;
-};
-
-
-/**
- *        SpinnerMouseController}
- * @param {Event} event The event object.
- */
-org.apache.flex.html.beads.controllers.SpinnerMouseController.
-    prototype.handleDecrementClick =
-    function(event)
-    {
-  var newValue = this.strand_.snap(Math.max(this.strand_.minimum,
-      this.strand_.value -
-      this.strand_.stepSize));
-  this.strand_.value = newValue;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/BasicLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/BasicLayout.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/BasicLayout.js
deleted file mode 100644
index 4a7401b..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/BasicLayout.js
+++ /dev/null
@@ -1,125 +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.layouts.BasicLayout');
-
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.ILayoutChild');
-goog.require('org.apache.flex.core.ILayoutHost');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBeadLayout}
- */
-org.apache.flex.html.beads.layouts.BasicLayout =
-    function() {
-  this.strand_ = null;
-  this.className = 'BasicLayout';
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.layouts.BasicLayout.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BasicLayout',
-                qName: 'org.apache.flex.html.beads.layouts.BasicLayout'}],
-      interfaces: [org.apache.flex.core.IBeadLayout] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.layouts.BasicLayout.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.layouts.BasicLayout} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-            }
-        }
-    }
-});
-
-
-/**
- */
-org.apache.flex.html.beads.layouts.BasicLayout.
-    prototype.layout = function() {
-  var i, n, h, w;
-
-  var viewBead = this.strand_.getBeadByType(org.apache.flex.core.ILayoutHost);
-  var contentView = viewBead.contentView;
-  w = contentView.width;
-  var hasWidth = !this.strand_.isWidthSizedToContent();
-  h = contentView.height;
-  var hasHeight = !this.strand_.isHeightSizedToContent();
-  var maxHeight = 0;
-  var maxWidth = 0;
-  n = contentView.numElements;
-  for (i = 0; i < n; i++) {
-    var child = contentView.getElementAt(i);
-    child.internalDisplay = 'block';
-    var left = org.apache.flex.core.ValuesManager.valuesImpl.getValue(child, 'left');
-    var right = org.apache.flex.core.ValuesManager.valuesImpl.getValue(child, 'right');
-    var top = org.apache.flex.core.ValuesManager.valuesImpl.getValue(child, 'top');
-    var bottom = org.apache.flex.core.ValuesManager.valuesImpl.getValue(child, 'bottom');
-    var margin = org.apache.flex.core.ValuesManager.valuesImpl.getValue(child, 'margin');
-    var marginLeft = org.apache.flex.core.ValuesManager.valuesImpl.getValue(child, 'margin-left');
-    var marginRight = org.apache.flex.core.ValuesManager.valuesImpl.getValue(child, 'margin-right');
-    var horizontalCenter =
-        (marginLeft == 'auto' && marginRight == 'auto') ||
-          (typeof(margin) === 'string' && margin == 'auto') ||
-          (margin && margin.hasOwnProperty('length') &&
-            ((margin.length < 4 && margin[1] == 'auto') ||
-            (margin.length == 4 && margin[1] == 'auto' && margin[3] == 'auto')));
-
-    if (!isNaN(left)) {
-      child.positioner.style.position = 'absolute';
-      child.positioner.style.left = left.toString() + 'px';
-    }
-    if (!isNaN(top)) {
-      child.positioner.style.position = 'absolute';
-      child.positioner.style.top = top.toString() + 'px';
-    }
-    if (!isNaN(right)) {
-      child.positioner.style.position = 'absolute';
-      child.positioner.style.right = right.toString() + 'px';
-    }
-    if (!isNaN(bottom)) {
-      child.positioner.style.position = 'absolute';
-      child.positioner.style.bottom = bottom.toString() + 'px';
-    }
-    if (horizontalCenter)
-    {
-      child.positioner.style.position = 'absolute';
-      child.positioner.style.left = ((w - child.width) / 2).toString() + 'px';
-    }
-    child.dispatchEvent('sizeChanged');
-    maxWidth = Math.max(maxWidth, child.positioner.offsetLeft + child.positioner.offsetWidth);
-    maxHeight = Math.max(maxHeight, child.positioner.offsetTop + child.positioner.offsetHeight);
-  }
-  // if there are children and maxHeight is ok, use it.
-  // maxHeight can be NaN if the child hasn't been rendered yet.
-  if (!hasWidth && n > 0 && !isNaN(maxWidth)) {
-    contentView.width = maxWidth;
-  }
-  if (!hasHeight && n > 0 && !isNaN(maxHeight)) {
-    contentView.height = maxHeight;
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js
deleted file mode 100644
index 04a3292..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/ButtonBarLayout.js
+++ /dev/null
@@ -1,110 +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.layouts.ButtonBarLayout');
-
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.ILayoutHost');
-goog.require('org.apache.flex.html.beads.ListView');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBeadLayout}
- */
-org.apache.flex.html.beads.layouts.ButtonBarLayout =
-    function() {
-  this.strand_ = null;
-
-  this.className = 'ButtonBarLayout';
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.layouts.ButtonBarLayout
-    .prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ButtonBarLayout',
-                qName: 'org.apache.flex.html.beads.layouts.ButtonBarLayout' }],
-      interfaces: [org.apache.flex.core.IBeadLayout] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.layouts.ButtonBarLayout.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.layouts.ButtonBarLayout} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              this.strand_.element.style.display = 'block';
-            }
-        }
-    },
-    /** @export */
-    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_;
-        }
-    }
-});
-
-
-/**
- * Performs the layout.
- */
-org.apache.flex.html.beads.layouts.ButtonBarLayout.
-    prototype.layout = function() {
-
-  var layoutParent = this.strand_.getBeadByType(org.apache.flex.core.ILayoutHost);
-  var contentView = layoutParent.contentView;
-  var itemRendererParent = contentView;
-  var viewportModel = layoutParent.viewportModel;
-
-  var n = itemRendererParent.numElements;
-  var xpos = 0;
-  var useWidth = contentView.width / n;
-  var useHeight = contentView.height;
-
-  for (var i = 0; i < n; i++)
-  {
-    var ir = itemRendererParent.getElementAt(i);
-    ir.height = useHeight;
-    ir.internalDisplay = 'inline-block';
-    ir.positioner.style['vertical-align'] = 'middle';
-    ir.positioner.style['text-align'] = 'center';
-    ir.positioner.style['left-margin'] = 'auto';
-    ir.positioner.style['right-margin'] = 'auto';
-    ir.positioner.style['top-margin'] = 'auto';
-    ir.positioner.style['bottom-margin'] = 'auto';
-
-    if (this.buttonWidths_ && !isNaN(this.buttonWidths_[i])) ir.width = this.buttonWidths_[i];
-    else ir.width = useWidth;
-
-    if (ir.positioner.style.display == 'none')
-      ir.positioner.lastDisplay_ = 'inline-block';
-    else
-      ir.positioner.style.display = 'inline-block';
-
-    xpos += ir.width;
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js
deleted file mode 100644
index b5ede3d..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js
+++ /dev/null
@@ -1,100 +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.layouts.HorizontalLayout');
-
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.ILayoutHost');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBeadLayout}
- */
-org.apache.flex.html.beads.layouts.HorizontalLayout =
-    function() {
-  this.strand_ = null;
-  this.className = 'HorizontalLayout';
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.layouts.HorizontalLayout.
-    prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'HorizontalLayout',
-                qName: 'org.apache.flex.html.beads.layouts.HorizontalLayout' }],
-      interfaces: [org.apache.flex.core.IBeadLayout] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.layouts.HorizontalLayout.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.layouts.HorizontalLayout} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              this.strand_.element.style.display = 'block';
-            }
-        }
-    }
-});
-
-
-/**
- */
-org.apache.flex.html.beads.layouts.HorizontalLayout.
-    prototype.layout = function() {
-  var children, i, n;
-
-  var viewBead = this.strand_.getBeadByType(org.apache.flex.core.ILayoutHost);
-  var contentView = viewBead.contentView;
-  children = contentView.internalChildren();
-  var hasHeight = !this.strand_.isHeightSizedToContent();
-  var hasWidth = !this.strand_.isWidthSizedToContent();
-  var maxHeight = 0;
-  var computedWidth = 0;
-  n = children.length;
-  for (i = 0; i < n; i++)
-  {
-    var child = children[i];
-    child.flexjs_wrapper.internalDisplay = 'inline-block';
-    if (child.style.display == 'none')
-      child.lastDisplay_ = 'inline-block';
-    else
-      child.style.display = 'inline-block';
-    maxHeight = Math.max(maxHeight, child.offsetHeight);
-    if (!hasWidth) {
-      var cv = window.getComputedStyle(child);
-      var mls = cv.getPropertyValue('margin-left');
-      var ml = Number(mls.substring(0, mls.length - 2));
-      var mrs = cv.getPropertyValue('margin-right');
-      var mr = Number(mrs.substring(0, mrs.length - 2));
-      computedWidth += ml + child.offsetWidth + mr;
-    }
-    child.flexjs_wrapper.dispatchEvent('sizeChanged');
-  }
-  // if there are children and maxHeight is ok, use it.
-  // maxHeight can be NaN if the child hasn't been rendered yet.
-  if (!hasHeight && n > 0 && !isNaN(maxHeight)) {
-    contentView.height = maxHeight;
-  }
-  if (!hasWidth && n > 0 && !isNaN(computedWidth)) {
-    contentView.width = computedWidth + 1; // some browser need one more pixel
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/TileLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/TileLayout.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/TileLayout.js
deleted file mode 100644
index a27b630..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/TileLayout.js
+++ /dev/null
@@ -1,168 +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.layouts.TileLayout');
-
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.ILayoutHost');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBeadLayout}
- */
-org.apache.flex.html.beads.layouts.TileLayout =
-    function() {
-  this.strand_ = null;
-  this.className = 'TileLayout';
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.layouts.TileLayout.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TileLayout',
-                qName: 'org.apache.flex.html.beads.layouts.TileLayout'}],
-      interfaces: [org.apache.flex.core.IBeadLayout] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.layouts.TileLayout.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.layouts.TileLayout} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-            }
-        }
-    },
-    /** @export */
-    numColumns: {
-        /** @this {org.apache.flex.html.beads.layouts.TileLayout} */
-        get: function() {
-            return this._numColumns;
-        },
-        /** @this {org.apache.flex.html.beads.layouts.TileLayout} */
-        set: function(value) {
-            this._numColumns = value;
-        }
-    },
-    /** @export */
-    columnWidth: {
-        /** @this {org.apache.flex.html.beads.layouts.TileLayout} */
-        get: function() {
-            return this._columnWidth;
-        },
-        /** @this {org.apache.flex.html.beads.layouts.TileLayout} */
-        set: function(value) {
-            this._columnWidth = value;
-        }
-    },
-    /** @export */
-    rowHeight: {
-        /** @this {org.apache.flex.html.beads.layouts.TileLayout} */
-        get: function() {
-            return this._rowHeight;
-        },
-        /** @this {org.apache.flex.html.beads.layouts.TileLayout} */
-        set: function(value) {
-            this._rowHeight = value;
-        }
-    }
-});
-
-
-/**
- */
-org.apache.flex.html.beads.layouts.TileLayout.
-    prototype.layout = function() {
-  var children, i, n, child;
-  var xpos, ypos, useWidth, useHeight;
-
-  var viewBead = this.strand_.getBeadByType(org.apache.flex.core.ILayoutHost);
-  var contentView = viewBead.contentView;
-  children = contentView.internalChildren();
-  n = children.length;
-  if (n === 0) return;
-
-  var realN = n;
-  for (i = 0; i < n; i++)
-  {
-    child = children[i].flexjs_wrapper;
-    if (!child.visible) realN--;
-  }
-
-  xpos = 0;
-  ypos = 0;
-  useWidth = this.columnWidth;
-  useHeight = this.rowHeight;
-
-  if (isNaN(useWidth)) useWidth = Math.floor(this.strand_.width / this.numColumns); // + gap
-  if (isNaN(useHeight)) {
-    // given the width and total number of items, how many rows?
-    var numRows = Math.floor(realN / this.numColumns);
-    useHeight = Math.floor(this.strand_.height / numRows);
-  }
-
-  for (i = 0; i < n; i++)
-  {
-    child = children[i].flexjs_wrapper;
-    if (!child.visible) continue;
-    child.internalDisplay = 'inline-block';
-    child.width = useWidth;
-    child.height = useHeight;
-  }
-/*
-  var realN = n;
-  for (i = 0; i < n; i++)
-  {
-    child = children[i].flexjs_wrapper;
-    if (!child.get_visible()) realN--;
-  }
-
-  xpos = 0;
-  ypos = 0;
-  useWidth = this.columnWidth;
-  useHeight = this.rowHeight;
-
-  if (isNaN(useWidth)) useWidth = Math.floor(this.strand_.width / this.numColumns); // + gap
-  if (isNaN(useHeight)) {
-    // given the width and total number of items, how many rows?
-    var numRows = Math.floor(realN / this.numColumns);
-    useHeight = Math.floor(this.strand_.height / numRows);
-  }
-
-  for (i = 0; i < n; i++)
-  {
-    child = children[i].flexjs_wrapper;
-    if (!child.visible) continue;
-    child.internalDisplay = 'inline-block';
-    child.width = useWidth;
-    child.height = useHeight;
-    child.x = xpos;
-    child.y = ypos;
-
-    xpos += useWidth;
-
-    if (((i + 1) % this.numColumns) === 0) {
-      xpos = 0;
-      ypos += useHeight;
-    }
-  }
-*/
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js
deleted file mode 100644
index b179288..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js
+++ /dev/null
@@ -1,97 +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.layouts.VerticalLayout');
-
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.ILayoutHost');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBeadLayout}
- */
-org.apache.flex.html.beads.layouts.VerticalLayout =
-    function() {
-  this.strand_ = null;
-  this.className = 'VerticalLayout';
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.layouts.VerticalLayout.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'VerticalLayout',
-                qName: 'org.apache.flex.html.beads.layouts.VerticalLayout'}],
-      interfaces: [org.apache.flex.core.IBeadLayout] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.layouts.VerticalLayout.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.layouts.VerticalLayout} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-            }
-        },
-        /** @this {org.apache.flex.html.beads.layouts.VerticalLayout} */
-        get: function() {
-            return this.strand_;
-        }
-    }
-});
-
-
-/**
- */
-org.apache.flex.html.beads.layouts.VerticalLayout.
-    prototype.layout = function() {
-  var children, i, n;
-
-  var viewBead = this.strand_.getBeadByType(org.apache.flex.core.ILayoutHost);
-  var contentView = viewBead.contentView;
-  children = contentView.internalChildren();
-  var scv = getComputedStyle(this.strand_.positioner);
-  var hasWidth = !this.strand_.isWidthSizedToContent();
-  var maxWidth = 0;
-  n = children.length;
-  for (i = 0; i < n; i++)
-  {
-    var child = children[i];
-    child.flexjs_wrapper.internalDisplay = 'block';
-    if (child.style.display === 'none') {
-      child.lastDisplay_ = 'block';
-    } else {
-      // block elements don't measure width correctly so set to inline for a second
-      child.style.display = 'inline-block';
-      maxWidth = Math.max(maxWidth, child.offsetLeft + child.offsetWidth);
-      child.style.display = 'block';
-    }
-    child.flexjs_wrapper.dispatchEvent('sizeChanged');
-  }
-  if (!hasWidth && n > 0 && !isNaN(maxWidth)) {
-    var pl = scv.getPropertyValue('padding-left');
-    var pr = scv.getPropertyValue('padding-right');
-    pl = parseInt(pl.substring(0, pl.length - 2), 10);
-    pr = parseInt(pr.substring(0, pr.length - 2), 10);
-    maxWidth += pl + pr;
-    contentView.width = maxWidth;
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ArraySelectionModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ArraySelectionModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ArraySelectionModel.js
deleted file mode 100644
index b22cf27..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ArraySelectionModel.js
+++ /dev/null
@@ -1,127 +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.models.ArraySelectionModel');
-
-goog.require('org.apache.flex.core.ISelectionModel');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @implements {org.apache.flex.core.ISelectionModel}
- */
-org.apache.flex.html.beads.models.ArraySelectionModel =
-    function() {
-  org.apache.flex.html.beads.models.ArraySelectionModel.base(this, 'constructor');
-  this.className = 'ArraySelectionModel';
-};
-goog.inherits(
-    org.apache.flex.html.beads.models.ArraySelectionModel,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.models.ArraySelectionModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ArraySelectionModel',
-                qName: 'org.apache.flex.html.beads.models.ArraySelectionModel' }],
-      interfaces: [org.apache.flex.core.ISelectionModel] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.models.ArraySelectionModel.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.models.ArraySelectionModel} */
-        set: function(value) {
-            this.strand_ = value;
-        }
-    },
-    /** @export */
-    dataProvider: {
-        /** @this {org.apache.flex.html.beads.models.ArraySelectionModel} */
-        get: function() {
-            return this.dataProvider_;
-        },
-        /** @this {org.apache.flex.html.beads.models.ArraySelectionModel} */
-        set: function(value) {
-            if (value === this.dataProvider_) return;
-            this.dataProvider_ = value;
-            this.dispatchEvent('dataProviderChanged');
-        }
-    },
-    /** @export */
-    selectedIndex: {
-        /** @this {org.apache.flex.html.beads.models.ArraySelectionModel} */
-        get: function() {
-            return this.selectedIndex_;
-        },
-        /** @this {org.apache.flex.html.beads.models.ArraySelectionModel} */
-        set: function(value) {
-            if (value === this.selectedIndex_) return;
-            this.selectedIndex_ = value;
-            this.dispatchEvent('selectedIndexChanged');
-        }
-    },
-    /** @export */
-    selectedItem: {
-        /** @this {org.apache.flex.html.beads.models.ArraySelectionModel} */
-        get: function() {
-            var si;
-
-            si = this.selectedIndex_;
-
-            if (!this.dataProvider_ || si < 0 ||
-                si >= this.dataProvider_.length) {
-              return null;
-            }
-
-            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');
-        }
-    },
-    /** @export */
-    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/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ImageModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ImageModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ImageModel.js
deleted file mode 100644
index d5db7c9..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ImageModel.js
+++ /dev/null
@@ -1,66 +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.models.ImageModel');
-
-goog.require('org.apache.flex.core.IBeadModel');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- */
-org.apache.flex.html.beads.models.ImageModel =
-    function() {
-  org.apache.flex.html.beads.models.ImageModel.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.beads.models.ImageModel,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.models.ImageModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ImageModel',
-                qName: 'org.apache.flex.html.beads.models.ImageModel'}],
-      interfaces: [org.apache.flex.core.IBeadModel]};
-
-
-Object.defineProperties(org.apache.flex.html.beads.models.ImageModel.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.models.ImageModel} */
-        set: function(value) {
-            this.strand_ = value;
-        }
-    },
-    /** @export */
-    source: {
-        /** @this {org.apache.flex.html.beads.models.ImageModel} */
-        get: function() {
-            return this.source_;
-        },
-        /** @this {org.apache.flex.html.beads.models.ImageModel} */
-        set: function(value) {
-            this.source_ = value;
-            this.dispatchEvent('sourceChanged');
-        }
-    }
-});


[10/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

Posted by ah...@apache.org.
delete handwritten JS from these projects since they are theoretically replaced by cross-compiled AS


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d4cace4a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d4cace4a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d4cace4a

Branch: refs/heads/core_js_to_as
Commit: d4cace4a5ca18323d8b58c741be4cab71182f828
Parents: 9705549
Author: Alex Harui <ah...@apache.org>
Authored: Wed Dec 2 11:33:14 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Dec 2 11:33:14 2015 -0800

----------------------------------------------------------------------
 .../src/org/apache/flex/binding/BindingBase.js  | 117 ---
 .../src/org/apache/flex/binding/ChainBinding.js | 207 -----
 .../org/apache/flex/binding/ConstantBinding.js  |  72 --
 .../org/apache/flex/binding/GenericBinding.js   | 172 ----
 .../org/apache/flex/binding/PropertyWatcher.js  | 195 -----
 .../org/apache/flex/binding/SimpleBinding.js    |  94 --
 .../apache/flex/binding/ViewBaseDataBinding.js  | 349 --------
 .../src/org/apache/flex/binding/WatcherBase.js  | 246 ------
 .../org/apache/flex/charts/core/ChartBase.js    |  87 --
 .../org/apache/flex/charts/core/IAxisBead.js    |  61 --
 .../org/apache/flex/charts/core/IAxisGroup.js   |  45 -
 .../flex/charts/core/ICartesianChartLayout.js   |  39 -
 .../src/org/apache/flex/charts/core/IChart.js   |  48 -
 .../org/apache/flex/charts/core/IChartAxis.js   |  39 -
 .../apache/flex/charts/core/IChartDataGroup.js  |  53 --
 .../flex/charts/core/IChartItemRenderer.js      |  78 --
 .../org/apache/flex/charts/core/IChartSeries.js |  65 --
 .../flex/charts/core/IHorizontalAxisBead.js     |  60 --
 .../flex/charts/core/IVerticalAxisBead.js       |  59 --
 .../charts/supportClasses/ChartAxisGroup.js     | 162 ----
 .../charts/supportClasses/ChartDataGroup.js     |  83 --
 .../org/apache/flex/collections/ICollection.js  |  50 --
 .../apache/flex/collections/LazyCollection.js   | 163 ----
 .../collections/converters/JSONItemConverter.js |  48 -
 .../flex/collections/parsers/JSONInputParser.js |  48 -
 .../js/src/org/apache/flex/core/Application.js  | 176 ----
 .../js/src/org/apache/flex/core/BeadViewBase.js |  71 --
 .../apache/flex/core/BrowserResizeListener.js   |  78 --
 .../src/org/apache/flex/core/BrowserScroller.js |  55 --
 .../src/org/apache/flex/core/BrowserWindow.js   |  45 -
 .../src/org/apache/flex/core/CSSFontFaceBead.js |  54 --
 .../src/org/apache/flex/core/CallLaterBead.js   |  93 --
 .../js/src/org/apache/flex/core/ClassFactory.js |  64 --
 .../src/org/apache/flex/core/ContainerBase.js   | 378 --------
 .../flex/core/ContainerBaseStrandChildren.js    | 112 ---
 .../src/org/apache/flex/core/DataBindingBase.js |  34 -
 .../src/org/apache/flex/core/FilledRectangle.js |  86 --
 .../org/apache/flex/core/HTMLElementWrapper.js  | 177 ----
 .../Core/js/src/org/apache/flex/core/IBead.js   |  49 --
 .../src/org/apache/flex/core/IBeadController.js |  42 -
 .../js/src/org/apache/flex/core/IBeadLayout.js  |  42 -
 .../js/src/org/apache/flex/core/IBeadModel.js   |  45 -
 .../js/src/org/apache/flex/core/IBeadView.js    |  38 -
 .../Core/js/src/org/apache/flex/core/IChild.js  |  49 --
 .../Core/js/src/org/apache/flex/core/IChrome.js |  31 -
 .../js/src/org/apache/flex/core/IContainer.js   |  52 --
 .../src/org/apache/flex/core/IContainerView.js  |  44 -
 .../js/src/org/apache/flex/core/IContentView.js |  79 --
 .../org/apache/flex/core/IContentViewHost.js    |  52 --
 .../core/IDataProviderItemRendererMapper.js     |  53 --
 .../js/src/org/apache/flex/core/IDocument.js    |  51 --
 .../js/src/org/apache/flex/core/IEffectTimer.js |  45 -
 .../js/src/org/apache/flex/core/IFactory.js     |  45 -
 .../js/src/org/apache/flex/core/IFormatBead.js  |  62 --
 .../src/org/apache/flex/core/IItemRenderer.js   |  38 -
 .../flex/core/IItemRendererClassFactory.js      |  38 -
 .../apache/flex/core/IItemRendererFactory.js    |  45 -
 .../org/apache/flex/core/IItemRendererParent.js |  48 -
 .../js/src/org/apache/flex/core/ILayoutChild.js |  42 -
 .../js/src/org/apache/flex/core/ILayoutHost.js  |  46 -
 .../apache/flex/core/IListPresentationModel.js  |  60 --
 .../src/org/apache/flex/core/IMXMLDocument.js   |  41 -
 .../org/apache/flex/core/IMeasurementBead.js    |  38 -
 .../Core/js/src/org/apache/flex/core/IParent.js |  70 --
 .../src/org/apache/flex/core/IParentIUIBase.js  |  46 -
 .../js/src/org/apache/flex/core/IPopUpHost.js   |  45 -
 .../src/org/apache/flex/core/IRollOverModel.js  |  58 --
 .../apache/flex/core/ISelectableItemRenderer.js |  75 --
 .../src/org/apache/flex/core/ISelectionModel.js |  65 --
 .../js/src/org/apache/flex/core/IStatesImpl.js  |  47 -
 .../Core/js/src/org/apache/flex/core/IStrand.js |  70 --
 .../org/apache/flex/core/IStyleableObject.js    |  46 -
 .../js/src/org/apache/flex/core/ITextModel.js   |  54 --
 .../Core/js/src/org/apache/flex/core/IUIBase.js |  40 -
 .../js/src/org/apache/flex/core/IValuesImpl.js  |  73 --
 .../js/src/org/apache/flex/core/IViewport.js    |  44 -
 .../src/org/apache/flex/core/IViewportModel.js  |  44 -
 .../flex/core/ItemRendererClassFactory.js       |  96 --
 .../js/src/org/apache/flex/core/ListBase.js     | 179 ----
 .../apache/flex/core/ListBaseStrandChildren.js  | 112 ---
 .../org/apache/flex/core/SimpleApplication.js   |  49 --
 .../org/apache/flex/core/SimpleCSSValuesImpl.js | 361 --------
 .../org/apache/flex/core/SimpleStatesImpl.js    | 221 -----
 .../org/apache/flex/core/SimpleValuesImpl.js    |  33 -
 .../Core/js/src/org/apache/flex/core/UIBase.js  | 872 -------------------
 .../src/org/apache/flex/core/ValuesManager.js   |  57 --
 .../js/src/org/apache/flex/core/ViewBase.js     | 143 ---
 .../src/org/apache/flex/events/BrowserEvent.js  | 162 ----
 .../src/org/apache/flex/events/CustomEvent.js   |  58 --
 .../src/org/apache/flex/events/ElementEvents.js |  52 --
 .../Core/js/src/org/apache/flex/events/Event.js |  71 --
 .../org/apache/flex/events/EventDispatcher.js   | 138 ---
 .../org/apache/flex/events/IEventDispatcher.js  |  40 -
 .../js/src/org/apache/flex/events/MouseEvent.js | 186 ----
 .../org/apache/flex/events/ValueChangeEvent.js  | 119 ---
 .../js/src/org/apache/flex/events/ValueEvent.js |  69 --
 .../org/apache/flex/events/utils/MouseUtils.js  |  62 --
 .../Core/js/src/org/apache/flex/geom/Point.js   |  56 --
 .../js/src/org/apache/flex/geom/Rectangle.js    | 104 ---
 .../Core/js/src/org/apache/flex/geom/Size.js    |  56 --
 .../js/src/org/apache/flex/states/AddItems.js   | 249 ------
 .../org/apache/flex/states/SetEventHandler.js   | 152 ----
 .../src/org/apache/flex/states/SetProperty.js   | 173 ----
 .../Core/js/src/org/apache/flex/states/State.js |  82 --
 .../js/src/org/apache/flex/svg/TextButton.js    |  90 --
 .../apache/flex/svg/assets/TextButton_Skin.svg  | 279 ------
 .../js/src/org/apache/flex/utils/BinaryData.js  | 223 -----
 .../org/apache/flex/utils/CSSContainerUtils.js  |  83 --
 .../js/src/org/apache/flex/utils/EffectTimer.js |  94 --
 .../js/src/org/apache/flex/utils/Language.js    | 316 -------
 .../apache/flex/utils/MXMLDataInterpreter.js    | 412 ---------
 .../src/org/apache/flex/utils/MixinManager.js   |  62 --
 .../js/src/org/apache/flex/utils/PointUtils.js  |  82 --
 .../Core/js/src/org/apache/flex/utils/Timer.js  | 148 ----
 .../js/src/org/apache/flex/utils/UIUtils.js     |  84 --
 .../flex/utils/ViewSourceContextMenuOption.js   |  47 -
 .../js/src/org/apache/flex/events/DragEvent.js  | 146 ----
 .../org/apache/flex/effects/PlatformWiper.js    |  85 --
 .../src/org/apache/flex/core/graphics/Circle.js | 101 ---
 .../org/apache/flex/core/graphics/Ellipse.js    |  80 --
 .../apache/flex/core/graphics/GradientBase.js   | 141 ---
 .../apache/flex/core/graphics/GradientEntry.js  | 126 ---
 .../apache/flex/core/graphics/GraphicShape.js   | 205 -----
 .../flex/core/graphics/GraphicsContainer.js     | 250 ------
 .../src/org/apache/flex/core/graphics/IFill.js  |  52 --
 .../org/apache/flex/core/graphics/IStroke.js    |  52 --
 .../src/org/apache/flex/core/graphics/Line.js   |  79 --
 .../apache/flex/core/graphics/LinearGradient.js | 125 ---
 .../src/org/apache/flex/core/graphics/Path.js   | 101 ---
 .../src/org/apache/flex/core/graphics/Rect.js   |  80 --
 .../org/apache/flex/core/graphics/SolidColor.js |  92 --
 .../flex/core/graphics/SolidColorStroke.js      | 109 ---
 .../src/org/apache/flex/core/graphics/Text.js   |  70 --
 .../HTML/js/src/org/apache/flex/html/Alert.js   | 193 ----
 .../HTML/js/src/org/apache/flex/html/Button.js  |  61 --
 .../js/src/org/apache/flex/html/ButtonBar.js    |  85 --
 .../js/src/org/apache/flex/html/CheckBox.js     |  91 --
 .../js/src/org/apache/flex/html/CloseButton.js  |  55 --
 .../js/src/org/apache/flex/html/ComboBox.js     | 194 -----
 .../js/src/org/apache/flex/html/Container.js    | 123 ---
 .../js/src/org/apache/flex/html/ControlBar.js   |  59 --
 .../js/src/org/apache/flex/html/DropDownList.js | 142 ---
 .../js/src/org/apache/flex/html/HContainer.js   |  42 -
 .../HTML/js/src/org/apache/flex/html/HRule.js   |  45 -
 .../HTML/js/src/org/apache/flex/html/Image.js   |  82 --
 .../org/apache/flex/html/ImageAndTextButton.js  | 103 ---
 .../HTML/js/src/org/apache/flex/html/Label.js   |  71 --
 .../HTML/js/src/org/apache/flex/html/List.js    | 196 -----
 .../src/org/apache/flex/html/MultilineLabel.js  |  69 --
 .../src/org/apache/flex/html/NumericStepper.js  | 163 ----
 .../HTML/js/src/org/apache/flex/html/Panel.js   | 163 ----
 .../js/src/org/apache/flex/html/RadioButton.js  | 180 ----
 .../js/src/org/apache/flex/html/SimpleAlert.js  |  51 --
 .../js/src/org/apache/flex/html/SimpleList.js   | 111 ---
 .../HTML/js/src/org/apache/flex/html/Slider.js  | 173 ----
 .../HTML/js/src/org/apache/flex/html/Spacer.js  |  44 -
 .../HTML/js/src/org/apache/flex/html/Spinner.js | 171 ----
 .../js/src/org/apache/flex/html/TextArea.js     |  71 --
 .../js/src/org/apache/flex/html/TextButton.js   |  54 --
 .../js/src/org/apache/flex/html/TextInput.js    |  98 ---
 .../js/src/org/apache/flex/html/TitleBar.js     |  87 --
 .../org/apache/flex/html/ToggleTextButton.js    | 122 ---
 .../HTML/js/src/org/apache/flex/html/ToolTip.js |  40 -
 .../js/src/org/apache/flex/html/VContainer.js   |  42 -
 .../HTML/js/src/org/apache/flex/html/VRule.js   |  50 --
 .../accessories/NumericOnlyTextInputBead.js     |  92 --
 .../flex/html/accessories/PasswordInputBead.js  |  54 --
 .../flex/html/accessories/TextPromptBead.js     |  64 --
 .../org/apache/flex/html/beads/ButtonBarView.js |  70 --
 .../org/apache/flex/html/beads/ContainerView.js | 434 ---------
 .../DataItemRendererFactoryForArrayData.js      | 140 ---
 .../src/org/apache/flex/html/beads/IListView.js |  43 -
 .../apache/flex/html/beads/ImageButtonView.js   |  45 -
 .../src/org/apache/flex/html/beads/ImageView.js | 117 ---
 .../src/org/apache/flex/html/beads/ListView.js  | 169 ----
 .../src/org/apache/flex/html/beads/PanelView.js | 204 -----
 .../flex/html/beads/ScrollingContainerView.js   |  81 --
 .../apache/flex/html/beads/SliderThumbView.js   |  62 --
 .../apache/flex/html/beads/SliderTrackView.js   |  62 --
 .../flex/html/beads/TextInputWithBorderView.js  |  45 -
 .../TextItemRendererFactoryForArrayData.js      | 117 ---
 .../controllers/ItemRendererMouseController.js  | 127 ---
 .../ListSingleSelectionMouseController.js       |  77 --
 .../beads/controllers/SliderMouseController.js  | 172 ----
 .../beads/controllers/SpinnerMouseController.js |  85 --
 .../flex/html/beads/layouts/BasicLayout.js      | 125 ---
 .../flex/html/beads/layouts/ButtonBarLayout.js  | 110 ---
 .../flex/html/beads/layouts/HorizontalLayout.js | 100 ---
 .../flex/html/beads/layouts/TileLayout.js       | 168 ----
 .../flex/html/beads/layouts/VerticalLayout.js   |  97 ---
 .../html/beads/models/ArraySelectionModel.js    | 127 ---
 .../apache/flex/html/beads/models/ImageModel.js |  66 --
 .../html/beads/models/ListPresentationModel.js  |  94 --
 .../apache/flex/html/beads/models/PanelModel.js | 110 ---
 .../apache/flex/html/beads/models/RangeModel.js | 158 ----
 .../apache/flex/html/beads/models/TextModel.js  |  68 --
 .../flex/html/beads/models/TitleBarModel.js     | 112 ---
 .../flex/html/beads/models/ViewportModel.js     |  93 --
 .../ButtonBarButtonItemRenderer.js              | 105 ---
 .../html/supportClasses/ContainerContentArea.js |  80 --
 .../flex/html/supportClasses/DataGridColumn.js  |  75 --
 .../flex/html/supportClasses/DataGroup.js       | 138 ---
 .../html/supportClasses/DataItemRenderer.js     | 134 ---
 .../html/supportClasses/ScrollingViewport.js    | 130 ---
 .../html/supportClasses/StringItemRenderer.js   | 144 ---
 .../html/supportClasses/UIItemRendererBase.js   | 181 ----
 .../apache/flex/html/supportClasses/Viewport.js | 112 ---
 .../js/src/org/apache/cordova/Application.js    |  61 --
 .../Mobile/js/src/org/apache/cordova/Weinre.js  |  67 --
 .../js/src/org/apache/cordova/camera/Camera.js  | 136 ---
 .../src/org/apache/flex/mobile/ManagerBase.js   | 136 ---
 .../src/org/apache/flex/net/BinaryUploader.js   | 360 --------
 .../js/src/org/apache/flex/net/HTTPHeader.js    |  63 --
 .../js/src/org/apache/flex/net/HTTPService.js   | 420 ---------
 214 files changed, 23042 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/BindingBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/BindingBase.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/BindingBase.js
deleted file mode 100644
index 9b83587..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/BindingBase.js
+++ /dev/null
@@ -1,117 +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.binding.BindingBase');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.binding.BindingBase = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.BindingBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BindingBase',
-                qName: 'org.apache.flex.binding.BindingBase'}] };
-
-
-/**
- * @protected
- * @type {Object}
- */
-org.apache.flex.binding.BindingBase.prototype.document = null;
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.BindingBase.prototype.destination = null;
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.binding.BindingBase.prototype.destinationPropertyName = '';
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.BindingBase.prototype.source = null;
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.binding.BindingBase.prototype.sourcePropertyName = '';
-
-
-/**
- * @export
- * @type {?string}
- */
-org.apache.flex.binding.BindingBase.prototype.sourceID = null;
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- */
-org.apache.flex.binding.BindingBase.prototype.setDocument = function(document) {
-  this.document = document;
-};
-
-
-/**
- * @param {Object} event The event.
- */
-org.apache.flex.binding.BindingBase.prototype.sourceChangeHandler = function(event) {
-  if (event.propertyName != this.sourceID)
-    return;
-
-  this.source = this.document[this.sourceID];
-};
-
-
-Object.defineProperties(org.apache.flex.binding.BindingBase.prototype, {
-  /** @export */
-  strand: {
-        /** @this {org.apache.flex.binding.BindingBase} */
-      set: function(value) {
-          if (this.destination == null)
-            this.destination = value;
-          if (this.sourceID != null) {
-            this.source = this.document[this.sourceID];
-            if (this.source == null) {
-               this.document.addEventListener('valueChange',
-                    goog.bind(this.sourceChangeHandler, this));
-               return;
-            }
-          }
-          else
-            this.source = this.document;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ChainBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ChainBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/ChainBinding.js
deleted file mode 100644
index 5beeb2c..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ChainBinding.js
+++ /dev/null
@@ -1,207 +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.binding.ChainBinding');
-goog.provide('org.apache.flex.binding.ChainWatcher');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.binding.ChainBinding = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.ChainBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ChainBinding',
-                qName: 'org.apache.flex.binding.ChainBinding'}] };
-
-
-/**
- * @protected
- * @type {Object}
- */
-org.apache.flex.binding.ChainBinding.prototype.document = null;
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.ChainBinding.prototype.destination = null;
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.ChainBinding.prototype.value = null;
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.ChainBinding.prototype.source = null;
-
-
-/**
- */
-org.apache.flex.binding.ChainBinding.prototype.applyBinding = function() {
-  var chainSet = this.evaluateSourceChain();
-  if (chainSet)
-    this.applyValue();
-};
-
-
-/**
- * @return {boolean} True if chain complete.
- */
-org.apache.flex.binding.ChainBinding.prototype.evaluateSourceChain = function() {
-  var propName;
-  var n = this.source.length;
-  var obj = this.document;
-  for (var i = 0; i < n - 1; i++) {
-    propName = this.source[i];
-    var propObj;
-    propObj = obj[propName];
-    var watcher = new org.apache.flex.binding.ChainWatcher(propName, this.applyBinding);
-    obj.addEventListener('valueChange', watcher.handler);
-    if (propObj == null)
-      return false;
-    obj = propObj;
-  }
-  propName = this.source[n - 1];
-  var self = this;
-  function valueChangeHandler(event) {
-    if (event.propertyName != propName)
-      return;
-    self.value = event.newValue;
-    self.applyValue();
-  }
-  obj.addEventListener('valueChange', valueChangeHandler);
-
-  // we have a complete chain, get the value
-  this.value = obj[propName];
-  return true;
-};
-
-
-/**
- */
-org.apache.flex.binding.ChainBinding.prototype.applyValue = function() {
-  var destinationName, n, obj, self;
-  function handler(event) {
-    if (event.propertyName != propName)
-      return;
-    if (event.oldValue != null)
-      event.oldValue.removeEventListener('valueChange', handler);
-    self.applyValue();
-  }
-  if (typeof(this.destination) === 'string') {
-    destinationName = this.destination;
-    this.document[destinationName] = this.value;
-    return;
-  }
-
-  n = this.destination.length;
-  obj = this.document;
-  self = this;
-  for (var i = 0; i < n - 1; i++) {
-    var propName = this.destination[i];
-    var propObj;
-    propObj = obj[propName];
-    if (propObj == null) {
-      obj.addEventListener('valueChange', handler);
-      return;
-    }
-    obj = propObj;
-  }
-  obj[this.destination[n - 1]] = this.value;
-};
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- */
-org.apache.flex.binding.ChainBinding.prototype.setDocument = function(document) {
-  this.document = document;
-};
-
-
-
-/**
- * @constructor
- * @param {string} propName The name of the property to watch.
- * @param {function()} cb The callback function.
- */
-org.apache.flex.binding.ChainWatcher = function(propName, cb) {
-  this.propertyName = propName;
-  this.callback = cb;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.ChainWatcher.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ChainWatcher',
-                qName: 'org.apache.flex.binding.ChainWatcher'}] };
-
-
-/**
- * @protected
- * @type {string}
- */
-org.apache.flex.binding.ChainWatcher.prototype.propertyName = '';
-
-
-/**
- * @protected
- * @type {?function()}
- */
-org.apache.flex.binding.ChainWatcher.prototype.callback = null;
-
-
-/**
- * @export
- * @param {Object} event The event object.
- */
-org.apache.flex.binding.ChainWatcher.prototype.handler = function(event) {
-  if (event.propertyName != this.propertyName)
-    return;
-  if (event.oldValue != null)
-    event.oldValue.removeEventListener('valueChange', this.handler);
-  this.callback();
-};
-
-
-Object.defineProperties(org.apache.flex.binding.ChainBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.ChainBinding} */
-        set: function(value) {
-            this.applyBinding();
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ConstantBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ConstantBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/ConstantBinding.js
deleted file mode 100644
index 65f5e43..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ConstantBinding.js
+++ /dev/null
@@ -1,72 +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.binding.ConstantBinding');
-
-goog.require('org.apache.flex.binding.BindingBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.binding.BindingBase}
- */
-org.apache.flex.binding.ConstantBinding = function() {
-  org.apache.flex.binding.ConstantBinding.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.binding.ConstantBinding,
-    org.apache.flex.binding.BindingBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.ConstantBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ConstantBinding',
-                qName: 'org.apache.flex.binding.ConstantBinding'}] };
-
-
-Object.defineProperties(org.apache.flex.binding.ConstantBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.ConstantBinding} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(org.apache.flex.binding.ConstantBinding, this, 'strand', value);
-
-            var val;
-            if (this.sourcePropertyName in this.source) {
-              val = this.source[this.sourcePropertyName];
-            } else if (this.sourcePropertyName in this.source.constructor) {
-              val = this.source.constructor[this.sourcePropertyName];
-            } else {
-              // GCC optimizer only puts exported class constants on
-              // Window and not on the class itself (which got renamed)
-              var cname = this.source.FLEXJS_CLASS_INFO;
-              if (cname) {
-                cname = cname.names[0].qName;
-                var parts = cname.split('.');
-                var n = parts.length;
-                var o = window;
-                for (var i = 0; i < n; i++) {
-                  o = o[parts[i]];
-                }
-                val = o[this.sourcePropertyName];
-              }
-            }
-            this.destination[this.destinationPropertyName] = val;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/GenericBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/GenericBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/GenericBinding.js
deleted file mode 100644
index 37aff5e..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/GenericBinding.js
+++ /dev/null
@@ -1,172 +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.binding.GenericBinding');
-
-goog.require('org.apache.flex.binding.BindingBase');
-goog.require('org.apache.flex.events.ValueChangeEvent');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.binding.BindingBase}
- */
-org.apache.flex.binding.GenericBinding = function() {
-  org.apache.flex.binding.GenericBinding.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.binding.GenericBinding,
-    org.apache.flex.binding.BindingBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.GenericBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'GenericBinding',
-                qName: 'org.apache.flex.binding.GenericBinding'}] };
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.GenericBinding.prototype.destinationData = null;
-
-
-/**
- * @export
- * @type {?function(?): ?}
- */
-org.apache.flex.binding.GenericBinding.prototype.destinationFunction = null;
-
-
-Object.defineProperties(org.apache.flex.binding.GenericBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.GenericBinding} */
-        set: function(value) {
-            this.destination = value;
-
-            try {
-              var val = this.getValueFromSource();
-              this.applyValue(val);
-            } catch (e) {
-            }
-        }
-    }
-});
-
-
-/**
- * @export
- * @return {Object} The value from the source as specified.
- */
-org.apache.flex.binding.GenericBinding.prototype.getValueFromSource =
-    function() {
-  var obj;
-  if (typeof(this.source) == 'object' &&
-      typeof(this.source.slice) == 'function')
-  {
-    var arr = this.source;
-    var n = arr.length;
-    obj = this.document[arr[0]];
-    if (obj == null)
-      return null;
-    for (var i = 1; i < n; i++)
-    {
-      obj = obj[arr[i]];
-      if (obj == null)
-        return null;
-    }
-    return obj;
-  }
-  else if (typeof(this.source) == 'function')
-  {
-    var fn = this.source;
-    obj = fn.apply(this.document);
-    return obj;
-  }
-  else if (typeof(this.source) == 'string')
-  {
-    obj = this.document[this.source];
-    return obj;
-  }
-  return null;
-};
-
-
-/**
- * @export
- * @param {Object} value The value from the source as specified.
- */
-org.apache.flex.binding.GenericBinding.prototype.applyValue =
-    function(value) {
-  if (this.destinationFunction != null)
-  {
-    this.destinationFunction.apply(this.document, [value]);
-  }
-  else if (typeof(this.destinationData) == 'object')
-  {
-    var arr = this.destinationData;
-    var n = arr.length;
-    var obj;
-    var getter = arr[0];
-    obj = this.document[arr[0]];
-    if (obj == null) {
-       this.document.addEventListener(
-           org.apache.flex.events.ValueChangeEvent.VALUE_CHANGE,
-           goog.bind(this.destinationChangeHandler, this));
-       return;
-    }
-    for (var i = 1; i < n - 1; i++)
-    {
-      getter = arr[i];
-       obj = obj[arr[i]];
-      if (obj == null)
-        return;
-    }
-    var setter = arr[n - 1];
-      obj[arr[n - 1]] = value;
-  }
-};
-
-
-/**
- * @export
- * @param {Object} value The value from the source as specified.
- */
-org.apache.flex.binding.GenericBinding.prototype.valueChanged =
-    function(value) {
-
-  try {
-    var val = this.getValueFromSource();
-    this.applyValue(val);
-  } catch (e) {
-  }
-};
-
-
-/**
- * @export
- * @param {Object} event The change event.
- */
-org.apache.flex.binding.GenericBinding.prototype.destinationChangeHandler =
-    function(event) {
-  if (event.propertyName == this.destinationData[0])
-    this.valueChanged(null);
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/PropertyWatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/PropertyWatcher.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/PropertyWatcher.js
deleted file mode 100644
index 5549be9..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/PropertyWatcher.js
+++ /dev/null
@@ -1,195 +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.binding.PropertyWatcher');
-
-goog.require('org.apache.flex.binding.WatcherBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.binding.WatcherBase}
- * @param {Object} source The source object.
- * @param {string} propertyName The property in the source.
- * @param {Object} eventNames An array of event names or an event name.
- * @param {function(?): ?} getterFunction A function to get the source property.
- */
-org.apache.flex.binding.PropertyWatcher =
-    function(source, propertyName, eventNames, getterFunction) {
-  org.apache.flex.binding.PropertyWatcher.base(this, 'constructor');
-
-  this.source = source;
-  this.propertyName = propertyName;
-  this.getterFunction = getterFunction;
-  this.eventNames = eventNames;
-};
-goog.inherits(org.apache.flex.binding.PropertyWatcher,
-    org.apache.flex.binding.WatcherBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PropertyWatcher',
-                qName: 'org.apache.flex.binding.PropertyWatcher'}] };
-
-
-/**
- * @type {Object}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.source = null;
-
-
-/**
- * @type {?string}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.propertyName = null;
-
-
-/**
- * @type {Object}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.eventNames = null;
-
-
-/**
- * @type {?function(?): ?}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.getterFunction = null;
-
-
-/**
- * @protected
- * @param {Object} event The event.
- */
-org.apache.flex.binding.PropertyWatcher.prototype.changeHandler =
-    function(event) {
-  if (typeof(event.propertyName) == 'string')
-  {
-    var propName = event.propertyName;
-
-    if (propName != this.propertyName)
-      return;
-  }
-
-  this.wrapUpdate(this.updateProperty);
-
-  this.notifyListeners();
-
-};
-
-
-/**
- * @export
- * @param {Object} parent The new parent watcher.
- */
-org.apache.flex.binding.PropertyWatcher.prototype.parentChanged =
-    function(parent) {
-
-  if (this.source &&
-      typeof(this.source.removeEventListener) == 'function')
-    this.removeEventListeners();
-
-  this.source = parent;
-
-  if (this.source && typeof(this.source.addEventListener) == 'function')
-    this.addEventListeners();
-
-  // Now get our property.
-  this.wrapUpdate(this.updateProperty);
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.binding.PropertyWatcher.prototype.addEventListeners =
-    function() {
-  if (typeof(this.eventNames) == 'string')
-    this.source.addEventListener(this.eventNames,
-        goog.bind(this.changeHandler, this));
-  else if (typeof(this.eventNames) == 'object')
-  {
-    var arr = this.eventNames;
-    var n = arr.length;
-    for (var i = 0; i < n; i++)
-    {
-      var eventName = this.eventNames[i];
-      this.source.addEventListener(eventName,
-          goog.bind(this.changeHandler, this));
-    }
-  }
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.binding.PropertyWatcher.prototype.removeEventListeners =
-    function() {
-  if (typeof(this.eventNames) == 'string')
-    this.source.removeEventListener(this.eventNames,
-        goog.bind(this.changeHandler, this));
-  else if (typeof(this.eventNames) == 'object')
-  {
-    var arr = this.eventNames;
-    var n = arr.length;
-    for (var i = 0; i < n; i++)
-    {
-      var eventName = this.eventNames[i];
-      this.source.removeEventListener(eventName,
-          goog.bind(this.changeHandler, this));
-    }
-  }
-};
-
-
-/**
- * @protected
- * Gets the actual property then updates
- * the Watcher's children appropriately.
- */
-org.apache.flex.binding.PropertyWatcher.prototype.updateProperty =
-    function() {
-
-  if (this.source)
-  {
-    if (this.propertyName == 'this')
-    {
-      this.value = this.source;
-    }
-    else
-    {
-      if (this.getterFunction != null)
-      {
-        this.value = this.getterFunction.apply(
-            this.source, [this.propertyName]);
-      }
-      else
-      {
-        this.value = this.source[this.propertyName];
-      }
-    }
-  }
-  else
-  {
-    this.value = null;
-  }
-
-  this.updateChildren();
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
deleted file mode 100644
index 4846f06..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
+++ /dev/null
@@ -1,94 +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.binding.SimpleBinding');
-
-goog.require('org.apache.flex.binding.BindingBase');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.binding.BindingBase}
- */
-org.apache.flex.binding.SimpleBinding = function() {
-  org.apache.flex.binding.SimpleBinding.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.binding.SimpleBinding,
-    org.apache.flex.binding.BindingBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.SimpleBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SimpleBinding',
-                qName: 'org.apache.flex.binding.SimpleBinding'}] };
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.binding.SimpleBinding.prototype.eventName = '';
-
-
-/**
- * @export
- */
-org.apache.flex.binding.SimpleBinding.prototype.changeHandler = function() {
-  try {
-    this.destination[this.destinationPropertyName] =
-        this.source[this.sourcePropertyName];
-  }
-  catch (e) {}
-};
-
-
-/**
- * @param {Object} event The event.
- */
-org.apache.flex.binding.SimpleBinding.prototype.sourceChangeHandler = function(event) {
-  org.apache.flex.binding.SimpleBinding.base(this, 'sourceChangeHandler', event);
-  if (this.source) {
-    this.source.addEventListener(this.eventName,
-        goog.bind(this.changeHandler, this));
-    this.changeHandler();
-  }
-};
-
-
-Object.defineProperties(org.apache.flex.binding.SimpleBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.SimpleBinding} */
-         set: function(value) {
-            org.apache.flex.utils.Language.superSetter(
-                org.apache.flex.binding.SimpleBinding, this, 'strand', value);
-
-            if (!this.source)
-                return;
-
-            this.source.addEventListener(this.eventName,
-                goog.bind(this.changeHandler, this));
-
-            this.changeHandler();
-         }
-    }
-});
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ViewBaseDataBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ViewBaseDataBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/ViewBaseDataBinding.js
deleted file mode 100644
index d41c23f..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ViewBaseDataBinding.js
+++ /dev/null
@@ -1,349 +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.binding.ViewBaseDataBinding');
-
-goog.require('org.apache.flex.binding.ConstantBinding');
-goog.require('org.apache.flex.binding.GenericBinding');
-goog.require('org.apache.flex.binding.PropertyWatcher');
-goog.require('org.apache.flex.binding.SimpleBinding');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.ValueChangeEvent');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.binding.ViewBaseDataBinding = function() {
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.strand_ = null;
-
-  /**
-   * @protected
-   * @type {Object}
-   */
-  this.deferredBindings = {};
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ViewBaseDataBinding',
-                qName: 'org.apache.flex.binding.ViewBaseDataBinding'}] };
-
-
-Object.defineProperties(org.apache.flex.binding.ViewBaseDataBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.ViewBaseDataBinding} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              this.strand_.addEventListener('initBindings',
-              goog.bind(this.initBindingsHandler, this));
-            }
-        }
-    }
-});
-
-
-/**
- * @protected
- * @param {Object} event The event.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.initBindingsHandler =
-    function(event) {
-
-  var prop;
-  var fieldWatcher;
-  var sb;
-  var bindingData = this.strand_._bindings;
-  var n = bindingData[0];
-  var bindings = [];
-  var i;
-  var binding;
-  var destination;
-  var index = 1;
-  for (i = 0; i < n; i++)
-  {
-    binding = {};
-    binding.source = bindingData[index++];
-    binding.destFunc = bindingData[index++];
-    binding.destination = bindingData[index++];
-    bindings.push(binding);
-  }
-  var watchers = this.decodeWatcher(bindingData.slice(index));
-  for (i = 0; i < n; i++)
-  {
-    binding = bindings[i];
-    // try to determine if it is an array
-    if (typeof(binding.source) == 'object' &&
-            typeof(binding.source.slice) == 'function')
-    {
-      if (binding.source[0] == 'applicationModel')
-      {
-        if (binding.source.length == 2 &&
-            binding.destination.length == 2)
-        {
-          // can be simplebinding or constantbinding
-          var modelWatcher =
-              watchers.watcherMap.applicationModel;
-          var childMap = modelWatcher.children.watcherMap;
-          fieldWatcher = childMap[binding.source[1]];
-          if (typeof(fieldWatcher.eventNames) == 'string')
-          {
-            sb = new org.apache.flex.binding.SimpleBinding();
-            sb.destinationPropertyName =
-                binding.destination[1];
-            sb.eventName = fieldWatcher.eventNames;
-            sb.sourceID = binding.source[0];
-            sb.sourcePropertyName = binding.source[1];
-            sb.setDocument(this.strand_);
-            prop = binding.destination[0];
-
-            destination = this.strand_[prop];
-
-            if (destination)
-              destination.addBead(sb);
-            else
-            {
-              this.deferredBindings[prop] =
-                  sb;
-              this.strand_.addEventListener('valueChange',
-                  goog.bind(this.deferredBindingsHandler, this));
-            }
-          }
-          else if (fieldWatcher.eventNames == null)
-          {
-            var cb;
-            cb = org.apache.flex.binding.ConstantBinding;
-            cb = new cb();
-            cb.destinationPropertyName =
-                binding.destination[1];
-            cb.sourceID = binding.source[0];
-            cb.sourcePropertyName = binding.source[1];
-            cb.setDocument(this.strand_);
-            prop = binding.destination[0];
-            destination = this.strand_[prop];
-
-            if (destination)
-              destination.addBead(cb);
-            else
-            {
-              this.deferredBindings[prop] =
-                  cb;
-              this.strand_.addEventListener('valueChange',
-                  this.deferredBindingsHandler);
-            }
-          }
-        }
-      }
-    }
-    else if (typeof(binding.source) == 'string')
-    {
-      fieldWatcher = watchers.watcherMap[binding.source];
-      if (typeof(fieldWatcher.eventNames) == 'string')
-      {
-        sb = new org.apache.flex.binding.SimpleBinding();
-        sb.destinationPropertyName = binding.destination[1];
-        sb.eventName = fieldWatcher.eventNames;
-        sb.sourcePropertyName = binding.source;
-        sb.setDocument(this.strand_);
-        prop = binding.destination[0];
-        destination = this.strand_[prop];
-
-        if (destination)
-          destination.addBead(sb);
-        else
-        {
-          this.deferredBindings[prop] = sb;
-          this.strand_.addEventListener('valueChange',
-              this.deferredBindingsHandler);
-        }
-      }
-    }
-    else
-    {
-      this.makeGenericBinding(binding, i, watchers);
-    }
-  }
-};
-
-
-/**
- * @protected
- * @param {Object} binding The binding object.
- * @param {number} index The offset in the Binding database.
- * @param {Object} watchers The database of Watchers.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.makeGenericBinding =
-    function(binding, index, watchers) {
-  var gb = new org.apache.flex.binding.GenericBinding();
-  gb.setDocument(this.strand_);
-  gb.destinationData = binding.destination;
-  gb.destinationFunction = binding.destFunc;
-  gb.source = binding.source;
-  this.setupWatchers(gb, index, watchers.watchers, null);
-};
-
-
-/**
- * @protected
- * @param {Object} gb The generic binding object.
- * @param {number} index The offset in the Binding database.
- * @param {Object} watchers The array of Watchers.
- * @param {Object} parentWatcher The parent Watcher or null if top.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.setupWatchers =
-    function(gb, index, watchers, parentWatcher) {
-  var i, n;
-  n = watchers.length;
-  for (i = 0; i < n; i++)
-  {
-    var watcher = watchers[i];
-    var isValidWatcher = false;
-    if (typeof(watcher.bindings) === 'number')
-      isValidWatcher = (watcher.bindings == index);
-    else
-      isValidWatcher = (watcher.bindings.indexOf(index) != -1);
-    if (isValidWatcher) {
-      var type = watcher.type;
-      switch (type)
-      {
-        case 'property':
-          {
-            var pw = new org.apache.flex.binding.PropertyWatcher(
-                this,
-                watcher.propertyName,
-                watcher.eventNames,
-                watcher.getterFunction);
-            watcher.watcher = pw;
-            if (parentWatcher)
-              pw.parentChanged(parentWatcher.value);
-            else
-              pw.parentChanged(this.strand_);
-            if (parentWatcher)
-              parentWatcher.addChild(pw);
-            if (watcher.children == null)
-              pw.addBinding(gb);
-            break;
-          }
-      }
-      if (watcher.children)
-      {
-        this.setupWatchers(gb, index, watcher.children.watchers,
-            watcher.watcher);
-      }
-    }
-  }
-};
-
-
-/**
- * @protected
- * @param {Object} bindingData The watcher data to decode.
- * @return {Object} The watcher tree structure.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.decodeWatcher =
-    function(bindingData) {
-  var watcherMap = {};
-  var watchers = [];
-  var n = bindingData.length - 1; // there is an extra null because
-  // it is easier for the compiler
-  var index = 0;
-  var watcherData;
-  while (index < n)
-  {
-    var watcherIndex = bindingData[index++];
-    var type = bindingData[index++];
-    switch (type)
-    {
-      case 0:
-        {
-          watcherData = { type: 'function' };
-          watcherData.functionName = bindingData[index++];
-          watcherData.paramFunction = bindingData[index++];
-          watcherData.eventNames = bindingData[index++];
-          watcherData.bindings = bindingData[index++];
-          break;
-        }
-      case 1:
-        {
-          watcherData = { type: 'static' };
-          watcherData.propertyName = bindingData[index++];
-          watcherData.eventNames = bindingData[index++];
-          watcherData.bindings = bindingData[index++];
-          watcherData.getterFunction = bindingData[index++];
-          watcherData.parentObj = bindingData[index++];
-          watcherMap[watcherData.propertyName] = watcherData;
-          break;
-        }
-      case 2:
-        {
-          watcherData = { type: 'property' };
-          watcherData.propertyName = bindingData[index++];
-          watcherData.eventNames = bindingData[index++];
-          watcherData.bindings = bindingData[index++];
-          watcherData.getterFunction = bindingData[index++];
-          watcherMap[watcherData.propertyName] = watcherData;
-          break;
-        }
-      case 3:
-        {
-          watcherData = { type: 'xml' };
-          watcherData.propertyName = bindingData[index++];
-          watcherData.bindings = bindingData[index++];
-          watcherMap[watcherData.propertyName] = watcherData;
-          break;
-        }
-    }
-    watcherData.children = bindingData[index++];
-    if (watcherData.children != null)
-    {
-      watcherData.children = this.decodeWatcher(watcherData.children);
-    }
-    watcherData.index = watcherIndex;
-    watchers.push(watcherData);
-  }
-  return { watchers: watchers, watcherMap: watcherMap };
-};
-
-
-/**
- * @protected
- * @param {org.apache.flex.events.ValueChangeEvent} event The event.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.deferredBindingsHandler =
-    function(event) {
-  var p;
-  var destination;
-  for (p in this.deferredBindings)
-  {
-    if (p != event.propertyName) continue;
-    destination = this.strand_[p];
-    destination.addBead(this.deferredBindings[p]);
-    delete this.deferredBindings[p];
-  }
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/WatcherBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/WatcherBase.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/WatcherBase.js
deleted file mode 100644
index 29e87b9..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/WatcherBase.js
+++ /dev/null
@@ -1,246 +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.binding.WatcherBase');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.binding.WatcherBase = function() {
-
-  /**
-     * @protected
-     * @type {Object}
-     */
-  this.listeners = null;
-
-  /**
-     * @protected
-     * @type {Object}
-     * Children of this watcher are watching sub values.
-     */
-  this.children = null;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.WatcherBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'WatcherBase',
-                qName: 'org.apache.flex.binding.WatcherBase'}] };
-
-
-/**
- *  @export
- *  @type {Object|number|string|boolean}
- *  The value itself.
- */
-org.apache.flex.binding.WatcherBase.prototype.value = null;
-
-
-/**
- *  @export
- *  This is an abstract method that subclasses implement.
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {Object} parent The new parent.
- */
-org.apache.flex.binding.WatcherBase.prototype.parentChanged =
-    function(parent) {
-};
-
-
-/**
- *  @export
- *  Add a child to this watcher, meaning that the child
- *  is watching a sub value of ours.
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {Object} child The new child.
- */
-org.apache.flex.binding.WatcherBase.prototype.addChild =
-    function(child) {
-  if (!this.children)
-    this.children = [child];
-  else
-    this.children.push(child);
-
-  child.parentChanged(this.value);
-};
-
-
-/**
- *  @export
- *  Add a binding to this watcher, meaning that the binding
- *  is notified when our value changes.
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {Object} binding The new binding.
- */
-org.apache.flex.binding.WatcherBase.prototype.addBinding =
-    function(binding) {
-  if (!this.listeners)
-    this.listeners = [binding];
-  else
-    this.listeners.push(binding);
-
-  binding.valueChanged(this.value);
-};
-
-
-/**
- *  @export
- *  @this {org.apache.flex.binding.WatcherBase}
- *  We have probably changed, so go through
- *  and make sure our children are updated.
- */
-org.apache.flex.binding.WatcherBase.prototype.updateChildren = function() {
-  if (this.children)
-  {
-    var n = this.children.length;
-    for (var i = 0; i < n; ++i)
-    {
-      this.children[i].parentChanged(this);
-    }
-  }
-};
-
-
-/**
- *  @protected
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {Object} oldValue The prior value.
- *  @return {boolean} True if value changed.
- */
-org.apache.flex.binding.WatcherBase.prototype.valueChanged =
-    function(oldValue) {
-
-  if (oldValue == null && this.value == null)
-    return false;
-
-  var valType = typeof(this.value);
-
-  // The first check is meant to catch the delayed instantiation case
-  // where a control comes into existence but its value is still
-  // the equivalent of not having been filled in.
-  // Otherwise we simply return whether the value has changed.
-
-  if (valType == 'string')
-  {
-    if (oldValue == null && this.value === '')
-      return false;
-    else
-      return oldValue != this.value;
-  }
-
-  if (valType == 'number')
-  {
-    if (oldValue == null && this.value === 0)
-      return false;
-    else
-      return oldValue != this.value;
-  }
-
-  if (valType == 'boolean')
-  {
-    if (oldValue == null && this.value === false)
-      return false;
-    else
-      return oldValue != this.value;
-  }
-
-  return true;
-};
-
-
-/**
- *  @protected
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {function(?): ?} wrappedFunction The function to call.
- */
-org.apache.flex.binding.WatcherBase.prototype.wrapUpdate =
-    function(wrappedFunction) {
-  try
-  {
-    wrappedFunction.apply(this);
-  }
-  catch (error)
-  {
-    var staticClass = org.apache.flex.binding.WatcherBase;
-    var n = staticClass.allowedErrorTypes.length;
-    for (var i = 0; i < n; i++)
-    {
-      if (org.apache.flex.utils.Language.is(error, staticClass.allowedErrorTypes[i].type))
-      {
-        var handler = staticClass.allowedErrorTypes[i].handler;
-        if (handler != null)
-          this.value = handler(this, wrappedFunction);
-        else
-          this.value = null;
-      }
-    }
-
-    if (error.errorID && staticClass.allowedErrors.indexOf(error.errorID) == -1) {
-      throw error;
-    }
-  }
-};
-
-
-/**
- * Certain errors are normal when executing an update, so we swallow them:
- */
-org.apache.flex.binding.WatcherBase.allowedErrors = [
-  1006, //   Error #1006: Call attempted on an object
-  //                that is not a function.
-  1009, //   Error #1009: null has no properties.
-  1010, //   Error #1010: undefined has no properties.
-  1055, //   Error #1055: - has no properties.
-  1069, //   Error #1069: Property - not found on - and
-  //                there is no default value
-  1507 //   Error #1507: - invalid null argument.
-];
-
-
-/**
- * Certain types of errors are normal when executing an update,
- * so we custom handle them or swallow them:
- */
-org.apache.flex.binding.WatcherBase.allowedErrorTypes = [
-  { type: RangeError /*,
-              handler: function(w:WatcherBase,
-                    wrappedFunction:Function):Object { return null }*/
-  }
-];
-
-
-/**
- *  @protected
- *  @this {org.apache.flex.binding.WatcherBase}
- */
-org.apache.flex.binding.WatcherBase.prototype.notifyListeners = function()
-    {
-  if (this.listeners)
-  {
-    var n = this.listeners.length;
-
-    for (var i = 0; i < n; i++)
-    {
-      this.listeners[i].valueChanged(this.value);
-    }
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ChartBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ChartBase.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ChartBase.js
deleted file mode 100644
index acd4a8e..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ChartBase.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.
- *
- * org.apache.flex.charts.core.IChart
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.ChartBase');
-
-goog.require('org.apache.flex.charts.core.IChart');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.IEventDispatcher');
-goog.require('org.apache.flex.html.List');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.List}
- * @implements {org.apache.flex.charts.core.IChart}
- */
-org.apache.flex.charts.core.ChartBase =
-    function() {
-  org.apache.flex.charts.core.ChartBase.base(this, 'constructor');
-  this.className = 'ChartBase';
-};
-goog.inherits(
-    org.apache.flex.charts.core.ChartBase,
-    org.apache.flex.html.List);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.ChartBase.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'ChartBase', qName: 'org.apache.flex.charts.core.ChartBase'}],
-    interfaces: [org.apache.flex.events.IEventDispatcher]
-  };
-
-
-/**
- * @override
- */
-org.apache.flex.charts.core.ChartBase.prototype.createElement = function() {
-    org.apache.flex.charts.core.ChartBase.base(this, 'createElement');
-    this.element.style.border = 'none';
-    this.element.style.overflow = 'visible';
-    return this.element;
-  };
-
-
-/**
- * @private
- * @type {Array}
- */
-org.apache.flex.charts.core.ChartBase.prototype.series_ = null;
-
-
-Object.defineProperties(org.apache.flex.charts.core.ChartBase.prototype, {
-    /** @export */
-    series: {
-        /** @this {org.apache.flex.charts.core.ChartBase} */
-        get: function() {
-             return this.series_;
-        },
-        /** @this {org.apache.flex.charts.core.ChartBase} */
-        set: function(value) {
-             this.series_ = value;
-             this.dispatchEvent(new org.apache.flex.events.Event('seriesChanged'));
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisBead.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisBead.js
deleted file mode 100644
index cf7c7c9..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisBead.js
+++ /dev/null
@@ -1,61 +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.
- *
- * org.apache.flex.charts.core.IAxisBead
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IAxisBead');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBead}
- */
-org.apache.flex.charts.core.IAxisBead = function() {
-};
-
-Object.defineProperties(org.apache.flex.charts.core.IAxisBead.prototype, {
-    /** @export */
-    placement: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    axisStroke: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    tickStroke: {
-        get: function() {},
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IAxisBead.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IAxisBead', qName: 'org.apache.flex.charts.core.IAxisBead'}],
-    interfaces: [org.apache.flex.core.IBead]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisGroup.js
deleted file mode 100644
index f0a5348..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisGroup.js
+++ /dev/null
@@ -1,45 +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.
- *
- * org.apache.flex.charts.core.IAxisGroup
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IAxisGroup');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.IAxisGroup = function() {
-};
-
-
-/**
- * @return {void}
- */
-org.apache.flex.charts.core.IAxisGroup.prototype.removeAllElements = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IAxisGroup.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IAxisGroup', qName: 'org.apache.flex.charts.core.IAxisGroup'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ICartesianChartLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ICartesianChartLayout.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ICartesianChartLayout.js
deleted file mode 100644
index 09078a8..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ICartesianChartLayout.js
+++ /dev/null
@@ -1,39 +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.
- *
- * org.apache.flex.charts.core.IChart
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.ICartesianChartLayout');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.ICartesianChartLayout = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.ICartesianChartLayout.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'ICartesianChartLayout', qName: 'org.apache.flex.charts.core.ICartesianChartLayout'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChart.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChart.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChart.js
deleted file mode 100644
index fd214cc..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChart.js
+++ /dev/null
@@ -1,48 +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.
- *
- * org.apache.flex.charts.core.IChart
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChart');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.IChart = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.charts.core.IChart.prototype, {
-    /** @export */
-    series: {
-        get: function() {},
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChart.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChart', qName: 'org.apache.flex.charts.core.IChart'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartAxis.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartAxis.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartAxis.js
deleted file mode 100644
index bc572c1..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartAxis.js
+++ /dev/null
@@ -1,39 +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.
- *
- * org.apache.flex.charts.core.IChartAxis
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChartAxis');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.IChartAxis = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChartAxis.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChartAxis', qName: 'org.apache.flex.charts.core.IChartAxis'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
deleted file mode 100644
index 923ece8..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
+++ /dev/null
@@ -1,53 +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.
- *
- * org.apache.flex.charts.core.IChartDataGroup
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChartDataGroup');
-
-goog.require('org.apache.flex.core.IFactory');
-goog.require('org.apache.flex.core.IItemRendererParent');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IItemRendererParent}
- */
-org.apache.flex.charts.core.IChartDataGroup = function() {
-};
-
-
-/**
- * @param {Object} series The series containing the itemRenderer.
- * @param {number} index The position of the itemRenderer within the series.
- * @return {Object} The itemRenderer matching the series and index.
- */
-org.apache.flex.charts.core.IChartDataGroup.prototype.getItemRendererForSeriesAtIndex =
-  function(series, index) {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChartDataGroup.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChartDataGroup', qName: 'org.apache.flex.charts.core.IChartDataGroup'}],
-    interfaces: [org.apache.flex.core.IItemRendererParent]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartItemRenderer.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartItemRenderer.js
deleted file mode 100644
index 3b46060..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartItemRenderer.js
+++ /dev/null
@@ -1,78 +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.
- *
- * org.apache.flex.charts.core.IChartItemRenderer
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChartItemRenderer');
-
-goog.require('org.apache.flex.core.IItemRenderer');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IItemRenderer}
- */
-org.apache.flex.charts.core.IChartItemRenderer = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.charts.core.IChartItemRenderer.prototype, {
-    /** @export */
-    xField: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    yField: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    fillColor: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    x: {
-        set: function(value) {}
-    },
-    /** @export */
-    y: {
-        set: function(value) {}
-    },
-    /** @export */
-    width: {
-        set: function(value) {}
-    },
-    /** @export */
-    height: {
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChartItemRenderer.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChartItemRenderer', qName: 'org.apache.flex.charts.core.IChartItemRenderer'}],
-    interfaces: [org.apache.flex.core.IItemRenderer]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
deleted file mode 100644
index 057e255..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
+++ /dev/null
@@ -1,65 +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.
- *
- * org.apache.flex.charts.core.IChartSeries
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChartSeries');
-
-goog.require('org.apache.flex.core.IFactory');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.IChartSeries = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.charts.core.IChartSeries.prototype, {
-    /** @export */
-    xField: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    yField: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    fillColor: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    itemRenderer: {
-        get: function() {},
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChartSeries.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChartSeries', qName: 'org.apache.flex.charts.core.IChartSeries'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IHorizontalAxisBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IHorizontalAxisBead.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IHorizontalAxisBead.js
deleted file mode 100644
index b72c408..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IHorizontalAxisBead.js
+++ /dev/null
@@ -1,60 +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.
- *
- * org.apache.flex.charts.core.IHorizontalAxisBead
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IHorizontalAxisBead');
-
-goog.require('org.apache.flex.charts.core.IAxisBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.charts.core.IAxisBead}
- */
-org.apache.flex.charts.core.IHorizontalAxisBead = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IHorizontalAxisBead.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IHorizontalAxisBead', qName: 'org.apache.flex.charts.core.IHorizontalAxisBead'}],
-    interfaces: [org.apache.flex.charts.core.IAxisBead]
-  };
-
-
-Object.defineProperties(org.apache.flex.charts.core.IHorizontalAxisBead.prototype, {
-    /** @export */
-    axisHeight: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    maximum: {
-        get: function() {}
-    },
-    /** @export */
-    minimum: {
-        get: function() {}
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IVerticalAxisBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IVerticalAxisBead.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IVerticalAxisBead.js
deleted file mode 100644
index 3e084eb..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IVerticalAxisBead.js
+++ /dev/null
@@ -1,59 +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.
- *
- * org.apache.flex.charts.core.IVerticalAxisBead
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IVerticalAxisBead');
-
-goog.require('org.apache.flex.charts.core.IAxisBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.charts.core.IAxisBead}
- */
-org.apache.flex.charts.core.IVerticalAxisBead = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IVerticalAxisBead.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IVerticalAxisBead', qName: 'org.apache.flex.charts.core.IVerticalAxisBead'}],
-    interfaces: [org.apache.flex.charts.core.IAxisBead]
-  };
-
-Object.defineProperties(org.apache.flex.charts.core.IVerticalAxisBead.prototype, {
-    /** @export */
-    axisWidth: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    maximum: {
-        get: function() {}
-    },
-    /** @export */
-    minimum: {
-        get: function() {}
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
deleted file mode 100644
index 9f36a65..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
+++ /dev/null
@@ -1,162 +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.charts.supportClasses.ChartAxisGroup');
-
-goog.require('org.apache.flex.charts.core.IAxisGroup');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.core.graphics.Path');
-goog.require('org.apache.flex.html.Label');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- * @implements {org.apache.flex.charts.core.IAxisGroup}
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup =
-    function() {
-  org.apache.flex.charts.supportClasses.ChartAxisGroup.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.charts.supportClasses.ChartAxisGroup,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ChartAxisGroup',
-                qName: 'org.apache.flex.charts.supportClasses.ChartAxisGroup' }],
-      interfaces: [org.apache.flex.charts.core.IAxisGroup] };
-
-
-/**
- * @override
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.
-    prototype.createElement = function() {
-  this.element = document.createElement('div');
-  this.element.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-  this.className = 'ChartAxisGroup';
-
-  this.positioner = this.element;
-
-  return this.element;
-};
-
-
-/**
- * @export
- * @param {string} text The label to display.
- * @param {number} xpos The x position of the label.
- * @param {number} ypos The y position of the label.
- * @param {number} boxWidth The size of the area for the label.
- * @param {number} boxHeight The size of the area for the label.
- * @param {org.apache.flex.core.graphics.IStroke} tickFill The color of the path.
- * @return {Object} The label.
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.drawHorizontalTickLabel =
-function(text, xpos, ypos, boxWidth, boxHeight, tickFill) {
-  var label = new org.apache.flex.html.Label();
-  this.addElement(label);
-  label.text = text;
-  label.x = xpos - label.width / 2;
-  label.y = ypos;
-  return label;
-};
-
-
-/**
- * @export
- * @param {string} text The label to display.
- * @param {number} xpos The x position of the label.
- * @param {number} ypos The y position of the label.
- * @param {number} boxWidth The size of the area for the label.
- * @param {number} boxHeight The size of the area for the label.
- * @param {org.apache.flex.core.graphics.IStroke} tickFill The color of the path.
- * @return {Object} The label.
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.drawVerticalTickLabel =
-function(text, xpos, ypos, boxWidth, boxHeight, tickFill) {
-  var label = new org.apache.flex.html.Label();
-  this.addElement(label);
-  label.text = text;
-  label.x = xpos;
-  label.y = ypos - label.height / 2;
-  return label;
-};
-
-
-/**
- * @export
- * @param {number} originX The x position of the path.
- * @param {number} originY The y position of the path.
- * @param {number} width The size of the area for the path.
- * @param {number} height The size of the area for the path.
- * @param {string} marks The path to draw.
- * @param {org.apache.flex.core.graphics.IStroke} tickStroke The color of the path.
- * @return {Object} The tick path.
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.drawTickMarks =
-function(originX, originY, width, height, marks, tickStroke) {
-  var tickPath = new org.apache.flex.core.graphics.Path();
-  tickPath.x = 0;
-  tickPath.y = 0;
-  tickPath.width = this.width;
-  tickPath.height = this.height;
-  this.addElement(tickPath);
-  tickPath.stroke = tickStroke;
-  tickPath.drawPath(0, 0, marks);
-  return tickPath;
-};
-
-
-/**
- * @export
- * @param {number} originX The x position of the path.
- * @param {number} originY The y position of the path.
- * @param {number} width The size of the area for the path.
- * @param {number} height The size of the area for the path.
- * @param {org.apache.flex.core.graphics.IStroke} lineStroke The color of the path.
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.drawAxisLine =
-function(originX, originY, width, height, lineStroke) {
-  var axisPath = new org.apache.flex.core.graphics.Path();
-  axisPath.x = 0;
-  axisPath.y = 0;
-  axisPath.width = this.width;
-  axisPath.height = this.height;
-  this.addElement(axisPath);
-  axisPath.stroke = lineStroke;
-  var pathLine = 'M ' + String(originX) + ' ' + String(originY) + ' l ' + String(width) + ' ' + String(height);
-  axisPath.drawPath(0, 0, pathLine);
-};
-
-
-/**
- * @return {void}
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.removeAllElements =
-function() {
-  var svg = this.element;
-  while (svg.lastChild) {
-    svg.removeChild(svg.lastChild);
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartDataGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartDataGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartDataGroup.js
deleted file mode 100644
index 2dd637c..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartDataGroup.js
+++ /dev/null
@@ -1,83 +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.charts.supportClasses.ChartDataGroup');
-
-goog.require('org.apache.flex.charts.core.IChartDataGroup');
-goog.require('org.apache.flex.html.supportClasses.DataGroup');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.supportClasses.DataGroup}
- * @implements {org.apache.flex.charts.core.IChartDataGroup}
- */
-org.apache.flex.charts.supportClasses.ChartDataGroup =
-    function() {
-  org.apache.flex.charts.supportClasses.ChartDataGroup.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.charts.supportClasses.ChartDataGroup,
-    org.apache.flex.html.supportClasses.DataGroup);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.supportClasses.ChartDataGroup.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ChartDataGroup',
-                qName: 'org.apache.flex.charts.supportClasses.ChartDataGroup' }],
-      interfaces: [org.apache.flex.charts.core.IChartDataGroup] };
-
-
-/**
- * @override
- */
-org.apache.flex.charts.supportClasses.ChartDataGroup.
-    prototype.createElement = function() {
-  this.element = document.createElement('div');
-  this.element.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-  this.className = 'ChartDataGroup';
-
-  this.positioner = this.element;
-
-  return this.element;
-};
-
-
-/**
- * @export
- * @param {Object} series The series containing the itemRenderer.
- * @param {number} index The position of the itemRenderer within the series.
- * @return {Object} The itemRenderer that matches the series and index.
- */
-org.apache.flex.charts.supportClasses.ChartDataGroup.prototype.getItemRendererForSeriesAtIndex =
-function(series, index) {
-  var n = this.numElements;
-  for (var i = 0; i < n; i++)
-  {
-    var child = this.getElementAt(i);
-    if (child && child.series == series) {
-      if (index === 0) return child;
-      --index;
-    }
-  }
-
-  return null;
-};
-


[11/12] git commit: [flex-asjs] [refs/heads/core_js_to_as] - fix up build configs now that handwritten JS is gone

Posted by ah...@apache.org.
fix up build configs now that handwritten JS is gone


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f6166ddd
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f6166ddd
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f6166ddd

Branch: refs/heads/core_js_to_as
Commit: f6166ddde388a41066c89c9a6e37b75791b80084
Parents: d4cace4
Author: Alex Harui <ah...@apache.org>
Authored: Wed Dec 2 11:35:00 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Dec 2 11:35:00 2015 -0800

----------------------------------------------------------------------
 frameworks/projects/Charts/compile-config.xml        | 4 ----
 frameworks/projects/Collections/compile-config.xml   | 4 ----
 frameworks/projects/DragDrop/compile-asjs-config.xml | 7 +++++++
 frameworks/projects/Effects/compile-asjs-config.xml  | 7 +++++++
 frameworks/projects/Mobile/compile-config.xml        | 4 ----
 5 files changed, 14 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f6166ddd/frameworks/projects/Charts/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/compile-config.xml b/frameworks/projects/Charts/compile-config.xml
index f64b4d6..b5c04c0 100644
--- a/frameworks/projects/Charts/compile-config.xml
+++ b/frameworks/projects/Charts/compile-config.xml
@@ -69,10 +69,6 @@
         <name>js/out/*</name>
         <path>js/out/*</path>
     </include-file>
-    <include-file>
-        <name>js/src/*</name>
-        <path>js/src/*</path>
-    </include-file>
 
     <include-classes>
         <class>ChartsClasses</class>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f6166ddd/frameworks/projects/Collections/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/compile-config.xml b/frameworks/projects/Collections/compile-config.xml
index 0b68206..22daebd 100644
--- a/frameworks/projects/Collections/compile-config.xml
+++ b/frameworks/projects/Collections/compile-config.xml
@@ -63,10 +63,6 @@
         <name>js/out/*</name>
         <path>js/out/*</path>
     </include-file>
-    <include-file>
-        <name>js/src/*</name>
-        <path>js/src/*</path>
-    </include-file>
 
     <include-classes>
         <class>CollectionsClasses</class>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f6166ddd/frameworks/projects/DragDrop/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/compile-asjs-config.xml b/frameworks/projects/DragDrop/compile-asjs-config.xml
index 3152403..1ad65d7 100644
--- a/frameworks/projects/DragDrop/compile-asjs-config.xml
+++ b/frameworks/projects/DragDrop/compile-asjs-config.xml
@@ -48,6 +48,13 @@
             <path-element>../../externs/Core.swc</path-element>
         </library-path>
         
+        <namespaces>
+            <namespace>
+                <uri>library://ns.apache.org/flexjs/basic</uri>
+                <manifest>basic-manifest.xml</manifest>
+            </namespace>
+        </namespaces>
+        
         <source-path>
             <path-element>as/src</path-element>
         </source-path>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f6166ddd/frameworks/projects/Effects/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/compile-asjs-config.xml b/frameworks/projects/Effects/compile-asjs-config.xml
index b315505..8f64d55 100644
--- a/frameworks/projects/Effects/compile-asjs-config.xml
+++ b/frameworks/projects/Effects/compile-asjs-config.xml
@@ -52,6 +52,13 @@
             <path-element>as/src</path-element>
         </source-path>
         
+        <namespaces>
+            <namespace>
+                <uri>library://ns.apache.org/flexjs/basic</uri>
+                <manifest>basic-manifest.xml</manifest>
+            </namespace>
+        </namespaces>
+        
         <warn-no-constructor>false</warn-no-constructor>
     </compiler>
     

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f6166ddd/frameworks/projects/Mobile/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/compile-config.xml b/frameworks/projects/Mobile/compile-config.xml
index dfe9506..1738229 100644
--- a/frameworks/projects/Mobile/compile-config.xml
+++ b/frameworks/projects/Mobile/compile-config.xml
@@ -69,10 +69,6 @@
         <name>js/out/*</name>
         <path>js/out/*</path>
     </include-file>
-    <include-file>
-        <name>js/src/*</name>
-        <path>js/src/*</path>
-    </include-file>
 
     <include-classes>
         <class>MobileClasses</class>


[06/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

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/svg/TextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/svg/TextButton.js b/frameworks/projects/Core/js/src/org/apache/flex/svg/TextButton.js
deleted file mode 100644
index 5622f0f..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/svg/TextButton.js
+++ /dev/null
@@ -1,90 +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.svg.TextButton');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.svg.TextButton = function() {
-  org.apache.flex.svg.TextButton.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.svg.TextButton,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.svg.TextButton.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextButton',
-                qName: 'org.apache.flex.svg.TextButton'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.svg.TextButton.prototype.createElement =
-    function() {
-  this.element = document.createElement('embed');
-  this.element.setAttribute('src', 'org/apache/flex/svg/assets/TextButton_Skin.svg');
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  return this.element;
-};
-
-
-/**
- * @override
- */
-org.apache.flex.svg.TextButton.prototype.finalizeElement =
-    function() {
-  var listenersArray;
-  if (goog.events.hasListener(this.element, goog.events.EventType.CLICK)) {
-    listenersArray = goog.events.getListeners(this.element, goog.events.EventType.CLICK, false);
-
-    /* As we are assigning an actual function object instead of just the name,
-       make sure to use a unique name ('clickHandler') instead of a native
-       name, like 'click' or 'onclick'.
-
-       Note: use array notation for property assignment so the compiler doesn't
-             rename the property ;-)
-    */
-    this.element['clickHandler'] = listenersArray[0].listener;
-  }
-};
-
-
-Object.defineProperties(org.apache.flex.svg.TextButton.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.svg.TextButton} */
-        get: function() {
-            return this.element.getAttribute('label');
-        },
-        /** @this {org.apache.flex.svg.TextButton} */
-        set: function(value) {
-            this.element.setAttribute('label', value);
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/svg/assets/TextButton_Skin.svg
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/svg/assets/TextButton_Skin.svg b/frameworks/projects/Core/js/src/org/apache/flex/svg/assets/TextButton_Skin.svg
deleted file mode 100644
index 7986725..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/svg/assets/TextButton_Skin.svg
+++ /dev/null
@@ -1,279 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You 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.
-
--->
-<svg xmlns="http://www.w3.org/2000/svg" version="1.1" class="button" width="100%" height="100%" 
-	onload="return init(evt)"
-	onmouseover="return handleMouseOver(evt)" 
-	onmousedown="return handleMouseDown(evt)" 
-	onmouseup="return handleMouseUp(evt)" 
-	onmouseout="return handleMouseOut(evt)"
-	onclick="handleOnClick(evt)"
-	>
-	<style type="text/css">
-		.button {cursor: pointer;}
-	</style>
-  
-  <script type="text/ecmascript">
-	<![CDATA[
-		
-		var labelStr = "";
-		var clickHandler;
-		
-		function init(event)
-		{
-			//Set Initial button state
-			document.getElementById("button_up").style.display="inline";
-			document.getElementById("button_over").style.display="none";
-			document.getElementById("button_down").style.display="none";
-			
-			//Set label from the embed's frameElement.attributes values
-			labelStr = window.frameElement.attributes["label"].value;
-			var labelElement = document.getElementById("labelDisplay");
-			labelElement.firstChild.nodeValue = labelStr;
-			
-			//Store callbacks
-			clickHandler = window.frameElement.clickHandler;
-		}
-	
-		function handleMouseOver(event)
-		{
-			document.getElementById("button_up").style.display="none";
-			document.getElementById("button_over").style.display="inline";
-			document.getElementById("button_down").style.display="none";
-		}
-		
-		function handleMouseDown(event)
-		{
-			document.getElementById("button_up").style.display="none";
-			document.getElementById("button_over").style.display="none";
-			document.getElementById("button_down").style.display="inline";
-		}
-		
-		function handleMouseUp(event)
-		{
-			document.getElementById("button_up").style.display="none";
-			document.getElementById("button_over").style.display="inline";
-			document.getElementById("button_down").style.display="none";
-		}
-		
-		function handleMouseOut(event)
-		{
-			document.getElementById("button_up").style.display="inline";
-			document.getElementById("button_over").style.display="none";
-			document.getElementById("button_down").style.display="none";
-		}
-		
-		function handleOnClick(evt)
-		{
-			clickHandler(evt,this);
-		}
-
-	]]></script>
-	<svg xmlns="http://www.w3.org/2000/svg" id="button_up" width="100%" height="100%" version="1.1" >
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="-1" right="-1" top="-1" bottom="-1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientx63x32" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.01" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.07" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_shadow" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_up_idLinearGradientx63x32)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientx63x54" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#FFFFFF" stop-opacity="0.85" />
-					<stop offset="1" stop-color="#D8D8D8" stop-opacity="0.85" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_fill" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_up_idLinearGradientx63x54)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientx63x76" x1="0%" y1="100%" x2="0%" y2="0%">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.0627" />
-					<stop offset="0.48" stop-color="#000000" stop-opacity="0.0099" />
-					<stop offset="0.48001" stop-color="#000000" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_lowlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_up_idLinearGradientx63x76)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientx63x100" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#FFFFFF" stop-opacity="0.33" />
-					<stop offset="0.48" stop-color="#FFFFFF" stop-opacity="0.33" />
-					<stop offset="0.48001" stop-color="#FFFFFF" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_highlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_up_idLinearGradientx63x100)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientStrokex63x129" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#FFFFFF" />
-					<stop offset="1" stop-color="#D8D8D8" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_highlightStroke" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_up_idLinearGradientStrokex63x129)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="0" right="0" top="0" bottom="0">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientStrokex63x205" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.5625" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.75" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_border" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_up_idLinearGradientStrokex63x205)" />
-		</svg>
-	</svg>
-
-	<svg xmlns="http://www.w3.org/2000/svg" id="button_over" width="100%" height="100%" version="1.1" >
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="-1" right="-1" top="-1" bottom="-1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientx63x32" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.01" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.07" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_shadow" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_over_idLinearGradientx63x32)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientx63x54" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#BBBDBD" stop-opacity="0.85" />
-					<stop offset="1" stop-color="#9FA0A1" stop-opacity="0.85" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_fill" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_over_idLinearGradientx63x54)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientx63x76" x1="0%" y1="100%" x2="0%" y2="0%">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.0627" />
-					<stop offset="0.48" stop-color="#000000" stop-opacity="0.0099" />
-					<stop offset="0.48001" stop-color="#000000" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_lowlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_over_idLinearGradientx63x76)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientx63x100" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#FFFFFF" stop-opacity="0.22" />
-					<stop offset="0.48" stop-color="#FFFFFF" stop-opacity="0.22" />
-					<stop offset="0.48001" stop-color="#FFFFFF" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_highlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_over_idLinearGradientx63x100)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientStrokex63x129" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#FFFFFF" stop-opacity="0.22" />
-					<stop offset="1" stop-color="#D8D8D8" stop-opacity="0.22" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_highlightStroke" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_over_idLinearGradientStrokex63x129)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="0" right="0" top="0" bottom="0">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientStrokex63x205" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.5625" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.75" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_border" width="100%" height="100%" rx="2" ry="2" fill="none" style="stroke-width:2;stroke:url(#button_over_idLinearGradientStrokex63x205)" />
-		</svg>
-	</svg>
-	<svg xmlns="http://www.w3.org/2000/svg" id="button_down" width="100%" height="100%" version="1.1" >
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="-1" right="-1" top="-1" bottom="-1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientx63x32" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#FFFFFF" stop-opacity="0" />
-					<stop offset="1" stop-color="#FFFFFF" stop-opacity="0.5" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_shadow" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_down_idLinearGradientx63x32)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientx63x54" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#AAAAAA" stop-opacity="0.85" />
-					<stop offset="1" stop-color="#929496" stop-opacity="0.85" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_fill" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_down_idLinearGradientx63x54)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientx63x76" x1="0%" y1="100%" x2="0%" y2="0%">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.0627" />
-					<stop offset="0.48" stop-color="#000000" stop-opacity="0.0099" />
-					<stop offset="0.48001" stop-color="#000000" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_lowlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_down_idLinearGradientx63x76)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientx63x100" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#FFFFFF" stop-opacity="0.12" />
-					<stop offset="0.48" stop-color="#FFFFFF" stop-opacity="0.12" />
-					<stop offset="0.48001" stop-color="#FFFFFF" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_highlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_down_idLinearGradientx63x100)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientStrokex63x149" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.25" />
-					<stop offset="0.001" stop-color="#000000" stop-opacity="0.25" />
-					<stop offset="0.0011" stop-color="#000000" stop-opacity="0.07" />
-					<stop offset="0.965" stop-color="#000000" stop-opacity="0.07" />
-					<stop offset="0.9651" stop-color="#000000" stop-opacity="0.00" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_hldownstroke1" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_down_idLinearGradientStrokex63x149)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="2" right="2" top="2" bottom="2">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientStrokex63x182" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.09" />
-					<stop offset="0.0001" stop-color="#000000" stop-opacity="0.00" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_hldownstroke2" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_down_idLinearGradientStrokex63x182)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="0" right="0" top="0" bottom="0">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientStrokex63x205" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.6375" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.85" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_border" width="100%" height="100%" rx="2" ry="2" fill="none" style="stroke-width:2;stroke:url(#button_down_idLinearGradientStrokex63x205)" />
-		</svg>
-	</svg>
-	<svg id="labelDisplaySVG" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" version="1.1" >
-		<text id="labelDisplay" text-anchor="middle" font-family="verdana" font-size="12" dy=".3em" x="50%" y="50%" > </text>
-	</svg>
-	<rect id="mouse_catcher" width="100%" height="100%" fill="none" pointer-events="all"/>
-</svg>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/BinaryData.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/BinaryData.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/BinaryData.js
deleted file mode 100644
index 619b0ed..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/BinaryData.js
+++ /dev/null
@@ -1,223 +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.utils.BinaryData');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.BinaryData = function() {
-
-  /**
-   * @private
-   * @type {ArrayBuffer}
-   */
-  this.data_ = new ArrayBuffer();
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.position_ = 0;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.BinaryData.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BinaryData',
-                qName: 'org.apache.flex.utils.BinaryData'}] };
-
-
-Object.defineProperties(org.apache.flex.utils.BinaryData.prototype, {
-    /** @export */
-    data: {
-        /** @this {org.apache.flex.utils.BinaryData} */
-        get: function() {
-            return this.data_;
-        }
-    },
-    /** @export */
-    position: {
-        /** @this {org.apache.flex.utils.BinaryData} */
-        get: function() {
-            return this.position_;
-        },
-        /** @this {org.apache.flex.utils.BinaryData} */
-        set: function(value) {
-            this.position_ = value;
-        }
-    },
-    /** @export */
-    length: {
-        /** @this {org.apache.flex.utils.BinaryData} */
-        get: function() {
-            return this.data_.byteLength;
-        }
-    },
-    /** @export */
-    bytesAvailable: {
-        /** @this {org.apache.flex.utils.BinaryData} */
-        get: function() {
-            return this.data_.byteLength - this.position_;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} b The byte to write.
- */
-org.apache.flex.utils.BinaryData.prototype.writeByte = function(b) {
-  var view;
-
-  this.growBuffer(1);
-
-  view = new Int8Array(this.data_, this.position_, 1);
-  view[0] = b;
-  this.position_++;
-};
-
-
-/**
- * @export
- * @param {number} s The 16-bit integer to write.
- */
-org.apache.flex.utils.BinaryData.prototype.writeShort = function(s) {
-  var view;
-
-  this.growBuffer(2);
-
-  view = new Int16Array(this.data_, this.position_, 1);
-  view[0] = s;
-  this.position_ += 2;
-};
-
-
-/**
- * @export
- * @param {number} num The 32-bit integer to write.
- */
-org.apache.flex.utils.BinaryData.prototype.writeInt = function(num) {
-  var view;
-
-  this.growBuffer(4);
-
-  view = new Int32Array(this.data_, this.position_, 1);
-  view[0] = num;
-  this.position_ += 4;
-};
-
-
-/**
- * @export
- * @param {number} num The 32-bit unsigned integer to write.
- */
-org.apache.flex.utils.BinaryData.prototype.writeUnsignedInt =
-    function(num) {
-  var view;
-
-  this.growBuffer(4);
-
-  view = new Uint32Array(this.data_, this.position_, 1);
-  view[0] = num;
-  this.position_ += 4;
-};
-
-
-/**
- * @export
- * @return {number} The byte that was read.
- */
-org.apache.flex.utils.BinaryData.prototype.readByte = function() {
-  var view;
-
-  view = new Int8Array(this.data_, this.position_, 1);
-  this.position_++;
-  return view[0];
-};
-
-
-/**
- * @export
- * @return {number} The 16-bit integer that was read.
- */
-org.apache.flex.utils.BinaryData.prototype.readShort = function() {
-  var view;
-
-  view = new Int16Array(this.data_, this.position_, 1);
-  this.position_ += 2;
-  return view[0];
-};
-
-
-/**
- * @export
- * @return {number} The 32-bit integer that was read.
- */
-org.apache.flex.utils.BinaryData.prototype.readInteger = function() {
-  var view;
-
-  view = new Int32Array(this.data_, this.position_, 1);
-  this.position_ += 4;
-  return view[0];
-};
-
-
-/**
- * @export
- * @return {number} The 32-bit unsigned integer that was read.
- */
-org.apache.flex.utils.BinaryData.prototype.readUnsignedInteger =
-    function() {
-  var view;
-
-  view = new Uint32Array(this.data_, this.position_, 1);
-  this.position_ += 4;
-  return view[0];
-};
-
-
-/**
- * @export
- * @param {number} extra The number of bytes to add to the buffer.
- */
-org.apache.flex.utils.BinaryData.prototype.growBuffer = function(extra) {
-  var newBuffer, newView, view, i, n;
-
-  if (this.position_ >= this.data_.byteLength)
-  {
-    n = this.data_.byteLength;
-    newBuffer = new ArrayBuffer(n + extra);
-    newView = new Int8Array(newBuffer, 0, n);
-    view = new Int8Array(this.data_, 0, n);
-    for (i = 0; i < n; i++)
-    {
-      newView[i] = view[i];
-    }
-    this.data_ = newBuffer;
-  }
-};
-
-
-
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
deleted file mode 100644
index 77eee76..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
+++ /dev/null
@@ -1,83 +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.utils.CSSContainerUtils');
-
-goog.require('org.apache.flex.geom.Rectangle');
-goog.require('org.apache.flex.utils.CSSUtils');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.CSSContainerUtils = function() {
-};
-
-
-/**
- * @export
- * @param {Object} object The strand whose border offsets are required.
- * @return {org.apache.flex.geom.Rectangle} The four border widths.
- */
-org.apache.flex.utils.CSSContainerUtils.getBorderMetrics = function(object) {
-  var style = getComputedStyle(object.element);
-  var borderLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-left-width'), object.width);
-  var borderRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-right-width'), object.width);
-  var borderTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-top-width'), object.width);
-  var borderBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-bottom-width'),
-      object.width);
-  return new org.apache.flex.geom.Rectangle(borderLeft, borderTop, borderRight - borderLeft, borderBottom - borderTop);
-};
-
-
-/**
- * @export
- * @param {Object} object The strand whose padding offsets are required.
- * @return {org.apache.flex.geom.Rectangle} The four padding widths.
- */
-org.apache.flex.utils.CSSContainerUtils.getPaddingMetrics = function(object) {
-  var style = getComputedStyle(object.element);
-  var paddingLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-left'), object.width);
-  var paddingRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-right'), object.width);
-  var paddingTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-top'), object.width);
-  var paddingBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-bottom'), object.width);
-  return new org.apache.flex.geom.Rectangle(paddingLeft, paddingTop,
-                                            paddingRight - paddingLeft, paddingBottom - paddingTop);
-};
-
-
-/**
- * @export
- * @param {Object} object The strand whose border and padding offsets are required.
- * @return {org.apache.flex.geom.Rectangle} The four border padding widths.
- */
-org.apache.flex.utils.CSSContainerUtils.getBorderAndPaddingMetrics = function(object) {
-  var style = getComputedStyle(object.element);
-  var borderLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-left-width'), object.width);
-  var borderRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-right-width'), object.width);
-  var borderTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-top-width'), object.width);
-  var borderBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-bottom-width'),
-      object.width);
-  var paddingLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-left'), object.width);
-  var paddingRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-right'), object.width);
-  var paddingTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-top'), object.width);
-  var paddingBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-bottom'), object.width);
-  paddingLeft += borderLeft;
-  paddingRight += borderRight;
-  paddingTop += borderTop;
-  paddingBottom += borderBottom;
-  return new org.apache.flex.geom.Rectangle(paddingLeft, paddingTop,
-                                            paddingRight - paddingLeft, paddingBottom - paddingTop);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/EffectTimer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/EffectTimer.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/EffectTimer.js
deleted file mode 100644
index 3175605..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/EffectTimer.js
+++ /dev/null
@@ -1,94 +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.utils.EffectTimer');
-
-goog.require('org.apache.flex.core.IEffectTimer');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.events.EventDispatcher');
-goog.require('org.apache.flex.events.ValueEvent');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @suppress {checkTypes}
- */
-org.apache.flex.utils.EffectTimer = function() {
-  org.apache.flex.utils.EffectTimer.base(this, 'constructor');
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this.timerInterval = -1;
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this._delay = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this,
-                                                        'effectTimerInterval');
-
-};
-goog.inherits(org.apache.flex.utils.EffectTimer,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.EffectTimer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'EffectTimer',
-               qName: 'org.apache.flex.utils.EffectTimer'}],
-        interfaces: [org.apache.flex.core.IEffectTimer] };
-
-
-/**
- * @export
- * Stops the timer.
- */
-org.apache.flex.utils.EffectTimer.prototype.stop = function() {
-  clearInterval(this.timerInterval);
-  this.timerInterval = -1;
-};
-
-
-/**
- * @export
- * Starts the timer.
- * @return {number} The start time.
- */
-org.apache.flex.utils.EffectTimer.prototype.start = function() {
-  this.timerInterval =
-      setInterval(goog.bind(this.timerHandler, this), this._delay);
-  var d = new Date();
-  return d.getTime();
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.utils.EffectTimer.prototype.timerHandler =
-    function() {
-  var d = new Date();
-  this.dispatchEvent(new org.apache.flex.events.ValueEvent('update', d.getTime()));
-
-};
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/Language.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/Language.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/Language.js
deleted file mode 100644
index f95b659..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/Language.js
+++ /dev/null
@@ -1,316 +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.utils.Language');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.Language = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.Language.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Language',
-                qName: 'org.apache.flex.utils.Language'}] };
-
-
-/**
- * as()
- *
- * @export
- * @param {?} leftOperand The lefthand operand of the
- *                        binary as operator in AS3.
- * @param {?} rightOperand The righthand operand of the
- *                         binary operator in AS3.
- * @param {?=} opt_coercion The cast is a coercion,
- *                          throw expception if it fails.
- * @return {?} Returns the lefthand operand if it is of the
- *             type of the righthand operand, otherwise null.
- */
-org.apache.flex.utils.Language.as = function(leftOperand, rightOperand, opt_coercion) {
-  var error, itIs, message;
-
-  opt_coercion = (opt_coercion !== undefined) ? opt_coercion : false;
-
-  itIs = org.apache.flex.utils.Language.is(leftOperand, rightOperand);
-
-  if (!itIs && opt_coercion) {
-    message = 'Type Coercion failed';
-    if (TypeError) {
-      error = new TypeError(message);
-    } else {
-      error = new Error(message);
-    }
-    throw error;
-  }
-
-  return (itIs) ? leftOperand : null;
-};
-
-
-/**
- * int()
- *
- * @export
- * @param {?} value The value to be cast.
- * @return {number}
- */
-org.apache.flex.utils.Language._int = function(value) {
-  return value >> 0;
-};
-
-
-/**
- * is()
- *
- * @export
- * @param {?} leftOperand The lefthand operand of the
- *     binary as operator in AS3.
- * @param {?} rightOperand The righthand operand of the
- *     binary operator in AS3.
- * @return {boolean}
- */
-org.apache.flex.utils.Language.is = function(leftOperand, rightOperand) {
-  var checkInterfaces, superClass;
-
-  if (leftOperand == null)
-    return false;
-
-  if (leftOperand && rightOperand == null) {
-    return false;
-  }
-
-  checkInterfaces = function(left) {
-    var i, interfaces;
-
-    interfaces = left.FLEXJS_CLASS_INFO.interfaces;
-    for (i = interfaces.length - 1; i > -1; i--) {
-      if (interfaces[i] === rightOperand) {
-        return true;
-      }
-
-      if (interfaces[i].prototype.FLEXJS_CLASS_INFO.interfaces) {
-        var isit = checkInterfaces(new interfaces[i]());
-        if (isit) return true;
-      }
-    }
-
-    return false;
-  };
-
-  if ((rightOperand === String && typeof leftOperand === 'string') ||
-      (leftOperand instanceof /** @type {Object} */(rightOperand))) {
-    return true;
-  }
-  if (typeof leftOperand === 'string')
-    return false; // right was not String otherwise exit above
-  if (typeof leftOperand === 'number')
-    return rightOperand === Number;
-  if (rightOperand === Array && Array.isArray(leftOperand))
-    return true;
-  if (leftOperand.FLEXJS_CLASS_INFO === undefined)
-    return false; // could be a function but not an instance
-  if (leftOperand.FLEXJS_CLASS_INFO.interfaces) {
-    if (checkInterfaces(leftOperand)) {
-      return true;
-    }
-  }
-
-  superClass = leftOperand.constructor.superClass_;
-  if (superClass) {
-    while (superClass && superClass.FLEXJS_CLASS_INFO) {
-      if (superClass.FLEXJS_CLASS_INFO.interfaces) {
-        if (checkInterfaces(superClass)) {
-          return true;
-        }
-      }
-      superClass = superClass.constructor.superClass_;
-    }
-  }
-
-  return false;
-};
-
-
-/**
- * trace()
- *
- * @export
- * @param {...Object} var_args The message(s) to be written to the console.
- */
-org.apache.flex.utils.Language.trace = function(var_args) {
-  var theConsole;
-
-  var msg = '';
-  for (var i = 0; i < arguments.length; i++) {
-    if (i > 0) msg += ' ';
-    msg += arguments[i];
-  }
-
-  theConsole = goog.global.console;
-
-  if (theConsole === undefined && window.console !== undefined)
-    theConsole = window.console;
-
-  try {
-    if (theConsole && theConsole.log) {
-      theConsole.log(msg);
-    }
-  } catch (e) {
-    // ignore; at least we tried ;-)
-  }
-};
-
-
-/**
- * uint()
- *
- * @export
- * @param {?} value The value to be cast.
- * @return {number}
- */
-org.apache.flex.utils.Language.uint = function(value) {
-  return value >>> 0;
-};
-
-
-/**
- * preincrement handles --foo
- *
- * @export
- * @param {Object} obj The object with the getter/setter.
- * @param {string} prop The name of a property.
- * @return {number}
- */
-org.apache.flex.utils.Language.preincrement = function(obj, prop) {
-  var value = obj[prop] + 1;
-  obj[prop] = value;
-  return value;
-};
-
-
-/**
- * predecrement handles ++foo
- *
- * @export
- * @param {Object} obj The object with the getter/setter.
- * @param {string} prop The name of a property.
- * @return {number}
- */
-org.apache.flex.utils.Language.predecrement = function(obj, prop) {
-  var value = obj[prop] - 1;
-  obj[prop] = value;
-  return value;
-};
-
-
-/**
- * postincrement handles foo++
- *
- * @export
- * @param {Object} obj The object with the getter/setter.
- * @param {string} prop The name of a property.
- * @return {number}
- */
-org.apache.flex.utils.Language.postincrement = function(obj, prop) {
-  var value = obj[prop];
-  obj[prop] = value + 1;
-  return value;
-};
-
-
-/**
- * postdecrement handles foo++
- *
- * @export
- * @param {Object} obj The object with the getter/setter.
- * @param {string} prop The name of a property.
- * @return {number}
- */
-org.apache.flex.utils.Language.postdecrement = function(obj, prop) {
-  var value = obj[prop];
-  obj[prop] = value + 1;
-  return value;
-};
-
-
-/**
- * superGetter calls the getter on the given class' superclass.
- *
- * @export
- * @param {Object} clazz The class.
- * @param {Object} pthis The this pointer.
- * @param {string} prop The name of the getter.
- * @return {Object}
- */
-org.apache.flex.utils.Language.superGetter = function(clazz, pthis, prop) {
-  var superClass = clazz.superClass_;
-  var superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
-  while (superdesc == null)
-  {
-    superClass = superClass.constructor.superClass_;
-    superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
-  }
-  return superdesc.get.call(pthis);
-};
-
-
-/**
- * superSetter calls the setter on the given class' superclass.
- *
- * @export
- * @param {Object} clazz The class.
- * @param {Object} pthis The this pointer.
- * @param {string} prop The name of the getter.
- * @param {Object} value The value.
- */
-org.apache.flex.utils.Language.superSetter = function(clazz, pthis, prop, value) {
-  var superClass = clazz.superClass_;
-  var superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
-  while (superdesc == null)
-  {
-    superClass = superClass.constructor.superClass_;
-    superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
-  }
-  superdesc.set.apply(pthis, [value]);
-};
-
-
-/**
- * caches closures and returns the one closure
- *
- * @export
- * @param {Function} fn The method on the instance.
- * @param {Object} object The instance.
- * @param {string} boundMethodName The name to use to cache the closure.
- * @return {Function} The closure.
- */
-org.apache.flex.utils.Language.closure = function(fn, object, boundMethodName) {
-  if (object.hasOwnProperty(boundMethodName)) {
-    return object[boundMethodName];
-  }
-  var boundMethod = goog.bind(fn, object);
-  Object.defineProperty(object, boundMethodName, {
-    value: boundMethod
-  });
-  return boundMethod;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/MXMLDataInterpreter.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/MXMLDataInterpreter.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/MXMLDataInterpreter.js
deleted file mode 100644
index a56c912..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/MXMLDataInterpreter.js
+++ /dev/null
@@ -1,412 +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.utils.MXMLDataInterpreter');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.MXMLDataInterpreter = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.MXMLDataInterpreter.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'MXMLDataInterpreter',
-                qName: 'org.apache.flex.utils.MXMLDataInterpreter'}] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {Array} data The data array.
- * @return {Object} The generated object.
- */
-org.apache.flex.utils.MXMLDataInterpreter.generateMXMLObject =
-    function(document, data) {
-  var assignComp, Cls, comp, generateMXMLArray, generateMXMLObject, i, id, j, m,
-      name, simple, value;
-
-  i = 0;
-  Cls = data[i++];
-  comp = new Cls();
-
-  generateMXMLArray =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray;
-  generateMXMLObject =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLObject;
-
-  if (comp.addBead)
-    org.apache.flex.utils.MXMLDataInterpreter.initializeStrandBasedObject(document, null, comp, data, i);
-  else {
-    m = data[i++]; // num props
-    for (j = 0; j < m; j++) {
-      name = data[i++];
-      simple = data[i++];
-      value = data[i++];
-
-      if (simple === null) {
-        value = generateMXMLArray(document, null, value);
-      } else if (simple === false) {
-        value = generateMXMLObject(document, value);
-      }
-
-      if (name === 'id') {
-        document[value] = comp;
-        id = value;
-      }
-
-      if (name == 'document' && !comp.document) {
-        comp.document = document;
-      }
-      else if (name === '_id') {
-        document[value] = comp;
-        id = value;
-      }
-      else if (name === 'id') {
-        try {
-          comp.id = value;
-        } catch (e) {}
-      }
-      else {
-        comp[name] = value;
-      }
-    }
-
-    if (typeof comp.setDocument === 'function') {
-      comp.setDocument(document, id);
-    }
-  }
-
-  return comp;
-};
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- * @param {Object} parent The parent object.
- * @param {Array} data The data array.
- * @return {Array} The generated array.
- */
-org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray =
-    function(document, parent, data) {
-  var comps = [];
-
-  var n = data.length;
-  var i = 0;
-  while (i < n) {
-    var cls = data[i++];
-    var comp = new cls();
-
-    i = org.apache.flex.utils.MXMLDataInterpreter.initializeStrandBasedObject(document, parent, comp, data, i);
-
-    comps.push(comp);
-  }
-  return comps;
-};
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- * @param {Object} parent The parent object.
- * @param {Object} comp The component being initialized.
- * @param {Array} data The data array.
- * @param {number} i The offset into data.
- * @return {number} The new offset into the data.
- */
-org.apache.flex.utils.MXMLDataInterpreter.initializeStrandBasedObject =
-    function(document, parent, comp, data, i) {
-  var bead, beadOffset, beads, children, Cls, generateMXMLArray,
-      generateMXMLObject, id, j, k, l, m, n, name, self, simple, value, dispatchBeadsAdded;
-
-  generateMXMLArray =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray;
-  generateMXMLObject =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLObject;
-
-  id = null;
-
-  m = data[i++]; // num props
-  if (m > 0 && data[0] === 'model') {
-    m--;
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(document, parent, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(document, value);
-    }
-
-    comp[name] = value;
-  }
-
-  beadOffset = i + (m - 1) * 3;
-  if (m > 0 && data[beadOffset] === 'beads') {
-    m--;
-  } else {
-    beadOffset = -1;
-  }
-
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(document, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(document, value);
-    }
-
-    if (name === 'id') {
-      id = value;
-      document[value] = comp;
-    }
-
-    if (name === 'document' && !comp.document) {
-      comp.document = document;
-    } else if (name === '_id') {
-      id = value; // and don't assign to comp
-    } else if (name === 'id') {
-      try {
-        comp.id = value;
-      } catch (e) {}
-    } else {
-      comp[name] = value;
-    }
-  }
-
-  if (beadOffset > -1)
-  {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(document, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(document, value);
-    }
-    comp[name] = value;
-  }
-
-  m = data[i++]; // num styles
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(document, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(document, value);
-    }
-
-    if (comp.setStyle) {
-      comp.setStyle(name, value);
-    }
-  }
-
-    /*
-    m = data[i++]; // num effects
-    for (j = 0; j < m; j++)
-    {
-      name = data[i++];
-      simple = data[i++];
-      value = data[i++];
-      if (simple === null)
-        value = generateMXMLArray(document, null, value, opt_recursive);
-      else if (simple === false)
-        value = generateMXMLObject(document, value);
-      comp.setStyle(name, value);
-    }
-    */
-
-  m = data[i++]; // num events
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    value = data[i++];
-
-    comp.addEventListener(name, goog.bind(value, document));
-  }
-
-  var isContainer = (typeof comp.childrenAdded === 'function');
-
-  children = data[i++];
-  if (children && comp['setMXMLDescriptor']) {
-    comp['setMXMLDescriptor'](document, children);
-  }
-  if (parent && org.apache.flex.utils.Language.is(comp,
-      org.apache.flex.core.IUIBase)) {
-    parent.addElement(comp, !isContainer);
-  }
-
-  if (children) {
-    if (!comp['setMXMLDescriptor']) {
-      self = org.apache.flex.utils.MXMLDataInterpreter;
-      self.generateMXMLInstances(
-            document, comp, children);
-      if (isContainer)
-        comp['childrenAdded']();
-    }
-  }
-
-  if (id) {
-    document[id] = comp;
-  }
-
-  if (typeof(comp.setDocument) === 'function') {
-    comp.setDocument(document, id);
-  }
-
-  if (goog.isFunction(comp.finalizeElement)) {
-    comp.finalizeElement();
-  }
-
-  return i;
-};
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- * @param {Object} parent The parent object.
- * @param {Array} data The data array.
- */
-org.apache.flex.utils.MXMLDataInterpreter.generateMXMLInstances =
-    function(document, parent, data) {
-  if (data) {
-    org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray(
-        document, parent, data);
-  }
-};
-
-
-/**
- * @export
- * @param {Object} host The MXML object.
- * @param {Array} data The data array.
- */
-org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties =
-    function(host, data) {
-  var bead, beadOffset, beads, generateMXMLArray, generateMXMLObject, i, id, j,
-      k, l, m, name, simple, value;
-
-  if (!data) {
-    return;
-  }
-
-  i = 0;
-  id = null;
-
-  generateMXMLArray =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray;
-  generateMXMLObject =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLObject;
-
-  m = data[i++]; // num props
-  beadOffset = i + (m - 1) * 3;
-  if (m > 0 && data[beadOffset] === 'beads') {
-    m--;
-  } else {
-    beadOffset = -1;
-  }
-
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(host, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(host, value);
-    }
-
-    if (name === 'id') {
-      id = value;
-    }
-
-    if (name === '_id') {
-      id = value; // and don't assign
-    } else {
-      host[name] = value;
-    }
-  }
-
-  if (beadOffset > -1) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(host, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(host, value);
-    }
-
-    beads = value;
-    l = beads.length;
-    for (k = 0; k < l; k++) {
-      bead = beads[k];
-      host.addBead(bead);
-    }
-  }
-
-  m = data[i++]; // num styles
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(host, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(host, value);
-    }
-
-    host[name] = value;
-  }
-
-  /*
-        m = data[i++]; // num effects
-        for (j = 0; j < m; j++)
-        {
-            name = data[i++];
-            simple = data[i++];
-            value = data[i++];
-            if (simple === null)
-                value = generateMXMLArray(host, null, value, false);
-            else if (simple === false)
-                value = generateMXMLObject(host, value);
-            host[name] = value;
-        }
-      */
-
-  m = data[i++]; // num events
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    value = data[i++];
-    host.addEventListener(name, goog.bind(value, host));
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/MixinManager.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/MixinManager.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/MixinManager.js
deleted file mode 100644
index 7dd8764..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/MixinManager.js
+++ /dev/null
@@ -1,62 +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.utils.MixinManager');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBead}
- * Initialize mixins.
- * Compiler may not be generating list of mixins right now.
- */
-org.apache.flex.utils.MixinManager = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.MixinManager.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'MixinManager',
-                qName: 'org.apache.flex.utils.MixinManager'}],
-     interfaces: [org.apache.flex.core.IBead]};
-
-
-Object.defineProperties(org.apache.flex.utils.MixinManager.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.utils.MixinManager} */
-        set: function(value) {
-            this.strand_ = value;
-
-            if (value) {
-              if (typeof(value.info) == 'function') {
-                var mixins = value.info()['mixins'];
-                if (mixins) {
-                  var n = mixins.length;
-                  for (var i = 0; i < n; i++) {
-                    mixins[i].init(value);
-                  }
-                }
-              }
-            }
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/PointUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/PointUtils.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/PointUtils.js
deleted file mode 100644
index 2ed13ff..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/PointUtils.js
+++ /dev/null
@@ -1,82 +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.utils.PointUtils');
-
-goog.require('org.apache.flex.geom.Point');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.PointUtils = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.PointUtils.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PointUtils',
-                qName: 'org.apache.flex.utils.PointUtils' }] };
-
-
-/**
- * @export
- * @param {org.apache.flex.geom.Point} point The Point to be converted.
- * @param {Object} local The object used as reference.
- * @return {org.apache.flex.geom.Point} The converted Point.
- */
-org.apache.flex.utils.PointUtils.globalToLocal =
-    function(point, local) {
-  var x = point.x, y = point.y;
-  var element = local.element;
-
-  do {
-    x -= element.offsetLeft;
-    y -= element.offsetTop;
-    if (local.hasOwnProperty('parent')) {
-      local = local.parent;
-      element = local.element;
-    } else {
-      element = null;
-    }
-  }
-  while (element);
-  return new org.apache.flex.geom.Point(x, y);
-};
-
-
-/**
- * @export
- * @param {org.apache.flex.geom.Point} point The Point to be converted.
- * @param {Object} local The object used as reference.
- * @return {org.apache.flex.geom.Point} The converted Point.
- */
-org.apache.flex.utils.PointUtils.localToGlobal =
-    function(point, local) {
-  var x = point.x, y = point.y;
-  var element = local.element;
-
-  do {
-    x += element.offsetLeft;
-    y += element.offsetTop;
-    element = element.offsetParent;
-  }
-  while (element);
-  return new org.apache.flex.geom.Point(x, y);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
deleted file mode 100644
index 4c3936f..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
+++ /dev/null
@@ -1,148 +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.utils.Timer');
-
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @param {number} delay The delay.
- * @param {number=} opt_repeatCount The repeatCount.
- */
-org.apache.flex.utils.Timer = function(delay, opt_repeatCount) {
-  org.apache.flex.utils.Timer.base(this, 'constructor');
-
-  if (opt_repeatCount !== undefined) {
-    this._repeatCount = opt_repeatCount;
-  }
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this.timerInterval = -1;
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this._delay = delay;
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this._currentCount = 0;
-};
-goog.inherits(org.apache.flex.utils.Timer,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.Timer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Timer',
-                qName: 'org.apache.flex.utils.Timer'}] };
-
-
-/**
- * @export
- * Stops the timer and sets currentCount = 0.
- */
-org.apache.flex.utils.Timer.prototype.reset = function() {
-  this.stop();
-  this._currentCount = 0;
-};
-
-
-/**
- * @export
- * Stops the timer.
- */
-org.apache.flex.utils.Timer.prototype.stop = function() {
-  clearInterval(this.timerInterval);
-  this.timerInterval = -1;
-};
-
-
-/**
- * @export
- * Starts the timer.
- */
-org.apache.flex.utils.Timer.prototype.start = function() {
-  this.timerInterval =
-      setInterval(goog.bind(this.timerHandler, this), this._delay);
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.utils.Timer.prototype.timerHandler =
-    function() {
-  this._currentCount++;
-  if (this._repeatCount > 0 && this._currentCount >= this._repeatCount) {
-    this.stop();
-  }
-
-  this.dispatchEvent(new org.apache.flex.events.Event('timer'));
-
-};
-
-Object.defineProperties(org.apache.flex.utils.Timer.prototype, {
-    /** @export */
-    currentCount: {
-        /** @this {org.apache.flex.utils.Timer} */
-        get: function() {
-            return this._currentCount;
-        }
-    },
-    /** @export */
-    running: {
-        /** @this {org.apache.flex.utils.Timer} */
-        get: function() {
-            return this.timerInterval !== -1;
-        }
-    },
-    /** @export */
-    delay: {
-        /** @this {org.apache.flex.utils.Timer} */
-        get: function() {
-            return this._delay;
-        },
-        /** @this {org.apache.flex.utils.Timer} */
-        set: function(value) {
-            this._delay = value;
-        }
-    },
-    /** @export */
-    repeatCount: {
-        /** @this {org.apache.flex.utils.Timer} */
-        get: function() {
-            return this._repeatCount;
-        },
-        /** @this {org.apache.flex.utils.Timer} */
-        set: function(value) {
-            this._repeatCount = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/UIUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/UIUtils.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/UIUtils.js
deleted file mode 100644
index 93ee622..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/UIUtils.js
+++ /dev/null
@@ -1,84 +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.utils.UIUtils');
-
-goog.require('org.apache.flex.core.IPopUpHost');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.UIUtils = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.UIUtils.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'UIUtils',
-                qName: 'org.apache.flex.utils.UIUtils' }] };
-
-
-/**
- * @export
- * @param {Object} item The item to be centered.
- * @param {Object} relativeTo The object used as reference.
- */
-org.apache.flex.utils.UIUtils.center =
-    function(item, relativeTo) {
-
-  var rw = relativeTo.width;
-  if (isNaN(rw)) rw = window.innerWidth;
-  var rh = relativeTo.height;
-  if (isNaN(rh)) rh = window.innerHeight;
-
-  var xpos = (rw - item.width) / 2;
-  var ypos = (rh - item.height) / 2;
-  item.x = xpos;
-  item.y = ypos;
-};
-
-
-/**
- * @export
- * @param {Object} start A component to start the search.
- * @return {Object} A component that implements IPopUpHost.
- */
-org.apache.flex.utils.UIUtils.findPopUpHost =
-    function(start) {
-
-  while (start != null && !org.apache.flex.utils.Language.is(start, org.apache.flex.core.IPopUpHost)) {
-    start = start.parent;
-  }
-
-  return start;
-};
-
-
-/**
- * @export
- * @param {Object} popUp An IPopUpHost component looking to be removed.
- */
-org.apache.flex.utils.UIUtils.removePopUp =
-    function(popUp) {
-
-  var p = popUp.parent;
-  p.removeElement(popUp);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/ViewSourceContextMenuOption.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
deleted file mode 100644
index 934979d..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
+++ /dev/null
@@ -1,47 +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.utils.ViewSourceContextMenuOption');
-
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- */
-org.apache.flex.utils.ViewSourceContextMenuOption = function() {
-  // no implementation in JS since ViewSource is already in menu
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.ViewSourceContextMenuOption.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ViewSourceContextMenuOption',
-                qName: 'org.apache.flex.utils.ViewSourceContextMenuOption'}] };
-
-
-Object.defineProperties(org.apache.flex.utils.ViewSourceContextMenuOption.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.utils.ViewSourceContextMenuOption} */
-        set: function(value) {}
-    }
-});
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/DragDrop/js/src/org/apache/flex/events/DragEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/js/src/org/apache/flex/events/DragEvent.js b/frameworks/projects/DragDrop/js/src/org/apache/flex/events/DragEvent.js
deleted file mode 100644
index b0deee6..0000000
--- a/frameworks/projects/DragDrop/js/src/org/apache/flex/events/DragEvent.js
+++ /dev/null
@@ -1,146 +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.events.DragEvent');
-
-goog.require('goog.events.BrowserEvent');
-goog.require('org.apache.flex.events.ElementEvents');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * This is a shim class.  A native MouseEvent is actually
- * sent with additional properties like dragInitiator and
- * dragSource tacked on.
- *
- * @extends {goog.events.BrowserEvent}
- * @param {string} type The event type.
- */
-org.apache.flex.events.DragEvent = function(type) {
-  org.apache.flex.events.DragEvent.base(this, 'constructor');
-
-  this.type = type;
-};
-goog.inherits(org.apache.flex.events.DragEvent,
-    goog.events.BrowserEvent);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.DragEvent.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'DragEvent',
-                qName: 'org.apache.flex.events.DragEvent'}] };
-
-
-/**
- * @export
- * @param {string} type The event type.
- * @param {Event} e The mouse event to base the DragEvent on.
- * @return {MouseEvent} The new event.
- */
-org.apache.flex.events.DragEvent.createDragEvent =
-    function(type, e) {
-  var out = new MouseEvent(type);
-  out.initMouseEvent(type, true, true,
-    e.view, e.detail, e.screenX, e.screenY,
-    e.clientX, e.clientY, e.ctrlKey, e.altKey,
-    e.shiftKey, e.metaKey, e.button, e.relatedTarget);
-  return out;
-};
-
-
-/**
- * @export
- * @param {Event} event The drag event.
- * @param {Object} target The target for the event.
- */
-org.apache.flex.events.DragEvent.dispatchDragEvent =
-    function(event, target) {
-  target.element.dispatchEvent(event);
-};
-
-
-/**
- * @export
- * @type {string} DRAG_START The event type for starting drag-drop.
- */
-org.apache.flex.events.DragEvent.DRAG_START = 'dragStart';
-
-
-/**
- * @export
- * @type {string} DRAG_MOVE The event type when moving mouse during drag-drop.
- */
-org.apache.flex.events.DragEvent.DRAG_MOVE = 'dragMove';
-
-
-/**
- * @export
- * @type {string} DRAG_END The event type for ending drag-drop.
- */
-org.apache.flex.events.DragEvent.DRAG_END = 'dragEnd';
-
-
-/**
- * @export
- * @type {string} DRAG_ENTER The event type for entering a potential drop target.
- */
-org.apache.flex.events.DragEvent.DRAG_ENTER = 'dragEnter';
-
-
-/**
- * @export
- * @type {string} DRAG_OVER The event type for moving over a potential drop target.
- */
-org.apache.flex.events.DragEvent.DRAG_OVER = 'dragOver';
-
-
-/**
- * @export
- * @type {string} DRAG_EXIT The event type for leaving a potential drop target.
- */
-org.apache.flex.events.DragEvent.DRAG_EXIT = 'dragExit';
-
-
-/**
- * @export
- * @type {string} DRAG_DROP The event type for dropping on a target.
- */
-org.apache.flex.events.DragEvent.DRAG_DROP = 'dragDrop';
-
-
-/**
- * @return {boolean}
- */
-org.apache.flex.events.DragEvent.installDragEventMixin = function() {
-  var o = org.apache.flex.events.ElementEvents.elementEvents;
-  o['dragEnd'] = 1;
-  o['dragMove'] = 1;
-  return true;
-};
-
-
-/**
- * Add some other events to listen from the element
- */
-/**
- * @type {boolean}
- */
-org.apache.flex.events.DragEvent.dragEventMixin =
-    org.apache.flex.events.DragEvent.installDragEventMixin();

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Effects/js/src/org/apache/flex/effects/PlatformWiper.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/js/src/org/apache/flex/effects/PlatformWiper.js b/frameworks/projects/Effects/js/src/org/apache/flex/effects/PlatformWiper.js
deleted file mode 100644
index 468397b..0000000
--- a/frameworks/projects/Effects/js/src/org/apache/flex/effects/PlatformWiper.js
+++ /dev/null
@@ -1,85 +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.effects.PlatformWiper');
-
-goog.require('org.apache.flex.geom.Rectangle');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.effects.PlatformWiper = function() {
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.target_ = null;
-
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.overflow_ = null;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.effects.PlatformWiper.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PlatformWiper',
-                qName: 'org.apache.flex.effects.PlatformWiper'}] };
-
-
-Object.defineProperties(org.apache.flex.effects.PlatformWiper.prototype, {
-    /** @export */
-    target: {
-        /** @this {org.apache.flex.effects.PlatformWiper} */
-        set: function(target) {
-            if (target == null) {
-              if (this.overflow_ == null)
-                delete this.target_.positioner.style.overflow;
-              else
-                this.target_.positioner.style.overflow = this.overflow_;
-            }
-            this.target_ = target;
-            if (target != null) {
-              this.overflow_ = this.target_.positioner.style.overflow;
-            }
-        }
-    },
-    /** @export */
-    visibleRect: {
-        /** @this {org.apache.flex.effects.PlatformWiper} */
-        set: function(rect) {
-            /*
-            var styleString = 'rect(';
-            styleString += rect.top.toString() + 'px,';
-            styleString += rect.width.toString() + 'px,';
-            styleString += rect.height.toString() + 'px,';
-            styleString += rect.left.toString() + 'px)';
-            this.target_.positioner.style.clip = styleString;
-            */
-            this.target_.positioner.style.height = rect.height.toString() + 'px';
-            this.target_.positioner.style.overflow = 'hidden';
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Circle.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Circle.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Circle.js
deleted file mode 100644
index f101851..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Circle.js
+++ /dev/null
@@ -1,101 +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.core.graphics.Circle');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.Circle = function() {
-  org.apache.flex.core.graphics.Circle.base(this, 'constructor');
-
-   /**
-   * @private
-   * @type {number}
-   */
-  this.radius_ = 0;
-};
-goog.inherits(org.apache.flex.core.graphics.Circle,
-    org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.Circle.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Circle',
-                qName: 'org.apache.flex.core.graphics.Circle' }] };
-
-
-
-Object.defineProperties(org.apache.flex.core.graphics.Circle.prototype, {
-    /** @export */
-    radius: {
-        /** @this {org.apache.flex.core.graphics.Circle} */
-        set: function(v) {
-            this.radius_ = v;
-        },
-        /** @this {org.apache.flex.core.graphics.Circle} */
-        get: function() {
-            return this.radius_;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} x The x location of the center of the circle.
- * @param {number} y The y location of the center of the circle.
- * @param {number} radius The radius of the circle.
- */
-org.apache.flex.core.graphics.Circle.prototype.drawCircle = function(x, y, radius) {
-    var style = this.getStyleStr();
-    var circle = document.createElementNS('http://www.w3.org/2000/svg', 'ellipse');
-    circle.flexjs_wrapper = this;
-    circle.setAttribute('style', style);
-    if (this.stroke)
-    {
-      circle.setAttribute('cx', String(radius + this.stroke.weight));
-      circle.setAttribute('cy', String(radius + this.stroke.weight));
-      this.setPosition(x - radius, y - radius, this.stroke.weight, this.stroke.weight);
-    }
-    else
-    {
-      circle.setAttribute('cx', String(radius));
-      circle.setAttribute('cy', String(radius));
-      this.setPosition(x - radius, y - radius, 0, 0);
-    }
-
-    circle.setAttribute('rx', String(radius));
-    circle.setAttribute('ry', String(radius));
-    this.element.appendChild(circle);
-
-    this.resize(x, y, circle.getBBox());
-  };
-
-
-/**
- * @override
- */
-org.apache.flex.core.graphics.Circle.prototype.draw = function() {
-    this.drawCircle(this.x, this.y, this.radius);
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Ellipse.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Ellipse.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Ellipse.js
deleted file mode 100644
index e2337a2..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Ellipse.js
+++ /dev/null
@@ -1,80 +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.core.graphics.Ellipse');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.Ellipse = function() {
-  org.apache.flex.core.graphics.Ellipse.base(this, 'constructor');
-
-};
-goog.inherits(org.apache.flex.core.graphics.Ellipse,
-    org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.Ellipse.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Ellipse',
-                qName: 'org.apache.flex.core.graphics.Ellipse' }] };
-
-
-/**
- * @export
- * @param {number} x The x position of the top-left corner of the bounding box of the ellipse.
- * @param {number} y The y position of the top-left corner of the bounding box of the ellipse.
- * @param {number} width The width of the ellipse.
- * @param {number} height The height of the ellipse.
- */
-org.apache.flex.core.graphics.Ellipse.prototype.drawEllipse = function(x, y, width, height) {
-    var style = this.getStyleStr();
-    var ellipse = document.createElementNS('http://www.w3.org/2000/svg', 'ellipse');
-    ellipse.flexjs_wrapper = this;
-    ellipse.setAttribute('style', style);
-    if (this.stroke)
-    {
-      ellipse.setAttribute('cx', String(width / 2 + this.stroke.weight));
-      ellipse.setAttribute('cy', String(height / 2 + this.stroke.weight));
-      this.setPosition(x, y, this.stroke.weight * 2, this.stroke.weight * 2);
-    }
-    else
-    {
-      ellipse.setAttribute('cx', String(width / 2));
-      ellipse.setAttribute('cy', String(height / 2));
-      this.setPosition(x, y, 0, 0);
-    }
-    ellipse.setAttribute('rx', String(width / 2));
-    ellipse.setAttribute('ry', String(height / 2));
-    this.element.appendChild(ellipse);
-
-    this.resize(x, y, ellipse.getBBox());
-  };
-
-
-/**
- * @override
-*/
-org.apache.flex.core.graphics.Ellipse.prototype.draw = function() {
-    this.drawEllipse(this.x, this.y, this.width, this.height);
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientBase.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientBase.js
deleted file mode 100644
index 12383e6..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientBase.js
+++ /dev/null
@@ -1,141 +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.
- */
-
-/**
- * org.apache.flex.core.graphics.GradientBase
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.graphics.GradientBase');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.graphics.GradientBase = function() {
-};
-
-
-/**
- * @protected
- * @type {Array}
- */
-org.apache.flex.core.graphics.GradientBase.prototype.colors = [];
-
-
-/**
- * @protected
- * @type {Array}
- */
-org.apache.flex.core.graphics.GradientBase.prototype.ratios = [];
-
-
-/**
- * @protected
- * @type {Array}
- */
-org.apache.flex.core.graphics.GradientBase.prototype.alphas = [];
-
-
-/**
- * @type {Array}
- */
-org.apache.flex.core.graphics.GradientBase.prototype._entries = [];
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientBase.prototype._rotation = 0.0;
-
-
-Object.defineProperties(org.apache.flex.core.graphics.GradientBase.prototype, {
-    /** @export */
-    entries: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return this._entries;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        set: function(value) {
-            this._entries = value;
-        }
-    },
-    /** @export */
-    rotation: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return this._rotation;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        set: function(value) {
-            this._rotation = value;
-        }
-    },
-    /** @export */
-    x: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return this._x;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        set: function(value) {
-            this._x = value;
-        }
-    },
-    /** @export */
-    y: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        set: function(value) {
-            this._y = value;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return this._y;
-        }
-    },
-    /** @export */
-    newId: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return 'gradient' + String(Math.floor((Math.random() * 100000) + 1));
-        }
-    }
-});
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientBase.prototype._x = 0;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientBase.prototype._y = 0;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.GradientBase.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'GradientBase', qName: 'org.apache.flex.core.graphics.GradientBase'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientEntry.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientEntry.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientEntry.js
deleted file mode 100644
index 6b68af2..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientEntry.js
+++ /dev/null
@@ -1,126 +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.
- */
-
-/**
- * org.apache.flex.core.graphics.GradientEntry
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.graphics.GradientEntry');
-
-
-
-/**
- * @constructor
- * @param {number} alpha
- * @param {number} color
- * @param {number} ratio
- */
-org.apache.flex.core.graphics.GradientEntry = function(alpha, color, ratio) {
-  this._alpha = alpha;
-  this._color = color;
-  this._ratio = ratio;
-};
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientEntry.prototype._alpha = 1.0;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientEntry.prototype._color = 0x000000;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientEntry.prototype._ratio = 0x000000;
-
-
-Object.defineProperties(org.apache.flex.core.graphics.GradientEntry.prototype, {
-    /** @export */
-    alpha: {
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        get: function() {
-            return this._alpha;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        set: function(value) {
-            var /** @type {number} */ oldValue = this._alpha;
-            if (value != oldValue) {
-                this._alpha = value;
-            }
-        }
-    },
-    /** @export */
-    color: {
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        get: function() {
-            return this._color;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        set: function(value) {
-            var /** @type {number} */ oldValue = this._color;
-            if (value != oldValue) {
-              this._color = value;
-            }
-        }
-    },
-    /** @export */
-    ratio: {
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        get: function() {
-            return this._ratio;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        set: function(value) {
-            this._ratio = value;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} s
- */
-org.apache.flex.core.graphics.GradientEntry.prototype.begin = function(s) {
-  s.graphics.beginFill(this.color, this.alpha);
-};
-
-
-/**
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} s
- */
-org.apache.flex.core.graphics.GradientEntry.prototype.end = function(s) {
-  s.graphics.endFill();
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.GradientEntry.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'GradientEntry', qName: 'org.apache.flex.core.graphics.GradientEntry'}]
-  };


[12/12] git commit: [flex-asjs] [refs/heads/core_js_to_as] - fix drag/drop now that we're finally using cross-compiled version

Posted by ah...@apache.org.
fix drag/drop now that we're finally using cross-compiled version


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/09439520
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/09439520
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/09439520

Branch: refs/heads/core_js_to_as
Commit: 094395209b74ad544065e56288e382de6a8e1c95
Parents: f6166dd
Author: Alex Harui <ah...@apache.org>
Authored: Wed Dec 2 11:35:41 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Dec 2 11:35:41 2015 -0800

----------------------------------------------------------------------
 .../as/src/org/apache/flex/events/DragEvent.as  | 24 ++++++++++++++++++--
 .../beads/controllers/DropMouseController.as    | 10 +++++---
 2 files changed, 29 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/09439520/frameworks/projects/DragDrop/as/src/org/apache/flex/events/DragEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/as/src/org/apache/flex/events/DragEvent.as b/frameworks/projects/DragDrop/as/src/org/apache/flex/events/DragEvent.as
index c7dec05..7d9fefb 100644
--- a/frameworks/projects/DragDrop/as/src/org/apache/flex/events/DragEvent.as
+++ b/frameworks/projects/DragDrop/as/src/org/apache/flex/events/DragEvent.as
@@ -296,6 +296,7 @@ package org.apache.flex.events
          *  @productversion FlexJS 0.0
          *  @flexjsignorecoercion org.apache.flex.events.DragEvent
          *  @flexjsignorecoercion window.Event
+         *  @flexjsignorecoercion Event
          */
         public static function createDragEvent(type:String, event:MouseEvent):DragEvent
         {
@@ -314,7 +315,7 @@ package org.apache.flex.events
             }
             COMPILE::JS
             {
-                var out:MouseEvent = new MouseEvent(type);
+                var out:window.MouseEvent = new window.MouseEvent(type);
                 var e:window.Event = event as window.Event;
                 (out as window.Event).initMouseEvent(type, true, true,
                     e.view, e.detail, e.screenX, e.screenY,
@@ -349,5 +350,24 @@ package org.apache.flex.events
                 (target as IUIBase).element.dispatchEvent(event as window.Event);
             }
         }
-	}
+
+        /**
+         */
+        COMPILE::JS
+        private static function installDragEventMixin():Boolean 
+        {
+            var o:Object = org.apache.flex.events.ElementEvents.elementEvents;
+            o['dragEnd'] = 1;
+            o['dragMove'] = 1;
+            return true;
+        }
+        
+        
+        /**
+         * Add some other events to listen from the element
+         */
+        COMPILE::JS
+        private static var dragEventMixin:Boolean = installDragEventMixin();
+
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/09439520/frameworks/projects/DragDrop/as/src/org/apache/flex/html/beads/controllers/DropMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/as/src/org/apache/flex/html/beads/controllers/DropMouseController.as b/frameworks/projects/DragDrop/as/src/org/apache/flex/html/beads/controllers/DropMouseController.as
index 03afba6..3165241 100644
--- a/frameworks/projects/DragDrop/as/src/org/apache/flex/html/beads/controllers/DropMouseController.as
+++ b/frameworks/projects/DragDrop/as/src/org/apache/flex/html/beads/controllers/DropMouseController.as
@@ -130,6 +130,7 @@ package org.apache.flex.html.beads.controllers
         
         /**
          *  @private
+		 * @flexjsignorecoercion org.apache.flex.events.MouseEvent
          */
         private function dragMoveHandler(event:DragEvent):void
         {
@@ -137,7 +138,7 @@ package org.apache.flex.html.beads.controllers
             var dragEvent:DragEvent;
             if (!inside)
             {
-                dragEvent = DragEvent.createDragEvent("dragEnter", event);
+                dragEvent = DragEvent.createDragEvent("dragEnter", event as MouseEvent);
                 dispatchEvent(dragEvent);
                 inside = true;
                 IUIBase(_strand).topMostEventDispatcher.addEventListener(DragEvent.DRAG_END, dragEndHandler);
@@ -145,7 +146,7 @@ package org.apache.flex.html.beads.controllers
             }
             else
             {
-                dragEvent = DragEvent.createDragEvent("dragOver", event);
+                dragEvent = DragEvent.createDragEvent("dragOver", event as MouseEvent);
                 dispatchEvent(dragEvent);
             }
         }
@@ -164,12 +165,15 @@ package org.apache.flex.html.beads.controllers
             IUIBase(_strand).removeEventListener(MouseEvent.ROLL_OUT, rollOutHandler);			
         }
         
+		/**
+		 * @flexjsignorecoercion org.apache.flex.events.MouseEvent
+		 */
         private function dragEndHandler(event:DragEvent):void
         {
             trace("dragEnd");
             var dragEvent:DragEvent;
             
-            dragEvent = DragEvent.createDragEvent("dragDrop", event);
+            dragEvent = DragEvent.createDragEvent("dragDrop", event as MouseEvent);
             dispatchEvent(dragEvent);
             
             inside = false;


[08/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

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererParent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererParent.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererParent.js
deleted file mode 100644
index da62752..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererParent.js
+++ /dev/null
@@ -1,48 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IItemRendererParent');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IItemRendererParent = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IItemRendererParent.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IItemRendererParent',
-                qName: 'org.apache.flex.core.IItemRendererParent' }] };
-
-
-/**
- * @export
- * @param {number} index The selected index.
- * @return {Object} The itemRenderer at the given index.
- */
-org.apache.flex.core.IItemRendererParent.prototype.
-    getItemRendererForIndex = function(index) {
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ILayoutChild.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ILayoutChild.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ILayoutChild.js
deleted file mode 100644
index 9ab3f1d..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ILayoutChild.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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.ILayoutChild');
-
-goog.require('org.apache.flex.core.IChild');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.ILayoutChild = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ILayoutChild.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ILayoutChild',
-                qName: 'org.apache.flex.core.ILayoutChild' }],
-      interfaces: [org.apache.flex.core.IChild] };
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ILayoutHost.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ILayoutHost.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ILayoutHost.js
deleted file mode 100644
index efada4a..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ILayoutHost.js
+++ /dev/null
@@ -1,46 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.ILayoutHost');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.ILayoutHost = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ILayoutHost.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ILayoutHost',
-                qName: 'org.apache.flex.core.ILayoutHost' }] };
-
-
-Object.defineProperties(org.apache.flex.core.ILayoutHost.prototype, {
-    /** @export */
-    contentView: {
-        get: function() {}
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js
deleted file mode 100644
index 4c78c74..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js
+++ /dev/null
@@ -1,60 +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.
- */
-
-/**
- * org.apache.flex.core.IListPresentationModel
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IListPresentationModel');
-
-goog.require('org.apache.flex.core.IBead');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.events.IEventDispatcher}
- * @extends {org.apache.flex.core.IBead}
- */
-org.apache.flex.core.IListPresentationModel = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.IListPresentationModel.prototype, {
-    /** @export */
-    rowHeight: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    separatorThickness: {
-        set: function(value) {},
-        get: function() {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IListPresentationModel.prototype.FLEXJS_CLASS_INFO =
-{ names: [{ name: 'IListPresentationModel', qName: 'org.apache.flex.core.IListPresentationModel'}],
-  interfaces: [org.apache.flex.events.IEventDispatcher, org.apache.flex.core.IBead] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IMXMLDocument.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IMXMLDocument.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IMXMLDocument.js
deleted file mode 100644
index 88c76e1..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IMXMLDocument.js
+++ /dev/null
@@ -1,41 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IMXMLDocument');
-
-
-
-/**
- * IMXMLDocument
- *
- * @interface
- */
-org.apache.flex.core.IMXMLDocument = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IMXMLDocument.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IMXMLDocument',
-                qName: 'org.apache.flex.core.IMXMLDocument' }] };
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IMeasurementBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IMeasurementBead.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IMeasurementBead.js
deleted file mode 100644
index 46b58f3..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IMeasurementBead.js
+++ /dev/null
@@ -1,38 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IMeasurementBead');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IMeasurementBead = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IMeasurementBead.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IMeasurementBead',
-                qName: 'org.apache.flex.core.IMeasurementBead' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IParent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IParent.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IParent.js
deleted file mode 100644
index 8bae15a..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IParent.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.
- */
-
-/**
- * org.apache.flex.core.IParent
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IParent');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IParent = function() {
-};
-
-
-/**
- * @param {Object} c
- * @param {boolean=} opt_dispatchEvent
- */
-org.apache.flex.core.IParent.prototype.addElement = function(c, opt_dispatchEvent) {};
-
-
-/**
- * @param {Object} c
- * @param {number} index
- * @param {boolean=} opt_dispatchEvent
- */
-org.apache.flex.core.IParent.prototype.addElementAt = function(c, index, opt_dispatchEvent) {};
-
-
-/**
- * @return {number}
- * @param {Object} c
- */
-org.apache.flex.core.IParent.prototype.getElementIndex = function(c) {};
-
-
-/**
- * @param {Object} c
- * @param {boolean=} opt_dispatchEvent
- */
-org.apache.flex.core.IParent.prototype.removeElement = function(c, opt_dispatchEvent) {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IParent.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IParent', qName: 'org.apache.flex.core.IParent'}]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IParentIUIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IParentIUIBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IParentIUIBase.js
deleted file mode 100644
index 1958f94..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IParentIUIBase.js
+++ /dev/null
@@ -1,46 +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.
- */
-
-/**
- * org.apache.flex.core.IParentIUIBase
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IParentIUIBase');
-
-goog.require('org.apache.flex.core.IParent');
-goog.require('org.apache.flex.core.IUIBase');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IParentIUIBase = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IParentIUIBase.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IParentIUIBase', qName: 'org.apache.flex.core.IParentIUIBase'}],
-  interfaces: [org.apache.flex.core.IParent,
-             org.apache.flex.core.IUIBase]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IPopUpHost.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IPopUpHost.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IPopUpHost.js
deleted file mode 100644
index 2c1aaae..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IPopUpHost.js
+++ /dev/null
@@ -1,45 +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.
- */
-
-/**
- * org.apache.flex.core.IPopUpHost
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IPopUpHost');
-
-goog.require('org.apache.flex.core.IParent');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IParent}
- */
-org.apache.flex.core.IPopUpHost = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IPopUpHost.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IPopUpHost', qName: 'org.apache.flex.core.IPopUpHost'}],
-  interfaces: [org.apache.flex.core.IParent]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IRollOverModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IRollOverModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IRollOverModel.js
deleted file mode 100644
index 059b1a1..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IRollOverModel.js
+++ /dev/null
@@ -1,58 +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.
- */
-
-/**
- * org.apache.flex.core.IRollOverModel
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IRollOverModel');
-
-goog.require('org.apache.flex.core.IBeadModel');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBeadModel}
- * @extends {org.apache.flex.events.IEventDispatcher}
- */
-org.apache.flex.core.IRollOverModel =
-function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.IRollOverModel.prototype, {
-    /** @export */
-    rollOverIndex: {
-        get: function() {},
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IRollOverModel.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IRollOverModel',
-             qName: 'org.apache.flex.core.IRollOverModel'}],
-  interfaces: [org.apache.flex.core.IBead, org.apache.flex.events.IEventDispatcher]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ISelectableItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ISelectableItemRenderer.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ISelectableItemRenderer.js
deleted file mode 100644
index 611cc85..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ISelectableItemRenderer.js
+++ /dev/null
@@ -1,75 +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.
- */
-
-/**
- * org.apache.flex.core.ISelectableItemRenderer
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.ISelectableItemRenderer');
-
-goog.require('org.apache.flex.core.IItemRenderer');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.events.IEventDispatcher}
- * @extends {org.apache.flex.core.IItemRenderer}
- */
-org.apache.flex.core.ISelectableItemRenderer = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.ISelectableItemRenderer.prototype, {
-    /** @export */
-    labelField: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    index: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    selected: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    hovered: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    down: {
-        set: function(value) {},
-        get: function() {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ISelectableItemRenderer.prototype.FLEXJS_CLASS_INFO =
-{ names: [{ name: 'ISelectableItemRenderer', qName: 'org.apache.flex.core.ISelectableItemRenderer'}],
-  interfaces: [org.apache.flex.core.IItemRenderer] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ISelectionModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ISelectionModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ISelectionModel.js
deleted file mode 100644
index e3a1aad..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ISelectionModel.js
+++ /dev/null
@@ -1,65 +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.
- */
-
-/**
- * org.apache.flex.core.ISelectionModel
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.ISelectionModel');
-
-goog.require('org.apache.flex.core.IBeadModel');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.events.IEventDispatcher}
- * @extends {org.apache.flex.core.IBeadModel}
- */
-org.apache.flex.core.ISelectionModel = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.ISelectionModel.prototype, {
-    /** @export */
-    dataProvider: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    selectedIndex: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    selectedItem: {
-        set: function(value) {},
-        get: function() {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ISelectionModel.prototype.FLEXJS_CLASS_INFO =
-{ names: [{ name: 'ISelectionModel', qName: 'org.apache.flex.core.ISelectionModel'}],
-  interfaces: [org.apache.flex.events.IEventDispatcher, org.apache.flex.core.IBeadModel] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IStatesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IStatesImpl.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IStatesImpl.js
deleted file mode 100644
index c8b2bc7..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IStatesImpl.js
+++ /dev/null
@@ -1,47 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IStatesImpl');
-
-goog.require('org.apache.flex.core.IBead');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * IStatesImpl
- *
- * @interface
- * @extends {org.apache.flex.core.IBead}
- * @extends {org.apache.flex.events.IEventDispatcher}
- */
-org.apache.flex.core.IStatesImpl = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IStatesImpl.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IStatesImpl',
-                qName: 'org.apache.flex.core.IStatesImpl' }],
-      interfaces: [org.apache.flex.core.IBead,
-                   org.apache.flex.events.IEventDispatcher] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IStrand.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IStrand.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IStrand.js
deleted file mode 100644
index 28d7f90..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IStrand.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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IStrand');
-
-
-
-/**
- * IStrand
- *
- * @interface
- */
-org.apache.flex.core.IStrand = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IStrand.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IStrand',
-                qName: 'org.apache.flex.core.IStrand' }] };
-
-
-/**
- * addBead()
- *
- * @export
- * @param {org.apache.flex.core.IBead} bead The bead to add.
- */
-org.apache.flex.core.IStrand.prototype.addBead = function(bead) {};
-
-
-/**
- * getBeadByType()
- *
- * @export
- * @param {Object} classOrInterface The type of bead to look for.
- * @return {org.apache.flex.core.IBead} The bead.
- */
-org.apache.flex.core.IStrand.prototype.getBeadByType =
-    function(classOrInterface) {};
-
-
-/**
- * removeBead()
- *
- * @export
- * @param {org.apache.flex.core.IBead} bead The bead to remove.
- * @return {org.apache.flex.core.IBead} The bead that was removed.
- */
-org.apache.flex.core.IStrand.prototype.removeBead = function(bead) {};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IStyleableObject.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IStyleableObject.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IStyleableObject.js
deleted file mode 100644
index eaaf5b4..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IStyleableObject.js
+++ /dev/null
@@ -1,46 +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.
- */
-
-/**
- * org.apache.flex.core.IStyleableObject
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IStyleableObject');
-
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.events.IEventDispatcher}
- */
-org.apache.flex.core.IStyleableObject = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IStyleableObject.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IStyleableObject',
-    qName: 'org.apache.flex.core.IStyleableObject'}],
-  interfaces: [org.apache.flex.events.IEventDispatcher]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ITextModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ITextModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ITextModel.js
deleted file mode 100644
index 441c459..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ITextModel.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.
- */
-
-/**
- * org.apache.flex.core.ITextModel
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.ITextModel');
-
-goog.require('org.apache.flex.core.IBeadModel');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.events.IEventDispatcher}
- * @extends {org.apache.flex.core.IBeadModel}
- */
-org.apache.flex.core.ITextModel = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.ITextModel.prototype, {
-    /** @export */
-    text: {
-        set: function(value) {},
-        get: function() {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ITextModel.prototype.FLEXJS_CLASS_INFO =
-{ names: [{ name: 'ITextModel', qName: 'org.apache.flex.core.ITextModel'}],
-  interfaces: [org.apache.flex.events.IEventDispatcher, org.apache.flex.core.IBeadModel] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IUIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IUIBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IUIBase.js
deleted file mode 100644
index 7fd8318..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IUIBase.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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IUIBase');
-
-
-
-/**
- * IUIBase
- *
- * @interface
- */
-org.apache.flex.core.IUIBase = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IUIBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IUIBase',
-                qName: 'org.apache.flex.core.IUIBase' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IValuesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IValuesImpl.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IValuesImpl.js
deleted file mode 100644
index 0b9b68c..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IValuesImpl.js
+++ /dev/null
@@ -1,73 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IValuesImpl');
-
-
-
-/**
- * IValuesImpl
- *
- * @interface
- */
-org.apache.flex.core.IValuesImpl = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IValuesImpl.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IValuesImpl',
-                qName: 'org.apache.flex.core.IValuesImpl' }]};
-
-
-/**
- * @export
- * @param {Object} thisObject The object to fetch a value for.
- * @param {string} valueName The name of the value to fetch.
- * @param {string=} opt_state The psuedo-state if any for.
- * @param {Object=} opt_attrs The object with name value pairs that
- *                       might make a difference.
- * @return {?Object} The value.
- */
-org.apache.flex.core.IValuesImpl.prototype.getValue =
-  function(thisObject, valueName, opt_state, opt_attrs) {};
-
-
-/**
- * @export
- * @param {Object} thisObject The object to fetch a value for.
- * @param {string} valueName The name of the value to fetch.
- * @param {string=} opt_state The psuedo-state if any for.
- * @param {Object=} opt_attrs The object with name value pairs that
- *                       might make a difference.
- * @return {Object} The new instance.
- */
-org.apache.flex.core.IValuesImpl.prototype.newInstance =
-function(thisObject, valueName, opt_state, opt_attrs) {};
-
-
-/**
- * @export
- * @param {Object} mainclass The main class for the application.
- */
-org.apache.flex.core.IValuesImpl.prototype.init = function(mainclass) {};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IViewport.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IViewport.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IViewport.js
deleted file mode 100644
index 185ba62..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IViewport.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.
- */
-
-/**
- * org.apache.flex.core.IViewport
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IViewport');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBead}
- */
-org.apache.flex.core.IViewport = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IViewport.prototype.FLEXJS_CLASS_INFO =
-{ names: [{ name: 'IViewport', qName: 'org.apache.flex.core.IViewport'}],
-  interfaces: [org.apache.flex.core.IBead] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IViewportModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IViewportModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IViewportModel.js
deleted file mode 100644
index c438abc..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IViewportModel.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.
- */
-
-/**
- * org.apache.flex.core.IViewportModel
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IViewportModel');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBeadModel}
- */
-org.apache.flex.core.IViewportModel = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IViewportModel.prototype.FLEXJS_CLASS_INFO =
-{ names: [{ name: 'IViewportModel', qName: 'org.apache.flex.core.IViewportModel'}],
-  interfaces: [org.apache.flex.core.IBead] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
deleted file mode 100644
index 9d3ca0d..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
+++ /dev/null
@@ -1,96 +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.core.ItemRendererClassFactory');
-
-goog.require('org.apache.flex.core.ClassFactory');
-goog.require('org.apache.flex.core.IItemRendererClassFactory');
-goog.require('org.apache.flex.core.ValuesManager');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IItemRendererClassFactory}
- */
-org.apache.flex.core.ItemRendererClassFactory = function() {
-  /**
-   * @type {Function}
-   */
-  this.itemRendererClass = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ItemRendererClassFactory.
-    prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ItemRendererClassFactory',
-                qName: 'org.apache.flex.core.ItemRendererClassFactory'}],
-      interfaces: [org.apache.flex.core.IItemRendererClassFactory] };
-
-
-Object.defineProperties(org.apache.flex.core.ItemRendererClassFactory.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.core.ItemRendererClassFactory} */
-        set: function(value) {
-            this.strand_ = value;
-
-            // see if the _strand has an itemRenderer property that isn't empty. if that's
-            // true, use that value instead of pulling it from the the style
-            this.itemRendererClassFactory = this.strand_.itemRenderer;
-            if (this.itemRendererClassFactory) {
-              this.createFunction = this.createFromClass;
-              return;
-            }
-
-            if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-              this.itemRendererClass =
-              /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.
-                  getValue(this.strand_, 'iItemRenderer'));
-              if (this.itemRendererClass) {
-                this.itemRendererClassFactory = new org.apache.flex.core.ClassFactory(this.itemRendererClass);
-                this.createFunction = this.createFromClass;
-              }
-           }
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {Object} parent The display parent of the new item renderer.
- * @return {Object} The new item renderer.
- */
-org.apache.flex.core.ItemRendererClassFactory.
-    prototype.createItemRenderer = function(parent) {
-  return this.createFunction(parent);
-};
-
-
-/**
- * @export
- * @param {Object} parent The parent of the new item renderer.
- * @return {Object} The new item renderer.
- */
-org.apache.flex.core.ItemRendererClassFactory.
-    prototype.createFromClass = function(parent) {
-  var renderer = this.itemRendererClassFactory.newInstance();
-  return renderer;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ListBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ListBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ListBase.js
deleted file mode 100644
index 70811bf..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ListBase.js
+++ /dev/null
@@ -1,179 +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.core.ListBase');
-
-goog.require('org.apache.flex.core.IContentViewHost');
-goog.require('org.apache.flex.core.ListBaseStrandChildren');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.html.supportClasses.StringItemRenderer');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- * @implements {org.apache.flex.core.IContentViewHost}
- */
-org.apache.flex.core.ListBase = function() {
-  org.apache.flex.core.ListBase.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.selectedIndex_ = -1;
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.strandChildren_ = new org.apache.flex.core.ListBaseStrandChildren(this);
-};
-goog.inherits(org.apache.flex.core.ListBase,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ListBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ListBase',
-                qName: 'org.apache.flex.core.ListBase' }],
-      interfaces: [org.apache.flex.core.IContentViewHost] };
-
-
-/**
- * @override
- */
-org.apache.flex.core.ListBase.prototype.createElement = function() {
-  //  this.element = document.createElement('select');
-  //  goog.events.listen(this.element, 'change',
-  //      goog.bind(this.changeHandler, this));
-  this.element = document.createElement('div');
-  this.element.style.position = 'relative';
-  this.element.style.overflow = 'auto';
-  this.element.style.border = 'solid';
-  this.element.style.borderWidth = '1px';
-  this.element.style.borderColor = '#333333';
-  this.positioner = this.element;
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-/**
- * @expose
- * @return {number} The number of raw elements.
- */
-org.apache.flex.core.ListBase.prototype.$numElements = function() {
-  return this.numElements();
-};
-
-
-/**
- * @expose
- * @param {Object} c The element to add.
- * @param {boolean=} opt_dispatchEvent If true, an event is dispatched.
- */
-org.apache.flex.core.ListBase.prototype.$addElement = function(c, opt_dispatchEvent) {
-  this.addElement(c, opt_dispatchEvent);
-};
-
-
-/**
- * @expose
- * @param {Object} c The element to add.
- * @param {number} index The index of the element.
- * @param {boolean=} opt_dispatchEvent If true, an event is dispatched.
- */
-org.apache.flex.core.ListBase.prototype.$addElementAt = function(c, index, opt_dispatchEvent) {
-  this.addElementAt(c, index, opt_dispatchEvent);
-};
-
-
-/**
- * @expose
- * @param {number} index The index of the number.
- * @return {Object} The element at the given index.
- */
-org.apache.flex.core.ListBase.prototype.$getElementAt = function(index) {
-  return this.getElementAt(index);
-};
-
-
-/**
- * @expose
- * @param {Object} c The element being queried.
- * @return {number} The index of the element.
- */
-org.apache.flex.core.ListBase.prototype.$getElementIndex = function(c) {
-  return this.getElementIndex(c);
-};
-
-
-Object.defineProperties(org.apache.flex.core.ListBase.prototype, {
-    /** @export */
-    dataProvider: {
-        /** @this {org.apache.flex.core.ListBase} */
-        get: function() {
-            return this.model.dataProvider;
-        },
-        /** @this {org.apache.flex.core.ListBase} */
-        set: function(value) {
-            this.model.dataProvider = value;
-        }
-    },
-    /** @export */
-    selectedIndex: {
-        /** @this {org.apache.flex.core.ListBase} */
-        get: function() {
-            return this.model.selectedIndex;
-        },
-        /** @this {org.apache.flex.core.ListBase} */
-        set: function(value) {
-            this.model.selectedIndex = value;
-        }
-    },
-    /** @export */
-    selectedItem: {
-        /** @this {org.apache.flex.core.ListBase} */
-        get: function() {
-            return this.model.selectedItem;
-        },
-        /** @this {org.apache.flex.core.ListBase} */
-        set: function(value) {
-            this.model.selectedItem = value;
-        }
-    },
-    /** @export */
-    strandChildren: {
-        /** @this {org.apache.flex.core.ListBase} */
-        get: function() {
-             return this.strandChildren_;
-        }
-    }
-});
-
-
-/**
- * @protected
- */
-org.apache.flex.core.ListBase.prototype.changeHandler =
-    function() {
-  this.dispatchEvent('change');
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ListBaseStrandChildren.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ListBaseStrandChildren.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ListBaseStrandChildren.js
deleted file mode 100644
index ccc04a2..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ListBaseStrandChildren.js
+++ /dev/null
@@ -1,112 +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.core.ListBaseStrandChildren');
-
-goog.require('org.apache.flex.core.IParent');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IParent}
- * @param {Object} owner The base owner of this object.
- */
-org.apache.flex.core.ListBaseStrandChildren = function(owner) {
-  this.owner_ = owner;
-};
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.core.ListBaseStrandChildren.prototype.owner_ = null;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ListBaseStrandChildren.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ListBaseStrandChildren',
-                qName: 'org.apache.flex.core.ListBaseStrandChildren'}] ,
-      interfaces: [org.apache.flex.core.IParent]};
-
-
-/**
- * @export
- * @return {number} The number of non-content children elements
- */
-org.apache.flex.core.ListBaseStrandChildren.prototype.numElements =
-  function() {
-  return this.owner_.$numElements();
-};
-
-
-/**
- * @export
- * @param {Object} c The element to be added.
- * @param {boolean=} opt_dispatchEvent Whether or not to dispatch an event.
- */
-org.apache.flex.core.ListBaseStrandChildren.prototype.addElement =
-  function(c, opt_dispatchEvent) {
-  this.owner_.$addElement(c, opt_dispatchEvent);
-};
-
-
-/**
- * @export
- * @param {Object} c The element to be added.
- * @param {number} index The index of the new element.
- * @param {boolean=} opt_dispatchEvent Whether or not to dispatch an event.
- */
-org.apache.flex.core.ListBaseStrandChildren.prototype.addElementAt =
-  function(c, index, opt_dispatchEvent) {
-  this.owner_.$addElementAt(c, index, opt_dispatchEvent);
-};
-
-
-/**
- * @export
- * @param {Object} c The element to be removed.
- * @param {boolean=} opt_dispatchEvent Whether or not to dispatch an event.
- */
-org.apache.flex.core.ListBaseStrandChildren.prototype.removeElement =
-  function(c, opt_dispatchEvent) {
-  this.owner_.$removeElement(c, opt_dispatchEvent);
-};
-
-
-/**
- * @export
- * @param {number} index The index of the element sought.
- * @return {Object} The element at the given index.
- */
-org.apache.flex.core.ListBaseStrandChildren.prototype.getElementAt =
-  function(index) {
-  return this.owner_.$getElementAt(index);
-};
-
-
-/**
- * @export
- * @param {Object} c The element in question.
- * @return {number} The index of the element.
- */
-org.apache.flex.core.ListBaseStrandChildren.prototype.getElementIndex =
-  function(c) {
-  return this.owner_.$getElementIndex(c);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleApplication.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleApplication.js b/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleApplication.js
deleted file mode 100644
index 545355f..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleApplication.js
+++ /dev/null
@@ -1,49 +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.core.SimpleApplication');
-
-goog.require('org.apache.flex.core.HTMLElementWrapper');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.HTMLElementWrapper}
- */
-org.apache.flex.core.SimpleApplication = function() {
-  org.apache.flex.core.SimpleApplication.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.core.SimpleApplication,
-    org.apache.flex.core.HTMLElementWrapper);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.SimpleApplication.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SimpleApplication',
-                qName: 'org.apache.flex.core.SimpleApplication' }] };
-
-
-/**
- * @export
- */
-org.apache.flex.core.SimpleApplication.prototype.start = function() {
-  this.element = document.getElementsByTagName('body')[0];
-  this.element.flexjs_wrapper = this;
-  this.element.className = 'SimpleApplication';
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleCSSValuesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleCSSValuesImpl.js b/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleCSSValuesImpl.js
deleted file mode 100644
index bcfed03..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleCSSValuesImpl.js
+++ /dev/null
@@ -1,361 +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.core.SimpleCSSValuesImpl');
-
-goog.require('org.apache.flex.core.IValuesImpl');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IValuesImpl};
- */
-org.apache.flex.core.SimpleCSSValuesImpl = function() {
-};
-
-
-/**
- * @type {string}
- */
-org.apache.flex.core.SimpleCSSValuesImpl.GLOBAL_SELECTOR = 'global';
-
-
-/**
- * @type {string}
- */
-org.apache.flex.core.SimpleCSSValuesImpl.UNIVERSAL_SELECTOR = '*';
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.SimpleCSSValuesImpl.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SimpleCSSValuesImpl',
-               qName: 'org.apache.flex.core.SimpleCSSValuesImpl'}],
-    interfaces: [org.apache.flex.core.IValuesImpl]};
-
-
-/**
- * @param {Object} thisObject The object to fetch a value for.
- * @param {string} valueName The name of the value to fetch.
- * @param {string=} opt_state The psuedo-state if any for.
- * @param {Object=} opt_attrs The object with name value pairs that
- *                       might make a difference.
- * @return {Object} The value.
- */
-org.apache.flex.core.SimpleCSSValuesImpl.prototype.getValue =
-    function(thisObject, valueName, opt_state, opt_attrs) {
-  var c = valueName.indexOf('-');
-  while (c != -1)
-  {
-    valueName = valueName.substr(0, c) +
-        valueName.charAt(c + 1).toUpperCase() +
-        valueName.substr(c + 2);
-    c = valueName.indexOf('-');
-  }
-
-  var values = this.values;
-  var value;
-  var o;
-  var cName;
-  var selectorName;
-
-  try {
-    var style = thisObject.style;
-    if (style != null) {
-      value = style[valueName];
-      if (value !== undefined)
-        return value;
-    }
-  }
-  catch (e) {}
-
-  if ('className' in thisObject)
-  {
-    cName = thisObject.className;
-    if (opt_state)
-    {
-      selectorName = cName + ':' + opt_state;
-      o = values['.' + selectorName];
-      if (o)
-      {
-        value = o[valueName];
-        if (value !== undefined)
-          return value;
-      }
-    }
-
-    o = values['.' + cName];
-    if (o)
-    {
-      value = o[valueName];
-      if (value !== undefined)
-        return value;
-    }
-  }
-
-  cName = thisObject.FLEXJS_CLASS_INFO.names[0].qName;
-  if (opt_state)
-  {
-    selectorName = cName + ':' + opt_state;
-    o = values['.' + selectorName];
-    if (o)
-    {
-      value = o[valueName];
-      if (value !== undefined)
-        return value;
-    }
-  }
-
-  o = values['.' + cName];
-  if (o)
-  {
-    value = o[valueName];
-    if (value !== undefined)
-      return value;
-  }
-
-  while (cName != 'Object')
-  {
-    if (opt_state)
-    {
-      selectorName = cName + ':' + opt_state;
-      o = values[selectorName];
-      if (o)
-      {
-        value = o[valueName];
-        if (value !== undefined)
-          return value;
-      }
-    }
-
-    o = values[cName];
-    if (o)
-    {
-      value = o[valueName];
-      if (value !== undefined)
-        return value;
-    }
-    thisObject = thisObject.constructor.superClass_;
-    if (!thisObject || !thisObject.FLEXJS_CLASS_INFO)
-      break;
-
-    cName = thisObject.FLEXJS_CLASS_INFO.names[0].qName;
-  }
-  o = values[org.apache.flex.core.SimpleCSSValuesImpl.GLOBAL_SELECTOR];
-  if (o)
-    return o[valueName];
-  o = values[org.apache.flex.core.SimpleCSSValuesImpl.UNIVERSAL_SELECTOR];
-  if (o)
-    return o[valueName];
-  return undefined;
-};
-
-
-/**
- * @param {Object} thisObject The object to fetch a value for.
- * @param {string} valueName The name of the value to fetch.
- * @param {string=} opt_state The psuedo-state if any for.
- * @param {Object=} opt_attrs The object with name value pairs that
- *                       might make a difference.
- * @return {Object} The value.
- * @suppress {checkTypes}
- */
-org.apache.flex.core.SimpleCSSValuesImpl.prototype.newInstance =
-function(thisObject, valueName, opt_state, opt_attrs) {
-  var f = this.getValue(thisObject, valueName, opt_state, opt_attrs);
-  if (f)
-    return new f();
-  return null;
-};
-
-
-/**
- * @param {Object} mainclass The main class for the application.
- */
-org.apache.flex.core.SimpleCSSValuesImpl.prototype.init = function(mainclass) {
-  var cssData = mainclass.cssData;
-  var values = this.values;
-  if (values == null)
-    values = {};
-
-  if (cssData) {
-    var n = cssData.length;
-    var i = 0;
-    while (i < n)
-    {
-      var numMQ = cssData[i++];
-      if (numMQ > 0)
-      {
-        // skip MediaQuery tests for now
-        i += numMQ;
-      }
-      var numSel = cssData[i++];
-      var props = {};
-      for (var j = 0; j < numSel; j++)
-      {
-        var selName = cssData[i++];
-        if (values[selName])
-          props = values[selName];
-        values[selName] = props;
-      }
-      var numProps = cssData[i++];
-      for (j = 0; j < numProps; j++)
-      {
-        var propName = cssData[i++];
-        var propValue = cssData[i++];
-        props[propName] = propValue;
-      }
-    }
-  }
-
-  this.values = values;
-};
-
-
-/**
- * @param {string} styles The styles as HTML style syntax.
- * @return {Object} The styles object.
- */
-org.apache.flex.core.SimpleCSSValuesImpl.prototype.parseStyles = function(styles) {
-  var obj = {};
-  var parts = styles.split(';');
-  var l = parts.length;
-  for (var i = 0; i < l; i++) {
-    var part = parts[i];
-    var pieces = part.split(':');
-    var value = pieces[1];
-    if (value == 'null')
-      obj[pieces[0]] = null;
-    else if (value == 'true')
-      obj[pieces[0]] = true;
-    else if (value == 'false')
-      obj[pieces[0]] = false;
-    else {
-      var n = Number(value);
-      if (isNaN(n)) {
-        if (value.indexOf("'") === 0)
-          value = value.substring(1, value.length - 1);
-        obj[pieces[0]] = value;
-      }
-      else
-        obj[pieces[0]] = n;
-    }
-  }
-  return obj;
-};
-
-
-/**
- * @param {string} ruleName The name of the rule.
- * @param {Object} values The styles object.
- */
-org.apache.flex.core.SimpleCSSValuesImpl.prototype.addRule = function(ruleName, values) {
-  var v;
-  var asValues = {};
-  for (var valueName in values) {
-    v = values[valueName];
-    var c = valueName.indexOf('-');
-    while (c != -1)
-    {
-      valueName = valueName.substr(0, c) +
-        valueName.charAt(c + 1).toUpperCase() +
-        valueName.substr(c + 2);
-      c = valueName.indexOf('-');
-    }
-    asValues[valueName] = v;
-  }
-  this.values[ruleName] = asValues;
-
-  var s = '{';
-  for (var p in values) {
-    v = values[p];
-    if (typeof(v) === 'number')
-      v = v.toString() + 'px';
-    s += p + ':' + v + ';';
-  }
-  s += '}';
-  s = ruleName + ' ' + s;
-  var sheet = document.styleSheets[0];
-  sheet.insertRule(s, 0);
-};
-
-
-/**
- * The styles that apply to each UI widget
- */
-org.apache.flex.core.SimpleCSSValuesImpl.perInstanceStyles = {
-   'backgroundColor': 1,
-   'backgroundImage': 1,
-   'color': 1,
-   'fontFamily': 1,
-   'fontWeight': 1,
-   'fontSize': 1,
-   'fontStyle': 1
-};
-
-
-/**
- * The styles that use color format #RRGGBB
- */
-org.apache.flex.core.SimpleCSSValuesImpl.colorStyles = {
-   'backgroundColor': 1,
-   'borderColor': 1,
-   'color': 1
-};
-
-
-/**
- * The properties that enumerate that we skip
- */
-org.apache.flex.core.SimpleCSSValuesImpl.skipStyles = {
-   'constructor': 1
-};
-
-
-/**
- * @param {Object} thisObject The object to apply styles to;
- * @param {Object} styles The styles.
- */
-org.apache.flex.core.SimpleCSSValuesImpl.prototype.applyStyles =
-    function(thisObject, styles) {
-  var styleList = org.apache.flex.core.SimpleCSSValuesImpl.perInstanceStyles;
-  var colorStyles = org.apache.flex.core.SimpleCSSValuesImpl.colorStyles;
-  var skipStyles = org.apache.flex.core.SimpleCSSValuesImpl.skipStyles;
-  var listObj = styles;
-  if (styles.styleList)
-    listObj = styles.styleList;
-  for (var p in listObj) {
-    //if (styleList[p])
-    if (skipStyles[p])
-      continue;
-    var value = styles[p];
-    if (value === undefined)
-      continue;
-    if (typeof(value) == 'number') {
-      if (colorStyles[p])
-        value = '#' + value.toString(16);
-      else
-        value = value.toString() + 'px';
-    }
-    else if (p == 'backgroundImage') {
-      if (p.indexOf('url') !== 0)
-        value = 'url(' + value + ')';
-    }
-    thisObject.element.style[p] = value;
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js b/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
deleted file mode 100644
index 2964f77..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
+++ /dev/null
@@ -1,221 +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.core.SimpleStatesImpl');
-
-goog.require('org.apache.flex.core.IBead');
-goog.require('org.apache.flex.core.IStatesImpl');
-goog.require('org.apache.flex.core.IStrand');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.EventDispatcher');
-goog.require('org.apache.flex.events.ValueChangeEvent');
-goog.require('org.apache.flex.states.AddItems');
-goog.require('org.apache.flex.states.SetEventHandler');
-goog.require('org.apache.flex.states.SetProperty');
-goog.require('org.apache.flex.states.State');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @implements {org.apache.flex.core.IBead}
- * @implements {org.apache.flex.core.IStatesImpl}
- */
-org.apache.flex.core.SimpleStatesImpl = function() {
-  org.apache.flex.core.SimpleStatesImpl.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {org.apache.flex.core.IStrand}
-   */
-  this.strand_ = null;
-};
-goog.inherits(org.apache.flex.core.SimpleStatesImpl,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.SimpleStatesImpl.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SimpleStatesImpl',
-                qName: 'org.apache.flex.core.SimpleStatesImpl' }],
-      interfaces: [org.apache.flex.core.IBead,
-                   org.apache.flex.core.IStatesImpl] };
-
-
-Object.defineProperties(org.apache.flex.core.SimpleStatesImpl.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.core.SimpleStatesImpl} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              if (this.strand_.addEventListener) {
-                this.strand_.addEventListener('currentStateChange',
-                goog.bind(this.stateChangeHandler_, this));
-                    this.strand_.addEventListener('initComplete',
-                goog.bind(this.initialStateHandler_, this));
-              }
-            }
-        }
-    }
-});
-
-
-/**
- * @private
- * @param {Object} event The event.
- */
-org.apache.flex.core.SimpleStatesImpl.prototype.initialStateHandler_ =
-    function(event) {
-    /**
-     *  @type {Object}
-    **/
-    var host = this.strand_;
-    this.dispatchEvent(new org.apache.flex.events.ValueChangeEvent('currentStateChange',
-        false, false, null,
-        host.currentState));
-  };
-
-
-/**
- * @private
- * @param {Object} event The event.
- */
-org.apache.flex.core.SimpleStatesImpl.prototype.stateChangeHandler_ =
-    function(event) {
-  var arr, doc, p, s;
-
-  doc = event.target;
-  arr = doc.states;
-  for (p in arr) {
-    s = arr[p];
-    if (s.name === event.oldValue) {
-      this.revert_(s);
-      break;
-    }
-  }
-
-  for (p in arr) {
-    s = arr[p];
-    if (s.name === event.newValue) {
-      this.apply_(s);
-      break;
-    }
-  }
-};
-
-
-/**
- * @private
- * @param {org.apache.flex.states.State} s The State to revert.
- */
-org.apache.flex.core.SimpleStatesImpl.prototype.revert_ = function(s) {
-  var arr, item, o, p, q, target;
-  /**
-   * @type {org.apache.flex.core.UIBase}
-   */
-  var parent;
-  arr = s.overrides;
-  for (p in arr) {
-    o = arr[p];
-    if (org.apache.flex.utils.Language.is(o, org.apache.flex.states.AddItems)) {
-      for (q in o.items) {
-        item = o.items[q];
-
-        parent = o.document;
-        if (o.destination) {
-          parent = o.document[o.destination];
-        }
-
-        parent.removeElement(item);
-        parent.dispatchEvent(
-            new org.apache.flex.events.Event('childrenAdded'));
-      }
-    } else if (org.apache.flex.utils.Language.is(o, org.apache.flex.states.SetProperty)) {
-      target = o.document[o.target];
-      target[o.name] = o.previousValue;
-    } else if (org.apache.flex.utils.Language.is(o, org.apache.flex.states.SetEventHandler)) {
-      target = o.document[o.target];
-      target.removeEventListener(o.name, o.handlerFunction);
-    }
-  }
-};
-
-
-/**
- * @private
- * @param {org.apache.flex.states.State} s The State to apply.
- */
-org.apache.flex.core.SimpleStatesImpl.prototype.apply_ = function(s) {
-  var arr, child, index, item, o, p, q, target;
-  /**
-   * type {org.apache.flex.core.UIBase}
-   */
-  var parent;
-  arr = s.overrides;
-  for (p in arr) {
-    o = arr[p];
-    if (org.apache.flex.utils.Language.is(o, org.apache.flex.states.AddItems)) {
-      if (!o.items) {
-        o.items = o.itemsDescriptor.items;
-        if (o.items == null) {
-          o.items =
-              org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray(o.document,
-                                    null, o.itemsDescriptor.descriptor);
-          o.itemsDescriptor.items = o.items;
-        }
-      }
-
-      for (q in o.items) {
-        item = o.items[q];
-
-        parent = o.document;
-        if (o.destination) {
-          parent = o.document[o.destination];
-        }
-
-        if (o.relativeTo) {
-          child = o.document[o.relativeTo];
-
-          index = parent.getElementIndex(child);
-          if (o.position === 'after') {
-            index++;
-          }
-
-          parent.addElementAt(item, index);
-        } else {
-          parent.addElement(item);
-        }
-
-        parent.dispatchEvent(
-            new org.apache.flex.events.Event('childrenAdded'));
-      }
-    }
-    else if (org.apache.flex.utils.Language.is(o, org.apache.flex.states.SetProperty))
-    {
-      target = o.document[o.target];
-      o.previousValue = target[o.name];
-      target[o.name] = o.value;
-    } else if (org.apache.flex.utils.Language.is(o, org.apache.flex.states.SetEventHandler)) {
-      target = o.document[o.target];
-      target.addEventListener(o.name, o.handlerFunction);
-    }
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleValuesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleValuesImpl.js b/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleValuesImpl.js
deleted file mode 100644
index aef2a83..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleValuesImpl.js
+++ /dev/null
@@ -1,33 +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.core.SimpleValuesImpl');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.SimpleValuesImpl = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.SimpleValuesImpl.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SimpleValuesImpl',
-                qName: 'org.apache.flex.core.SimpleValuesImpl' }] };


[07/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

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
deleted file mode 100644
index a0345a8..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
+++ /dev/null
@@ -1,872 +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.core.UIBase');
-
-goog.require('org.apache.flex.core.HTMLElementWrapper');
-goog.require('org.apache.flex.core.IBeadController');
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.IBeadModel');
-goog.require('org.apache.flex.core.IBeadView');
-goog.require('org.apache.flex.core.ILayoutChild');
-goog.require('org.apache.flex.core.IParentIUIBase');
-goog.require('org.apache.flex.core.IStyleableObject');
-goog.require('org.apache.flex.core.IUIBase');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.events.ValueChangeEvent');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IUIBase}
- * @implements {org.apache.flex.core.ILayoutChild}
- * @implements {org.apache.flex.core.IParentIUIBase}
- * @extends {org.apache.flex.core.HTMLElementWrapper}
- */
-org.apache.flex.core.UIBase = function() {
-  org.apache.flex.core.UIBase.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.lastDisplay_ = '';
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.explicitWidth_ = NaN;
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.explicitHeight_ = NaN;
-
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.percentWidth_ = NaN;
-
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.percentHeight_ = NaN;
-
-  /**
-   * @private
-   * @type {Array.<Object>}
-   */
-  this.mxmlBeads_ = null;
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.style_ = null;
-
-  /**
-   * @private
-   * @type {?string}
-   */
-  this.id_ = null;
-
-  /**
-   * @private
-   * @type {?string}
-   */
-  this.className_ = '';
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.model_ = null;
-
-  this.createElement();
-};
-goog.inherits(org.apache.flex.core.UIBase,
-    org.apache.flex.core.HTMLElementWrapper);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.UIBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'UIBase',
-                qName: 'org.apache.flex.core.UIBase' }],
-      interfaces: [org.apache.flex.core.IUIBase,
-                   org.apache.flex.core.IParentIUIBase,
-                   org.apache.flex.core.ILayoutChild,
-                   org.apache.flex.core.IStyleableObject] };
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.core.UIBase.prototype.positioner = null;
-
-
-/**
- * @return {Object} The array of children.
- */
-org.apache.flex.core.UIBase.prototype.internalChildren =
-    function() {
-  return this.element.childNodes;
-};
-
-
-/**
- * @protected
- * @return {Object} The actual element to be parented.
- */
-org.apache.flex.core.UIBase.prototype.createElement = function() {
-  if (this.element == null)
-    this.element = document.createElement('div');
-  if (this.positioner == null)
-    this.positioner = this.element;
-  this.positioner.style.display = 'block';
-  this.positioner.style.position = 'relative';
-
-  this.element.flexjs_wrapper = this;
-
-  return this.positioner;
-};
-
-
-/**
- * @protected
- * @type {?function()}
- */
-org.apache.flex.core.UIBase.prototype.finalizeElement = null;
-
-
-/**
- * @param {Object} c The child element.
- * @param {boolean=} opt_dispatchEvent Use 'false' to skip sending a childrenAdded event.
- */
-org.apache.flex.core.UIBase.prototype.addElement = function(c, opt_dispatchEvent) {
-  this.element.appendChild(c.positioner);
-  c.addedToParent();
-};
-
-
-/**
- * @param {Object} c The child element.
- * @param {number} index The index.
- * @param {boolean=} opt_dispatchEvent Use 'false' to skip sending a childrenAdded event.
- */
-org.apache.flex.core.UIBase.prototype.addElementAt = function(c, index, opt_dispatchEvent) {
-  var children = this.internalChildren();
-  if (index >= children.length)
-    this.addElement(c);
-  else
-  {
-    this.element.insertBefore(c.positioner,
-        children[index]);
-    c.addedToParent();
-  }
-};
-
-
-/**
- * @param {number} index The index in parent.
- * @return {Object} The child element.
- */
-org.apache.flex.core.UIBase.prototype.getElementAt = function(index) {
-  var children = this.internalChildren();
-  return children[index].flexjs_wrapper;
-};
-
-
-/**
- * @param {Object} c The child element.
- * @return {number} The index in parent.
- */
-org.apache.flex.core.UIBase.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;
-};
-
-
-/**
- * @param {Object} c The child element.
- */
-org.apache.flex.core.UIBase.prototype.removeElement = function(c) {
-  this.element.removeChild(c.element);
-};
-
-
-/**
- */
-org.apache.flex.core.UIBase.prototype.addedToParent = function() {
-  var s, value;
-  var styles = this.style;
-  if (styles)
-    org.apache.flex.core.ValuesManager.valuesImpl.applyStyles(this, styles);
-
-  if (isNaN(this.explicitWidth_) && isNaN(this.percentWidth_)) {
-    value = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'width');
-    if (value !== undefined) {
-      if (typeof(value) === 'string') {
-        s = value;
-        if (s.indexOf('%') != -1)
-          this.percentWidth_ = Number(s.substring(0, s.length - 1));
-        else {
-          if (s.indexOf('px') != -1)
-             s = s.substring(0, s.length - 2);
-          this.width_ = this.explicitWidth_ = Number(s);
-        }
-      }
-      else
-        this.width_ = this.explicitWidth_ = value;
-    }
-  }
-
-  if (isNaN(this.explicitHeight_) && isNaN(this.percentHeight_)) {
-    value = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'height');
-    if (value !== undefined) {
-      if (typeof(value) === 'string') {
-        s = value;
-        if (s.indexOf('%') != -1)
-          this.percentHeight_ = Number(s.substring(0, s.length - 1));
-        else {
-          if (s.indexOf('px') != -1)
-            s = s.substring(0, s.length - 2);
-          this.height_ = this.explicitHeight_ = Number(s);
-        }
-      }
-      else
-        this.height_ = this.explicitHeight_ = value;
-    }
-  }
-
-  if (this.mxmlBeads_) {
-    var n = this.mxmlBeads_.length;
-    for (var i = 0; i < n; i++) {
-      this.addBead(this.mxmlBeads_[i]);
-    }
-  }
-
-  /**
-   * @type {Function}
-   */
-  var c;
-  if (this.getBeadByType(org.apache.flex.core.IBeadModel) == null)
-  {
-    if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-      c = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.
-          getValue(this, 'iBeadModel'));
-      if (c)
-      {
-        var model = new c();
-        if (model)
-          this.addBead(model);
-      }
-    }
-  }
-  if (this.view_ == null && this.getBeadByType(org.apache.flex.core.IBeadView) == null)
-  {
-    if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-      c = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.
-          getValue(this, 'iBeadView'));
-      if (c)
-      {
-        var view = new c();
-        if (view) {
-          this.view_ = view;
-          this.addBead(view);
-        }
-      }
-    }
-  }
-  if (this.getBeadByType(org.apache.flex.core.IBeadLayout) == null)
-  {
-    if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-      c = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.
-          getValue(this, 'iBeadLayout'));
-      if (c)
-      {
-        var layout = new c();
-        if (layout)
-          this.addBead(layout);
-      }
-    }
-  }
-  if (this.getBeadByType(org.apache.flex.core.IBeadController) == null)
-  {
-    if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-      c = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.
-          getValue(this, 'iBeadController'));
-      if (c)
-      {
-        var controller = new c();
-        if (controller)
-          this.addBead(controller);
-      }
-    }
-  }
-
-  this.dispatchEvent(new org.apache.flex.events.Event('beadsAdded'));
-};
-
-
-/**
- * @param {Object} bead The bead to be added.
- */
-org.apache.flex.core.UIBase.prototype.addBead = function(bead) {
-  if (!this._beads) {
-    this._beads = [];
-  }
-  this._beads.push(bead);
-
-  if (org.apache.flex.utils.Language.is(bead, org.apache.flex.core.IBeadModel))
-    this.model_ = bead;
-
-  if (org.apache.flex.utils.Language.is(bead, org.apache.flex.core.IBeadView)) {
-    this.view_ = bead;
-    this.dispatchEvent(new org.apache.flex.events.Event('viewChanged'));
-  }
-
-  bead.strand = this;
-};
-
-
-/**
- * @param {Object} classOrInterface A type or interface.
- * @return {Object} The bead of the given type or null.
- */
-org.apache.flex.core.UIBase.prototype.getBeadByType =
-    function(classOrInterface) {
-  if (!this._beads) {
-    this._beads = [];
-  }
-  for (var i = 0; i < this._beads.length; i++) {
-    var bead = this._beads[i];
-    if (org.apache.flex.utils.Language.is(bead, classOrInterface)) {
-      return bead;
-    }
-  }
-  return null;
-};
-
-
-/**
- * @param {Object} value The bead to be removed.
- * @return {Object} The bead that was removed.
- */
-org.apache.flex.core.UIBase.prototype.removeBead =
-    function(value) {
-  if (!this._beads) return null;
-  var n = this._beads.length;
-  for (var i = 0; i < n; i++) {
-    var bead = this._beads[i];
-    if (bead == value) {
-      this._beads.splice(i, 1);
-      return bead;
-    }
-  }
-
-  return null;
-};
-
-
-Object.defineProperties(org.apache.flex.core.UIBase.prototype, {
-    /** @export */
-    beads: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(value) {
-            this.mxmlBeads_ = value;
-        }
-    },
-    /** @export */
-    numElements: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var children = this.internalChildren();
-            return children.length;
-        }
-    },
-    /** @export */
-    parent: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var p = this.positioner.parentNode;
-            var wrapper = p ? p.flexjs_wrapper : null;
-            return wrapper;
-        }
-    },
-    /** @export */
-    alpha: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(alpha) {
-            this.positioner.style.opacity = alpha;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var stralpha = this.positioner.style.opacity;
-            var alpha = parseFloat(stralpha);
-            return alpha;
-        }
-    },
-    /** @export */
-    x: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(pixels) {
-            this.positioner.style.position = 'absolute';
-            this.positioner.style.left = pixels.toString() + 'px';
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var strpixels = this.positioner.style.left;
-            var pixels = parseFloat(strpixels);
-            if (isNaN(pixels))
-              pixels = this.positioner.offsetLeft;
-            return pixels;
-        }
-    },
-    /** @export */
-    y: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(pixels) {
-            this.positioner.style.position = 'absolute';
-            this.positioner.style.top = pixels.toString() + 'px';
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var strpixels = this.positioner.style.top;
-            var pixels = parseFloat(strpixels);
-            if (isNaN(pixels))
-              pixels = this.positioner.offsetTop;
-            return pixels;
-        }
-    },
-    /** @export */
-    clientWidth: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.positioner.clientWidth;
-        }
-    },
-    /** @export */
-    CSSWidth: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var pixels;
-            var strpixels = this.positioner.style.width;
-            if (strpixels !== null && strpixels.indexOf('%') != -1)
-              pixels = NaN;
-            else
-              pixels = parseFloat(strpixels);
-            return pixels;
-        }
-    },
-    /** @export */
-    width: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(pixels) {
-            this.explicitWidth = pixels;
-            this.setWidth(pixels);
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var pixels;
-            var strpixels = this.positioner.style.width;
-            if (strpixels !== null && strpixels.indexOf('%') != -1)
-              pixels = NaN;
-            else
-              pixels = parseFloat(strpixels);
-            if (isNaN(pixels)) {
-              pixels = this.positioner.offsetWidth;
-              if (pixels === 0 && this.positioner.scrollWidth !== 0) {
-                // invisible child elements cause offsetWidth to be 0.
-                pixels = this.positioner.scrollWidth;
-              }
-            }
-            return pixels;
-        }
-    },
-    /** @export */
-    explicitWidth: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(pixels) {
-            this.explicitWidth_ = pixels;
-            if (!isNaN(pixels))
-              this.percentWidth_ = NaN;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.explicitWidth_;
-        }
-    },
-    /** @export */
-    percentWidth: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(pixels) {
-            this.percentWidth_ = pixels;
-            this.positioner.style.width = pixels.toString() + '%';
-            if (!isNaN(pixels))
-              this.explicitWidth_ = NaN;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.percentWidth_;
-        }
-    },
-    /** @export */
-    clientHeight: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.positioner.clientHeight;
-        }
-    },
-    /** @export */
-    CSSHeight: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var pixels;
-            var strpixels = this.positioner.style.height;
-            if (strpixels !== null && strpixels.indexOf('%') != -1)
-              pixels = NaN;
-            else
-              pixels = parseFloat(strpixels);
-            return pixels;
-        }
-    },
-    /** @export */
-    height: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(pixels) {
-            this.explicitHeight = pixels;
-            this.setHeight(pixels);
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            var pixels;
-            var strpixels = this.positioner.style.height;
-            if (strpixels !== null && strpixels.indexOf('%') != -1)
-              pixels = NaN;
-            else
-              pixels = parseFloat(strpixels);
-            if (isNaN(pixels)) {
-              pixels = this.positioner.offsetHeight;
-              if (pixels === 0 && this.positioner.scrollHeight !== 0) {
-                // invisible child elements cause offsetHeight to be 0.
-                pixels = this.positioner.scrollHeight;
-              }
-            }
-            return pixels;
-        }
-    },
-    /** @export */
-    explicitHeight: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(pixels) {
-            this.explicitHeight_ = pixels;
-            if (!isNaN(pixels))
-                this.percentHeight_ = NaN;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.explicitHeight_;
-        }
-    },
-    /** @export */
-    percentHeight: {
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(pixels) {
-            this.percentHeight_ = pixels;
-            this.positioner.style.height = pixels.toString() + '%';
-            if (!isNaN(pixels))
-              this.explicitHeight_ = NaN;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.percentHeight_;
-        }
-    },
-    /** @export */
-    id: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.id_;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(value) {
-            if (this.id_ !== value) {
-              this.element.id = value;
-              this.id_ = value;
-              this.dispatchEvent('idChanged');
-            }
-        }
-    },
-    /** @export */
-    className: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.className_;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(value) {
-            if (this.className_ !== value) {
-              this.element.className = this.typeNames ? value + ' ' + this.typeNames : value;
-              this.className_ = value;
-              this.dispatchEvent('classNameChanged');
-            }
-        }
-    },
-    /** @export */
-    model: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            if (this.model_ == null) {
-              // addbead will set _model
-              if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-                /**
-                 * @type {Function}
-                 */
-                var m = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.
-                    getValue(this, 'iBeadModel'));
-                var b = new m();
-                this.addBead(b);
-              }
-            }
-            return this.model_;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(value) {
-            if (this.model_ !== value) {
-              this.addBead(value);
-              this.dispatchEvent('modelChanged');
-            }
-        }
-    },
-    /** @export */
-    style: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.style_;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(value) {
-            if (this.style_ !== value) {
-              if (typeof(value) == 'string')
-                value = org.apache.flex.core.ValuesManager.valuesImpl.parseStyles(value);
-              this.style_ = value;
-              if (value.addEventListener)
-                value.addEventListener(org.apache.flex.events.ValueChangeEvent.VALUE_CHANGE,
-                    goog.bind(this.styleChangeHandler, this));
-              this.dispatchEvent('stylesChanged');
-            }
-        }
-    },
-    /** @export */
-    view: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            if (this.view_ == null) {
-                /**
-                 * @type {Function}
-                 */
-                var v = /** @type {Function} */(org.apache.flex.core.ValuesManager.valuesImpl.
-                        getValue(this, 'iBeadView'));
-                this.view_ = new v();
-                this.addBead(this.view_);
-            }
-            return this.view_;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(value) {
-            if (this.view_ != value) {
-                this.view_ = value;
-                this.addBead(value);
-            }
-        }
-    },
-    /** @export */
-    visible: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this.positioner.style.display !== 'none';
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(value) {
-            var oldValue = this.positioner.style.display !== 'none';
-            if (value !== oldValue) {
-              if (!value) {
-                this.lastDisplay_ = this.positioner.style.display;
-                this.positioner.style.display = 'none';
-                this.dispatchEvent(new org.apache.flex.events.Event('hide'));
-              } else {
-                if (this.lastDisplay_) {
-                  this.positioner.style.display = this.lastDisplay_;
-                } else {
-                  this.positioner.style.display = this.internalDisplay;
-                }
-                this.dispatchEvent(new org.apache.flex.events.Event('show'));
-              }
-              this.dispatchEvent(new org.apache.flex.events.Event('visibleChanged'));
-           }
-        }
-    },
-    /** @export */
-    topMostEventDispatcher: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return document.body.flexjs_wrapper;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} value The height of the object in pixels.
- * @param {boolean=} opt_noEvent Whether to skip sending a change event.
- */
-org.apache.flex.core.UIBase.prototype.setHeight =
-    function(value, opt_noEvent)
-{
-  if (opt_noEvent === undefined)
-    opt_noEvent = false;
-
-  if (value === undefined)
-    value = 0;
-
-  var _height = this.CSSHeight;
-  if (isNaN(_height) || _height != value) {
-    this.positioner.style.height = value.toString() + 'px';
-    if (!opt_noEvent)
-      this.dispatchEvent('heightChanged');
-  }
-};
-
-
-/**
- * @export
- * @param {number} value The width of the object in pixels.
- * @param {boolean=} opt_noEvent Whether to skip sending a change event.
- */
-org.apache.flex.core.UIBase.prototype.setWidth =
-    function(value, opt_noEvent)
-{
-  if (opt_noEvent === undefined)
-    opt_noEvent = false;
-
-  if (value === undefined)
-    value = 0;
-
-  var _width = this.CSSWidth;
-  if (isNaN(_width) || _width != value) {
-    this.positioner.style.width = value.toString() + 'px';
-    if (!opt_noEvent)
-      this.dispatchEvent('widthChanged');
-  }
-};
-
-
-/**
- * @export
- * @param {number} newWidth The width of the object in pixels.
- * @param {number} newHeight The height of the object in pixels.
- * @param {boolean=} opt_noEvent Whether to skip sending a change event.
- */
-org.apache.flex.core.UIBase.prototype.setWidthAndHeight =
-    function(newWidth, newHeight, opt_noEvent)
-{
-  if (opt_noEvent === undefined)
-    opt_noEvent = false;
-
-  if (newWidth === undefined)
-    newWidth = 0;
-  if (newHeight === undefined)
-    newHeight = 0;
-
-  var _width = this.CSSWidth;
-  if (isNaN(_width) || _width != newWidth) {
-    this.positioner.style.width = newWidth.toString() + 'px';
-    if (!opt_noEvent)
-      this.dispatchEvent('widthChanged');
-  }
-  var _height = this.CSSHeight;
-  if (isNaN(_height) || _height != newHeight) {
-    this.positioner.style.height = newHeight.toString() + 'px';
-    if (!opt_noEvent)
-      this.dispatchEvent('heightChanged');
-  }
-  this.dispatchEvent('sizeChanged');
-};
-
-
-/**
- * @export
- * @return {boolean} True if width sized to content.
- */
-org.apache.flex.core.UIBase.prototype.isWidthSizedToContent = function()
-{
-  if (!isNaN(this.explicitWidth_) || !isNaN(this.percentWidth_))
-    return false;
-  var left = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'left');
-  var right = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'right');
-  // not sized to content if both left and right are specified
-  return (left === undefined || right === undefined);
-};
-
-
-/**
- * @export
- * @return {boolean} True if height sized to content.
- */
-org.apache.flex.core.UIBase.prototype.isHeightSizedToContent = function()
-{
-  if (!isNaN(this.explicitHeight_) || !isNaN(this.percentHeight_))
-    return false;
-  var top = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'top');
-  var bottom = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'bottom');
-  // not sized to content if both top and bottom are specified
-  return (top === undefined || bottom === undefined);
-};
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.core.UIBase.prototype.typeNames = '';
-
-
-/**
- * @export
- * @param {org.apache.flex.events.ValueChangeEvent} value The new style properties.
- */
-org.apache.flex.core.UIBase.prototype.styleChangeHandler = function(value) {
-  var newStyle = {};
-  newStyle[value.propertyName] = value.newValue;
-  org.apache.flex.core.ValuesManager.valuesImpl.applyStyles(this, newStyle);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ValuesManager.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ValuesManager.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ValuesManager.js
deleted file mode 100644
index 00515de..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ValuesManager.js
+++ /dev/null
@@ -1,57 +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.core.ValuesManager');
-
-goog.require('org.apache.flex.core.IValuesImpl');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.ValuesManager = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ValuesManager.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ValuesManager',
-                qName: 'org.apache.flex.core.ValuesManager' }] };
-
-
-/**
- * @export
- * @type {org.apache.flex.core.IValuesImpl}
- */
-org.apache.flex.core.ValuesManager.prototype.valuesImpl = null;
-
-
-Object.defineProperties(org.apache.flex.core.ValuesManager.prototype, {
-    /** @export */
-    valuesImpl: {
-        /** @this {org.apache.flex.core.ValuesManager} */
-        get: function() {
-            return org.apache.flex.core.ValuesManager.valuesImpl;
-        },
-        /** @this {org.apache.flex.core.ValuesManager} */
-        set: function(value) {
-            org.apache.flex.core.ValuesManager.valuesImpl = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ViewBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ViewBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ViewBase.js
deleted file mode 100644
index 4bded41..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ViewBase.js
+++ /dev/null
@@ -1,143 +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.core.ViewBase');
-
-goog.require('org.apache.flex.core.ContainerBase');
-goog.require('org.apache.flex.core.IPopUpHost');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.ValueChangeEvent');
-goog.require('org.apache.flex.utils.MXMLDataInterpreter');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IPopUpHost}
- * @extends {org.apache.flex.core.ContainerBase}
- */
-org.apache.flex.core.ViewBase = function() {
-  org.apache.flex.core.ViewBase.base(this, 'constructor');
-
-  this.document = this;
-};
-goog.inherits(org.apache.flex.core.ViewBase, org.apache.flex.core.ContainerBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ViewBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ViewBase',
-                qName: 'org.apache.flex.core.ViewBase' }],
-      interfaces: [org.apache.flex.core.IPopUpHost] };
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.core.ViewBase.prototype.applicationModel_ = null;
-
-
-/**
- * @export
- * @param {Array} data The data for the attributes.
- */
-org.apache.flex.core.ViewBase.prototype.generateMXMLAttributes = function(data) {
-  org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties(this, data);
-};
-
-
-/**
- * @export
- * @type {Object} The document.
- */
-org.apache.flex.core.ViewBase.prototype.document = null;
-
-
-/**
- * @export
- * @param {Object} doc The document.
- * @param {Array} desc The descriptor data;
- */
-org.apache.flex.core.ViewBase.prototype.setMXMLDescriptor =
-    function(doc, desc) {
-  this.MXMLDescriptor = desc;
-  this.document = doc;
-};
-
-
-/**
- * @export
- */
-org.apache.flex.core.ViewBase.prototype.addedToParent = function() {
-
-  //org.apache.flex.core.ViewBase.base(this,'addedToParent');
-  this.element.flexjs_wrapper = this;
-  if (org.apache.flex.core.ValuesManager.valuesImpl.init) {
-    org.apache.flex.core.ValuesManager.valuesImpl.init(this);
-  }
-
-  org.apache.flex.core.ViewBase.base(this, 'addedToParent');
-
-  this.dispatchEvent(new org.apache.flex.events.Event('childrenAdded'));
-};
-
-
-/**
- * @export
- * @param {string} state The name of the state.
- * @return {boolean} True if state in states array.
- */
-org.apache.flex.core.ViewBase.prototype.hasState = function(state) {
-  var states = this.states;
-  for (var p in states)
-  {
-    var s = states[p];
-    if (s.name == state)
-      return true;
-  }
-  return false;
-};
-
-
-Object.defineProperties(org.apache.flex.core.ViewBase.prototype, {
-    /** @export */
-    MXMLDescriptor: {
-        /** @this {org.apache.flex.core.ViewBase} */
-        get: function() {
-            return this.mxmldd;
-        },
-        /** @this {org.apache.flex.core.ViewBase} */
-        set: function(value) {
-            this.mxmldd = value;
-        }
-    },
-    /** @export */
-    applicationModel: {
-        /** @this {org.apache.flex.core.ViewBase} */
-        get: function() {
-            return this.applicationModel_;
-        },
-        /** @this {org.apache.flex.core.ViewBase} */
-        set: function(value) {
-            this.applicationModel_ = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js b/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js
deleted file mode 100644
index 2891d93..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js
+++ /dev/null
@@ -1,162 +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.events.BrowserEvent');
-
-goog.require('goog.events.BrowserEvent');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.events.BrowserEvent = function() {
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.BrowserEvent.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BrowserEvent',
-                qName: 'org.apache.flex.events.BrowserEvent' }] };
-
-
-/**
- * @type {?goog.events.BrowserEvent}
- */
-org.apache.flex.events.BrowserEvent.prototype.wrappedEvent = null;
-
-
-/**
- */
-org.apache.flex.events.BrowserEvent.prototype.preventDefault = function() {
-  this.wrappedEvent.preventDefault();
-};
-
-
-/**
- */
-org.apache.flex.events.BrowserEvent.prototype.stopPropagation = function() {
-  this.wrappedEvent.stopPropagation();
-};
-
-
-/**
- */
-org.apache.flex.events.BrowserEvent.prototype.stopImmediatePropagation = function() {
-  //this.wrappedEvent.stopImmediatePropagation(); // not in goog.events.BrowserEvent
-  this.wrappedEvent.stopPropagation();
-};
-
-
-Object.defineProperties(org.apache.flex.events.BrowserEvent.prototype, {
-    /** @export */
-    currentTarget: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            var o = this.wrappedEvent.currentTarget;
-            if (o && o.flexjs_wrapper)
-              return o.flexjs_wrapper;
-            return o;
-        }
-    },
-    /** @export */
-    button: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.button;
-        }
-    },
-    /** @export */
-    charCode: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.charCode;
-        }
-    },
-    /** @export */
-    clientX: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.clientX;
-        }
-    },
-    /** @export */
-    clientY: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.clientY;
-        }
-    },
-    /** @export */
-    keyCode: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.keyCode;
-        }
-    },
-    /** @export */
-    offsetX: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.offsetX;
-        }
-    },
-    /** @export */
-    offsetY: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.offsetY;
-        }
-    },
-    /** @export */
-    screenX: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.screenX;
-        }
-    },
-    /** @export */
-    screenY: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.screenY;
-        }
-    },
-    /** @export */
-    relatedTarget: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            var o = this.wrappedEvent.relatedTarget;
-            if (o && o.flexjs_wrapper)
-              return o.flexjs_wrapper;
-            return o;
-        }
-    },
-    /** @export */
-    target: {
-        /** @this {org.apache.flex.events.BrowserEvent} */
-        get: function() {
-            var o = this.wrappedEvent.target;
-            if (o && o.flexjs_wrapper)
-              return o.flexjs_wrapper;
-            return o;
-        }
-    }
-});
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/CustomEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/CustomEvent.js b/frameworks/projects/Core/js/src/org/apache/flex/events/CustomEvent.js
deleted file mode 100644
index a89143c..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/CustomEvent.js
+++ /dev/null
@@ -1,58 +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.events.CustomEvent');
-
-goog.require('goog.events.Event');
-
-
-
-/**
- * @constructor
- * @extends {goog.events.Event}
- * @param {string} type The event type.
- */
-org.apache.flex.events.CustomEvent = function(type) {
-  org.apache.flex.events.CustomEvent.base(this, 'constructor', type);
-
-  this.type = type;
-};
-goog.inherits(org.apache.flex.events.CustomEvent,
-    goog.events.Event);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.CustomEvent.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'CustomEvent',
-                qName: 'org.apache.flex.events.CustomEvent'}] };
-
-
-/**
- * @export
- * @param {string} type The event type.
- */
-org.apache.flex.events.CustomEvent.prototype.init = function(type) {
-  this.type = type;
-};
-
-
-/**
- * @export
- * @type {string} type The event type.
- */
-org.apache.flex.events.CustomEvent.prototype.type = '';

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/ElementEvents.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/ElementEvents.js b/frameworks/projects/Core/js/src/org/apache/flex/events/ElementEvents.js
deleted file mode 100644
index ce46b37..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/ElementEvents.js
+++ /dev/null
@@ -1,52 +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.events.ElementEvents');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.events.ElementEvents = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.ElementEvents.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ElementEvents',
-                qName: 'org.apache.flex.events.ElementEvents' }] };
-
-
-/**
- * @type {Object}
- */
-org.apache.flex.events.ElementEvents.elementEvents = {
-  'click': 1,
-  'change': 1,
-  'keyup': 1,
-  'keydown': 1,
-  'load': 1,
-  'mouseover': 1,
-  'mouseout': 1,
-  'mouseup': 1,
-  'mousedown': 1,
-  'mousemove': 1,
-  'rollover': 1,
-  'rollout': 1
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/Event.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/Event.js b/frameworks/projects/Core/js/src/org/apache/flex/events/Event.js
deleted file mode 100644
index ca54f3e..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/Event.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.
- */
-// EventHandler and ErrorHandler are not listed as deps for
-// some of the event classes because they would cause
-// circularities so we force them in here.
-goog.provide('org.apache.flex.events.Event');
-
-goog.require('goog.debug.ErrorHandler');
-goog.require('goog.events.Event');
-goog.require('goog.events.EventHandler');
-
-
-
-/**
- * @constructor
- * @extends {goog.events.Event}
- * @param {string} type The event type.
- */
-org.apache.flex.events.Event = function(type) {
-  org.apache.flex.events.Event.base(this, 'constructor', type);
-
-  this.type = type;
-};
-goog.inherits(org.apache.flex.events.Event,
-    goog.events.Event);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.Event.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Event',
-                qName: 'org.apache.flex.events.Event' }] };
-
-
-/**
- * Enum type for the events fired by the FlexJS Event
- * @enum {string}
- */
-org.apache.flex.events.Event.EventType = {
-    CHANGE: 'change'
-  };
-
-
-/**
- * @export
- * @type {string} type The event type.
- */
-org.apache.flex.events.Event.prototype.type = '';
-
-
-/**
- * @export
- * @param {string} type The event type.
- */
-org.apache.flex.events.Event.prototype.init = function(type) {
-  this.type = type;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/EventDispatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/EventDispatcher.js b/frameworks/projects/Core/js/src/org/apache/flex/events/EventDispatcher.js
deleted file mode 100644
index 0429dbd..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/EventDispatcher.js
+++ /dev/null
@@ -1,138 +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.events.EventDispatcher');
-
-goog.require('goog.events.EventTarget');
-goog.require('org.apache.flex.events.ElementEvents');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {goog.events.EventTarget}
- * @implements {org.apache.flex.events.IEventDispatcher}
- */
-org.apache.flex.events.EventDispatcher = function() {
-  org.apache.flex.events.EventDispatcher.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.events.EventDispatcher,
-    goog.events.EventTarget);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.EventDispatcher.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'EventDispatcher',
-                qName: 'org.apache.flex.events.EventDispatcher'}],
-      interfaces: [org.apache.flex.events.IEventDispatcher] };
-
-
-/**
- * @private
- * @param {string} type The event name.
- * @return {goog.events.EventTarget} The target.
- */
-org.apache.flex.events.EventDispatcher.prototype.getActualDispatcher_ = function(type) {
-  /**
-   *  A bit of a hack, but for 'native' HTML element based controls, we
-   *  want to listen to the 'native' events from the element; for other
-   *  types of controls, we listen to 'custom' events.
-   */
-  var source = this;
-  /*
-  if (this.element && this.element.nodeName &&
-      this.element.nodeName.toLowerCase() !== 'div' &&
-      // we don't use any native img events right now, we wrapthem
-      this.element.nodeName.toLowerCase() !== 'img' &&
-      this.element.nodeName.toLowerCase() !== 'body') {
-    source = this.element;
-  } else */ if (org.apache.flex.events.ElementEvents.elementEvents[type]) {
-    // mouse and keyboard events also dispatch off the element.
-    source = this.element;
-  }
-  return source;
-};
-
-
-/**
- * @override
- * @export
- */
-org.apache.flex.events.EventDispatcher.prototype.dispatchEvent = function(e) {
-  var t;
-  if (typeof(e) === 'string') {
-    t = e;
-    if (e === 'change')
-      e = new Event(e);
-  }
-  else {
-    t = e.type;
-    if (org.apache.flex.events.ElementEvents.elementEvents[t]) {
-        e = new Event(t);
-    }
-  }
-  var source = this.getActualDispatcher_(t);
-  if (source == this)
-    return org.apache.flex.events.EventDispatcher.base(this, 'dispatchEvent', e);
-
-  return source.dispatchEvent(e);
-};
-
-
-/**
- * @override
- * @export
- */
-org.apache.flex.events.EventDispatcher.prototype.addEventListener =
-    function(type, handler, opt_capture, opt_handlerScope) {
-  var source;
-
-  source = this.getActualDispatcher_(type);
-
-  goog.events.listen(source, type, handler);
-};
-
-
-/**
- * @override
- * @export
- */
-org.apache.flex.events.EventDispatcher.prototype.removeEventListener =
-    function(type, handler, opt_capture, opt_handlerScope) {
-  var source;
-
-  source = this.getActualDispatcher_(type);
-
-  goog.events.unlisten(source, type, handler);
-};
-
-
-/**
- * @export
- * @param {string} type The event name.
- * @return {boolean} True if there is a listener.
- */
-org.apache.flex.events.EventDispatcher.prototype.hasEventListener =
-    function(type) {
-  var source;
-
-  source = this.getActualDispatcher_(type);
-
-  return goog.events.hasListener(source, type);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/IEventDispatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/IEventDispatcher.js b/frameworks/projects/Core/js/src/org/apache/flex/events/IEventDispatcher.js
deleted file mode 100644
index a87d8a1..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/IEventDispatcher.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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * IEventDispatcher
- *
- * @interface
- */
-org.apache.flex.events.IEventDispatcher = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.IEventDispatcher.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IEventDispatcher',
-                qName: 'org.apache.flex.events.IEventDispatcher'}] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/MouseEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/MouseEvent.js b/frameworks/projects/Core/js/src/org/apache/flex/events/MouseEvent.js
deleted file mode 100644
index d553858..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/MouseEvent.js
+++ /dev/null
@@ -1,186 +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.events.MouseEvent');
-
-goog.require('goog.events.BrowserEvent');
-
-
-
-/**
- * @constructor
- * @extends {goog.events.BrowserEvent}
- *
- * This is a shim class.  As long as you don't test
- * with "is" or "as", your code should work even
- * if the runtime is actually sending a native
- * browser MouseEvent
- */
-org.apache.flex.events.MouseEvent = function() {
-  org.apache.flex.events.MouseEvent.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.events.MouseEvent,
-    goog.events.BrowserEvent);
-
-
-/**
- * @type {string}
- */
-org.apache.flex.events.MouseEvent.ROLL_OVER = 'rollover';
-
-
-/**
- * @type {string}
- */
-org.apache.flex.events.MouseEvent.ROLL_OUT = 'rollout';
-
-
-/**
- * @type {string}
- */
-org.apache.flex.events.MouseEvent.MOUSE_OVER = 'mouseover';
-
-
-/**
- * @type {string}
- */
-org.apache.flex.events.MouseEvent.MOUSE_OUT = 'mouseout';
-
-
-/**
- * @type {string}
- */
-org.apache.flex.events.MouseEvent.MOUSE_UP = 'mouseup';
-
-
-/**
- * @type {string}
- */
-org.apache.flex.events.MouseEvent.MOUSE_DOWN = 'mousedown';
-
-
-/**
- * @type {string}
- */
-org.apache.flex.events.MouseEvent.MOUSE_MOVE = 'mousemove';
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.MouseEvent.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'MouseEvent',
-                qName: 'org.apache.flex.events.MouseEvent' }] };
-
-
-/**
- * @return {boolean}
- */
-org.apache.flex.events.MouseEvent.installRollOverMixin = function() {
-  window.addEventListener(org.apache.flex.events.MouseEvent.MOUSE_OVER,
-    org.apache.flex.events.MouseEvent.mouseOverHandler);
-  return true;
-};
-
-
-/**
- * @param {Event} e The event.
- * RollOver/RollOut is entirely implemented in mouseOver because
- * when a parent and child share an edge, you only get a mouseout
- * for the child and not the parent and you need to send rollout
- * to both.  A similar issue exists for rollover.
- */
-org.apache.flex.events.MouseEvent.mouseOverHandler = function(e) {
-  var j, m, outs, me, parent;
-  var target = e.target.flexjs_wrapper;
-  if (target === undefined)
-    return; // probably over the html tag
-  var targets = org.apache.flex.events.MouseEvent.targets;
-  var index = targets.indexOf(target);
-  if (index != -1) {
-    // get all children
-    outs = targets.slice(index + 1);
-    m = outs.length;
-    for (j = 0; j < m; j++) {
-      me = org.apache.flex.events.MouseEvent.makeMouseEvent(
-               org.apache.flex.events.MouseEvent.ROLL_OUT, e);
-      outs[j].element.dispatchEvent(me);
-    }
-    org.apache.flex.events.MouseEvent.targets = targets.slice(0, index + 1);
-  }
-  else {
-    var newTargets = [target];
-    if (target.hasOwnProperty('parent') === undefined)
-      parent = null;
-    else
-      parent = target.parent;
-    while (parent) {
-      index = targets.indexOf(parent);
-      if (index == -1) {
-        newTargets.unshift(parent);
-        if (parent.hasOwnProperty('parent') === undefined)
-          break;
-        parent = parent.parent;
-      }
-      else {
-        outs = targets.slice(index + 1);
-        m = outs.length;
-        for (j = 0; j < m; j++) {
-          me = org.apache.flex.events.MouseEvent.makeMouseEvent(
-                   org.apache.flex.events.MouseEvent.ROLL_OUT, e);
-          outs[j].element.dispatchEvent(me);
-        }
-        targets = targets.slice(0, index + 1);
-        break;
-      }
-    }
-    var n = newTargets.length;
-    for (var i = 0; i < n; i++) {
-      me = org.apache.flex.events.MouseEvent.makeMouseEvent(
-                   org.apache.flex.events.MouseEvent.ROLL_OVER, e);
-      newTargets[i].element.dispatchEvent(me);
-    }
-    org.apache.flex.events.MouseEvent.targets = targets.concat(newTargets);
-  }
-};
-
-
-/**
- * @type {boolean}
- */
-org.apache.flex.events.MouseEvent.rollOverMixin =
-    org.apache.flex.events.MouseEvent.installRollOverMixin();
-
-
-/**
- * @type {Object}
- */
-org.apache.flex.events.MouseEvent.targets = [];
-
-
-/**
- * @param {string} type The event type.
- * @param {Event} e The mouse event.
- * @return {MouseEvent} The new event.
- */
-org.apache.flex.events.MouseEvent.makeMouseEvent = function(type, e) {
-  var out = new MouseEvent(type);
-  out.initMouseEvent(type, false, false,
-    e.view, e.detail, e.screenX, e.screenY,
-    e.clientX, e.clientY, e.ctrlKey, e.altKey,
-    e.shiftKey, e.metaKey, e.button, e.relatedTarget);
-  return out;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/ValueChangeEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/ValueChangeEvent.js b/frameworks/projects/Core/js/src/org/apache/flex/events/ValueChangeEvent.js
deleted file mode 100644
index 2d04c58..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/ValueChangeEvent.js
+++ /dev/null
@@ -1,119 +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.events.ValueChangeEvent');
-
-goog.require('goog.events.Event');
-
-
-
-/**
- * @constructor
- * @extends {goog.events.Event}
- * @param {string} type The event type.
- * @param {boolean} b The bubbles parameter.
- * @param {boolean} c The cancelable parameter.
- * @param {*} ov The old value.
- * @param {*} nv The new value.
- */
-org.apache.flex.events.ValueChangeEvent = function(type, b, c, ov, nv) {
-  org.apache.flex.events.ValueChangeEvent.base(this, 'constructor', type);
-
-  this.type = type;
-  this.oldValue = ov;
-  this.newValue = nv;
-};
-goog.inherits(org.apache.flex.events.ValueChangeEvent,
-    goog.events.Event);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.ValueChangeEvent.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ValueChangeEvent',
-                qName: 'org.apache.flex.events.ValueChangeEvent' }] };
-
-
-/**
- * @export
- * @param {string} type The event type.
- */
-org.apache.flex.events.ValueChangeEvent.prototype.init = function(type) {
-  this.type = type;
-};
-
-
-/**
- * @export
- * @type {string} type The event type.
- */
-org.apache.flex.events.ValueChangeEvent.prototype.type = '';
-
-
-/**
- * @export
- * @type {*} oldValue The old value.
- */
-org.apache.flex.events.ValueChangeEvent.prototype.oldValue = null;
-
-
-/**
- * @export
- * @type {*} newValue The new value.
- */
-org.apache.flex.events.ValueChangeEvent.prototype.newValue = null;
-
-
-/**
- * @export
- * @type {string} propertyName The property that changed.
- */
-org.apache.flex.events.ValueChangeEvent.prototype.propertyName = '';
-
-
-/**
- * @export
- * @type {Object} source The object that changed.
- */
-org.apache.flex.events.ValueChangeEvent.prototype.source = null;
-
-
-/**
- * @export
- * @param {Object} source The object that changed.
- * @param {string} name The property that changed.
- * @param {*} oldValue The old value.
- * @param {*} newValue The new value.
- * @return {Object} An event object.
- */
-org.apache.flex.events.ValueChangeEvent.createUpdateEvent =
-    function(source, name, oldValue, newValue)
-    {
-  var event = new org.apache.flex.events.ValueChangeEvent(
-      org.apache.flex.events.ValueChangeEvent.VALUE_CHANGE,
-      false, false, oldValue, newValue);
-  event.propertyName = name;
-  event.source = source;
-  return event;
-};
-
-
-/**
- * @export
- * @type {string} VALUE_CHANGE The type of the event.
- */
-org.apache.flex.events.ValueChangeEvent.VALUE_CHANGE = 'valueChange';

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/ValueEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/ValueEvent.js b/frameworks/projects/Core/js/src/org/apache/flex/events/ValueEvent.js
deleted file mode 100644
index 53f101c..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/ValueEvent.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.events.ValueEvent');
-
-goog.require('goog.events.Event');
-
-
-
-/**
- * @constructor
- * @extends {goog.events.Event}
- * @param {string} type The event type.
- * @param {*} v The value.
- */
-org.apache.flex.events.ValueEvent = function(type, v) {
-  org.apache.flex.events.ValueEvent.base(this, 'constructor', type);
-
-  this.type = type;
-  this.value = v;
-};
-goog.inherits(org.apache.flex.events.ValueEvent,
-    goog.events.Event);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.ValueEvent.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ValueEvent',
-                qName: 'org.apache.flex.events.ValueEvent' }] };
-
-
-/**
- * @export
- * @param {string} type The event type.
- */
-org.apache.flex.events.ValueEvent.prototype.init = function(type) {
-  this.type = type;
-};
-
-
-/**
- * @export
- * @type {string} type The event type.
- */
-org.apache.flex.events.ValueEvent.prototype.type = '';
-
-
-/**
- * @export
- * @type {*} value The old value.
- */
-org.apache.flex.events.ValueEvent.prototype.value = null;
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/events/utils/MouseUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/utils/MouseUtils.js b/frameworks/projects/Core/js/src/org/apache/flex/events/utils/MouseUtils.js
deleted file mode 100644
index 4d8048d..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/utils/MouseUtils.js
+++ /dev/null
@@ -1,62 +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.events.utils.MouseUtils');
-
-
-/**
- * @param {Object} event The event.
- * @return {Object} class instance associated with the event.target.
- */
-org.apache.flex.events.utils.MouseUtils.eventTarget = function(event) {
-  var target = event.target;
-  return target.flexjs_wrapper;
-};
-
-
-/**
- * @param {Object} event The event.
- * @return {number} The x position of the mouse with respect to its parent.
- */
-org.apache.flex.events.utils.MouseUtils.localX = function(event) {
-  return event.offsetX;
-};
-
-
-/**
- * @param {Object} event The event.
- * @return {number} The y position of the mouse with respect to its parent.
- */
-org.apache.flex.events.utils.MouseUtils.localY = function(event) {
-  return event.offsetY;
-};
-
-
-/**
- * @param {Object} event The event.
- * @return {number} The x position of the mouse with respect to the screen.
- */
-org.apache.flex.events.utils.MouseUtils.globalX = function(event) {
-  return event.clientX;
-};
-
-
-/**
- * @param {Object} event The event.
- * @return {number} The y position of the mouse with respect to the screen.
- */
-org.apache.flex.events.utils.MouseUtils.globalY = function(event) {
-  return event.clientY;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/geom/Point.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/geom/Point.js b/frameworks/projects/Core/js/src/org/apache/flex/geom/Point.js
deleted file mode 100644
index 12cbb7a..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/geom/Point.js
+++ /dev/null
@@ -1,56 +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.geom.Point');
-
-
-
-/**
- * @constructor
- * @param {number} x
- * @param {number} y
- */
-org.apache.flex.geom.Point = function(x, y) {
-
-  this.x = x;
-
-  this.y = y;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.geom.Point.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Point',
-                qName: 'org.apache.flex.geom.Point'}] };
-
-
-/**
- * @export
- * The x coordinate.
- * @type {number} value The x coordinate.
- */
-org.apache.flex.geom.Point.prototype.x = 0;
-
-
-/**
- * @export
- * The y coordinate.
- * @type {number} value The y coordinate.
- */
-org.apache.flex.geom.Point.prototype.y = 0;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/geom/Rectangle.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/geom/Rectangle.js b/frameworks/projects/Core/js/src/org/apache/flex/geom/Rectangle.js
deleted file mode 100644
index 887391b..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/geom/Rectangle.js
+++ /dev/null
@@ -1,104 +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.geom.Rectangle');
-
-
-
-/**
- * @constructor
- * @param {number} left
- * @param {number} top
- * @param {number} width
- * @param {number} height
- */
-org.apache.flex.geom.Rectangle = function(left, top, width, height) {
-
-  this.left = left;
-
-  this.top = top;
-
-  this.width = width;
-
-  this.height = height;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.geom.Rectangle.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Rectangle',
-                qName: 'org.apache.flex.geom.Rectangle'}] };
-
-
-/**
- * @export
- * The left coordinate.
- * @type {number} value The left coordinate.
- */
-org.apache.flex.geom.Rectangle.prototype.left = 0;
-
-
-/**
- * @export
- * The top coordinate.
- * @type {number} value The top coordinate.
- */
-org.apache.flex.geom.Rectangle.prototype.top = 0;
-
-
-/**
- * @export
- * The width coordinate.
- * @type {number} value The width coordinate.
- */
-org.apache.flex.geom.Rectangle.prototype.width = 0;
-
-
-/**
- * @export
- * The height coordinate.
- * @type {number} value The height coordinate.
- */
-org.apache.flex.geom.Rectangle.prototype.height = 9;
-
-
-Object.defineProperties(org.apache.flex.geom.Rectangle.prototype, {
-    /** @export */
-    right: {
-        /** @this {org.apache.flex.geom.Rectangle} */
-        get: function() {
-            return this.left + this.width;
-        },
-        /** @this {org.apache.flex.geom.Rectangle} */
-        set: function(value) {
-            this.width = value - this.left;
-        }
-    },
-    /** @export */
-    bottom: {
-        /** @this {org.apache.flex.geom.Rectangle} */
-        get: function() {
-            return this.top + this.height;
-        },
-        /** @this {org.apache.flex.geom.Rectangle} */
-        set: function(value) {
-            this.height = value - this.top;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/geom/Size.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/geom/Size.js b/frameworks/projects/Core/js/src/org/apache/flex/geom/Size.js
deleted file mode 100644
index 1f209d6..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/geom/Size.js
+++ /dev/null
@@ -1,56 +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.geom.Size');
-
-
-
-/**
- * @constructor
- * @param {number} width
- * @param {number} height
- */
-org.apache.flex.geom.Size = function(width, height) {
-
-  this.width = width;
-
-  this.height = height;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.geom.Size.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Size',
-                qName: 'org.apache.flex.geom.Size'}] };
-
-
-/**
- * @export
- * The width value.
- * @type {number} value The width value.
- */
-org.apache.flex.geom.Size.prototype.width = 0;
-
-
-/**
- * @export
- * The height value.
- * @type {number} value The height value.
- */
-org.apache.flex.geom.Size.prototype.height = 0;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js b/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
deleted file mode 100644
index 737074d..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/states/AddItems.js
+++ /dev/null
@@ -1,249 +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.states.AddItems');
-
-goog.require('org.apache.flex.core.IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IDocument}
- */
-org.apache.flex.states.AddItems = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.states.AddItems.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'AddItems',
-                qName: 'org.apache.flex.states.AddItems' }],
-      interfaces: [org.apache.flex.core.IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-org.apache.flex.states.AddItems.prototype.setDocument = function(document, opt_id) {
-  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
-  this.document = document;
-  var data = document['mxmlsd'][this.itemsDescriptorIndex];
-  if (typeof(data.slice) == 'function') {
-    this.itemsDescriptor = {};
-    this.itemsDescriptor.descriptor = data;
-    // replace the entry in the document so subsequent
-    // addItems know it is shared
-    this.document['mxmlsd'][this.itemsDescriptorIndex] = this.itemsDescriptor;
-  } else
-    this.itemsDescriptor = data;
-};
-
-
-/**
- * @private
- * @type {Object} document The MXML object.
- */
-org.apache.flex.states.AddItems.prototype.document_ = null;
-
-
-/**
- * @private
- * @type {Array} items The array of items to add.
- */
-org.apache.flex.states.AddItems.prototype.items_ = null;
-
-
-/**
- * @private
- * @type {number} itemsDescriptor The index into the array
- *                               of itemDescriptors on the document
- */
-org.apache.flex.states.AddItems.prototype.itemsDescriptorIndex_ = -1;
-
-
-/**
- * @private
- * @type {Object} itemsDescriptor The descriptors for items.
- */
-org.apache.flex.states.AddItems.prototype.itemsDescriptor_ = null;
-
-
-/**
- * @private
- * @type {string} destination The id of the parent.
- */
-org.apache.flex.states.AddItems.prototype.destination_ = '';
-
-
-/**
- * @private
- * @type {string} propertyName The child property name (e.g. mxmlContent).
- */
-org.apache.flex.states.AddItems.prototype.propertyName_ = '';
-
-
-/**
- * @private
- * @type {string} position Where the item goes relative to relativeTo.
- */
-org.apache.flex.states.AddItems.prototype.position_ = '';
-
-
-/**
- * @private
- * @type {?string} relativeTo The id of the child where the item goes.
- */
-org.apache.flex.states.AddItems.prototype.relativeTo_ = null;
-
-
-/**
- * @export
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-org.apache.flex.states.AddItems.prototype.initializeFromObject = function(properties) {
-  var p;
-
-  for (p in properties) {
-    this[p] = properties[p];
-  }
-
-  return this;
-};
-
-
-Object.defineProperties(org.apache.flex.states.AddItems.prototype,
-  /** @lends {org.apache.flex.states.AddItems.prototype} */ {
-  /** @export */
-  document: {
-    /** @this {org.apache.flex.states.AddItems} */
-    get: function() {
-      return this.document_;
-    },
-
-    /** @this {org.apache.flex.states.AddItems} */
-    set: function(value) {
-      if (value != this.document_) {
-        this.document_ = value;
-      }
-    }
-  },
-  /** @export */
-  items: {
-    /** @this {org.apache.flex.states.AddItems} */
-    get: function() {
-      return this.items_;
-    },
-
-    /** @this {org.apache.flex.states.AddItems} */
-    set: function(value) {
-      if (value != this.items_) {
-        this.items_ = value;
-      }
-    }
-  },
-  /** @export */
-  itemsDescriptorIndex: {
-    /** @this {org.apache.flex.states.AddItems}
-        @return {number} */
-    get: function() {
-      return this.itemsDescriptorIndex_;
-    },
-
-    /** @this {org.apache.flex.states.AddItems}
-        @param {number} value The value.  */
-    set: function(value) {
-      if (value != this.itemsDescriptorIndex_) {
-        this.itemsDescriptorIndex_ = value;
-      }
-    }
-  },
-  /** @export */
-  itemsDescriptor: {
-    /** @this {org.apache.flex.states.AddItems} */
-    get: function() {
-      return this.itemsDescriptor_;
-    },
-
-    /** @this {org.apache.flex.states.AddItems} */
-    set: function(value) {
-      if (value != this.itemsDescriptor_) {
-        this.itemsDescriptor_ = value;
-      }
-    }
-  },
-  /** @export */
-  destination: {
-    /** @this {org.apache.flex.states.AddItems} */
-    get: function() {
-      return this.destination_;
-    },
-
-    /** @this {org.apache.flex.states.AddItems} */
-    set: function(value) {
-      if (value != this.destination_) {
-        this.destination_ = value;
-      }
-    }
-  },
-  /** @export */
-  propertyName: {
-    /** @this {org.apache.flex.states.AddItems} */
-    get: function() {
-      return this.propertyName_;
-    },
-
-    /** @this {org.apache.flex.states.AddItems} */
-    set: function(value) {
-      if (value != this.propertyName_) {
-        this.propertyName_ = value;
-      }
-    }
-  },
-  /** @export */
-  position: {
-    /** @this {org.apache.flex.states.AddItems} */
-    get: function() {
-      return this.position_;
-    },
-
-    /** @this {org.apache.flex.states.AddItems} */
-    set: function(value) {
-      if (value != this.position_) {
-        this.position_ = value;
-      }
-    }
-  },
-  /** @export */
-  relativeTo: {
-    /** @this {org.apache.flex.states.AddItems} */
-    get: function() {
-      return this.relativeTo_;
-    },
-
-    /** @this {org.apache.flex.states.AddItems} */
-    set: function(value) {
-      if (value != this.relativeTo_) {
-        this.relativeTo_ = value;
-      }
-    }
-  }
-});
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js b/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
deleted file mode 100644
index 6d23259..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/states/SetEventHandler.js
+++ /dev/null
@@ -1,152 +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.states.SetEventHandler');
-
-goog.require('org.apache.flex.core.IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IDocument}
- */
-org.apache.flex.states.SetEventHandler = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.states.SetEventHandler.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SetEventHandler',
-                qName: 'org.apache.flex.states.SetEventHandler' }],
-      interfaces: [org.apache.flex.core.IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-org.apache.flex.states.SetEventHandler.prototype.setDocument = function(document, opt_id) {
-  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
-  this.document = document;
-};
-
-
-/**
- * @private
- * @type {Object} document The MXML object.
- */
-org.apache.flex.states.SetEventHandler.prototype.document_ = null;
-
-
-/**
- * @private
- * @type {string} name The event to listen for.
- */
-org.apache.flex.states.SetEventHandler.prototype.name_ = '';
-
-
-/**
- * @private
- * @type {string} target The id of the object.
- */
-org.apache.flex.states.SetEventHandler.prototype.target_ = '';
-
-
-/**
- * @private
- * @type {Object} handlerFunction The listener to be added.
- */
-org.apache.flex.states.SetEventHandler.prototype.handlerFunction_ = null;
-
-
-/**
- * @export
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-org.apache.flex.states.SetEventHandler.prototype.initializeFromObject = function(properties) {
-  var p;
-
-  for (p in properties) {
-    this[p] = properties[p];
-  }
-
-  return this;
-};
-
-
-Object.defineProperties(org.apache.flex.states.SetEventHandler.prototype,
-  /** @lends {org.apache.flex.states.SetEventHandler.prototype} */ {
-  /** @export */
-  document: {
-    /** @this {org.apache.flex.states.SetEventHandler} */
-    get: function() {
-      return this.document_;
-    },
-
-    /** @this {org.apache.flex.states.SetEventHandler} */
-    set: function(value) {
-      if (value != this.document_) {
-        this.document_ = value;
-      }
-    }
-  },
-  /** @export */
-  name: {
-    /** @this {org.apache.flex.states.SetEventHandler} */
-    get: function() {
-      return this.name_;
-    },
-
-    /** @this {org.apache.flex.states.SetEventHandler} */
-    set: function(value) {
-      if (value != this.name_) {
-        this.name_ = value;
-      }
-    }
-  },
-  /** @export */
-  target: {
-    /** @this {org.apache.flex.states.SetEventHandler} */
-    get: function() {
-      return this.target_;
-    },
-
-    /** @this {org.apache.flex.states.SetEventHandler} */
-    set: function(value) {
-      if (value != this.target_) {
-        this.target_ = value;
-      }
-    }
-  },
-  /** @export */
-  handlerFunction: {
-    /** @this {org.apache.flex.states.SetEventHandler} */
-    get: function() {
-      return this.handlerFunction_;
-    },
-
-    /** @this {org.apache.flex.states.SetEventHandler} */
-    set: function(value) {
-      if (value != this.handlerFunction_) {
-        this.handlerFunction_ = value;
-      }
-    }
-  }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js b/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.js
deleted file mode 100644
index 15ebbd4..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/states/SetProperty.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.states.SetProperty');
-
-goog.require('org.apache.flex.core.IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IDocument}
- */
-org.apache.flex.states.SetProperty = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.states.SetProperty.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SetProperty',
-                qName: 'org.apache.flex.states.SetProperty' }],
-      interfaces: [org.apache.flex.core.IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-org.apache.flex.states.SetProperty.prototype.setDocument = function(document, opt_id) {
-  opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
-  this.document = document;
-};
-
-
-/**
- * @private
- * @type {Object} document The MXML object.
- */
-org.apache.flex.states.SetProperty.prototype.document_ = null;
-
-
-/**
- * @private
- * @type {string} name The target property name.
- */
-org.apache.flex.states.SetProperty.prototype.name_ = '';
-
-
-/**
- * @private
- * @type {?string} target The id of the object.
- */
-org.apache.flex.states.SetProperty.prototype.target_ = null;
-
-
-/**
- * @private
- * @type {Object} previousValue The value to revert to.
- */
-org.apache.flex.states.SetProperty.prototype.previousValue_ = null;
-
-
-/**
- * @private
- * @type {Object} value The value to set.
- */
-org.apache.flex.states.SetProperty.prototype.value_ = null;
-
-
-/**
- * @export
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-org.apache.flex.states.SetProperty.prototype.initializeFromObject = function(properties) {
-  var p;
-
-  for (p in properties) {
-    this[p] = properties[p];
-  }
-
-  return this;
-};
-
-
-Object.defineProperties(org.apache.flex.states.SetProperty.prototype,
-  /** @lends {org.apache.flex.states.SetProperty.prototype} */ {
-  /** @export */
-  document: {
-    /** @this {org.apache.flex.states.SetProperty} */
-    get: function() {
-      return this.document_;
-    },
-
-    /** @this {org.apache.flex.states.SetProperty} */
-    set: function(value) {
-      if (value != this.document_) {
-        this.document_ = value;
-      }
-    }
-  },
-  /** @export */
-  name: {
-    /** @this {org.apache.flex.states.SetProperty} */
-    get: function() {
-      return this.name_;
-    },
-
-    /** @this {org.apache.flex.states.SetProperty} */
-    set: function(value) {
-      if (value != this.name_) {
-        this.name_ = value;
-      }
-    }
-  },
-  /** @export */
-  target: {
-    /** @this {org.apache.flex.states.SetProperty} */
-    get: function() {
-      return this.target_;
-    },
-
-    /** @this {org.apache.flex.states.SetProperty} */
-    set: function(value) {
-      if (value != this.target_) {
-        this.target_ = value;
-      }
-    }
-  },
-  /** @export */
-  previousValue: {
-    /** @this {org.apache.flex.states.SetProperty} */
-    get: function() {
-      return this.previousValue_;
-    },
-
-    /** @this {org.apache.flex.states.SetProperty} */
-    set: function(value) {
-      if (value != this.previousValue_) {
-        this.previousValue_ = value;
-      }
-    }
-  },
-  /** @export */
-  value: {
-    /** @this {org.apache.flex.states.SetProperty} */
-    get: function() {
-      return this.value_;
-    },
-
-    /** @this {org.apache.flex.states.SetProperty} */
-    set: function(value) {
-      if (value != this.value_) {
-        this.value_ = value;
-      }
-    }
-  }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/states/State.js b/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
deleted file mode 100644
index 3af3655..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/states/State.js
+++ /dev/null
@@ -1,82 +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.states.State');
-
-
-
-/**
- * @constructor
- * @param {Object=} opt_props The initial properties.
- */
-org.apache.flex.states.State = function(opt_props) {
-  opt_props = typeof opt_props !== 'undefined' ? opt_props : null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.states.State.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'State',
-                qName: 'org.apache.flex.states.State' }] };
-
-
-/**
- * @private
- * @type {string} name The state name.
- */
-org.apache.flex.states.State.prototype.name_ = '';
-
-
-/**
- * @private
- * @type {Array} overrides The state data.
- */
-org.apache.flex.states.State.prototype.overrides_ = null;
-
-
-Object.defineProperties(org.apache.flex.states.State.prototype,
-  /** @lends {org.apache.flex.states.State.prototype} */ {
-  /** @export */
-  name: {
-    /** @this {org.apache.flex.states.State} */
-    get: function() {
-      return this.name_;
-    },
-
-    /** @this {org.apache.flex.states.State} */
-    set: function(value) {
-      if (value != this.name_) {
-        this.name_ = value;
-      }
-    }
-  },
-  /** @export */
-  overrides: {
-    /** @this {org.apache.flex.states.State} */
-    get: function() {
-      return this.overrides_;
-    },
-
-    /** @this {org.apache.flex.states.State} */
-    set: function(value) {
-      if (value != this.overrides_) {
-        this.overrides_ = value;
-      }
-    }
-  }
-});


[09/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

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Collections/js/src/org/apache/flex/collections/ICollection.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/js/src/org/apache/flex/collections/ICollection.js b/frameworks/projects/Collections/js/src/org/apache/flex/collections/ICollection.js
deleted file mode 100644
index 749c80b..0000000
--- a/frameworks/projects/Collections/js/src/org/apache/flex/collections/ICollection.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.
- */
-
-/**
- * org.apache.flex.collections.ICollection
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.collections.ICollection');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.collections.ICollection =
-function() {
-};
-
-
-/**
- * @export
- * @param {number} index The item to fetch.
- * @return {Object} The object at the index.
- */
-org.apache.flex.collections.ICollection.prototype.getItemAt = function(index) {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.collections.ICollection.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'ICollection',
-             qName: 'org.apache.flex.collections.ICollection'}]};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Collections/js/src/org/apache/flex/collections/LazyCollection.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/js/src/org/apache/flex/collections/LazyCollection.js b/frameworks/projects/Collections/js/src/org/apache/flex/collections/LazyCollection.js
deleted file mode 100644
index 9529264..0000000
--- a/frameworks/projects/Collections/js/src/org/apache/flex/collections/LazyCollection.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.collections.LazyCollection');
-
-goog.require('org.apache.flex.events.EventDispatcher');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- */
-org.apache.flex.collections.LazyCollection = function() {
-  org.apache.flex.collections.LazyCollection.base(this, 'constructor');
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.data_ = null;
-
-  /**
-   * @private
-   * @type {Object}
-   */
-
-  this.itemConverter_ = null;
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.inputParser_ = null;
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.rawData_ = null;
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.strand_ = null;
-};
-goog.inherits(org.apache.flex.collections.LazyCollection, org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.collections.LazyCollection.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'LazyCollection',
-                qName: 'org.apache.flex.collections.LazyCollection'}],
-      interfaces: [org.apache.flex.events.IEventDispatcher]};
-
-
-Object.defineProperties(org.apache.flex.collections.LazyCollection.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.collections.LazyCollection} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              this.strand_.addEventListener('complete',
-              goog.bind(this.completeHandler, this));
-            }
-        }
-    },
-    /** @export */
-    length: {
-        /** @this {org.apache.flex.collections.LazyCollection} */
-        get: function() {
-            return this.rawData_ ? this.rawData_.length : 0;
-        }
-    },
-    /** @export */
-    inputParser: {
-        /** @this {org.apache.flex.collections.LazyCollection} */
-        get: function() {
-            return this.inputParser_;
-        },
-        /** @this {org.apache.flex.collections.LazyCollection} */
-        set: function(value) {
-            this.inputParser_ = value;
-        }
-    },
-    /** @export */
-    itemConverter: {
-        /** @this {org.apache.flex.collections.LazyCollection} */
-        get: function() {
-            return this.itemConverter_;
-        },
-        /** @this {org.apache.flex.collections.LazyCollection} */
-        set: function(value) {
-            this.itemConverter_ = value;
-        }
-    },
-    /** @export */
-    id: {
-        /** @this {org.apache.flex.collections.LazyCollection} */
-        get: function() {
-            return this.id_;
-        },
-        /** @this {org.apache.flex.collections.LazyCollection} */
-        set: function(value) {
-            if (this.id_ !== value) {
-              this.id_ = value;
-              // this.dispatchEvent(new Event('idChanged'));
-            }
-        }
-    }
-});
-
-
-/**
- * @private
- * @type {string}
- */
-org.apache.flex.collections.LazyCollection.prototype.id_ = '';
-
-
-/**
- * @protected
- */
-org.apache.flex.collections.LazyCollection.prototype.completeHandler =
-    function() {
-  var results = this.strand_.data;
-  this.rawData_ = this.inputParser_.parseItems(results);
-  this.data_ = [];
-  this.dispatchEvent('complete');
-};
-
-
-/**
- * @export
- * @param {number} index The index in the collection.
- * @return {Object} An item in the collection.
- */
-org.apache.flex.collections.LazyCollection.prototype.getItemAt =
-    function(index) {
-  if (this.data_[index] === undefined) {
-    this.data_[index] =
-        this.itemConverter_.convertItem(this.rawData_[index]);
-  }
-
-  return this.data_[index];
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Collections/js/src/org/apache/flex/collections/converters/JSONItemConverter.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/js/src/org/apache/flex/collections/converters/JSONItemConverter.js b/frameworks/projects/Collections/js/src/org/apache/flex/collections/converters/JSONItemConverter.js
deleted file mode 100644
index c1acf84..0000000
--- a/frameworks/projects/Collections/js/src/org/apache/flex/collections/converters/JSONItemConverter.js
+++ /dev/null
@@ -1,48 +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.collections.converters.JSONItemConverter');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.collections.converters.JSONItemConverter = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.collections.converters.JSONItemConverter.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'JSONItemConverter',
-                qName: 'org.apache.flex.collections.converters.JSONItemConverter'}] };
-
-
-/**
- * @export
- * @param {string} s The input string.
- * @return {*} The object.
- */
-org.apache.flex.collections.converters.JSONItemConverter.prototype.convertItem = function(s) {
-  var c = s.indexOf('{)');
-  if (c > 0)
-    s = s.substring(c);
-  if (s.indexOf('}') == -1)
-    s += '}';
-  return JSON.parse(s);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Collections/js/src/org/apache/flex/collections/parsers/JSONInputParser.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/js/src/org/apache/flex/collections/parsers/JSONInputParser.js b/frameworks/projects/Collections/js/src/org/apache/flex/collections/parsers/JSONInputParser.js
deleted file mode 100644
index 2a480e0..0000000
--- a/frameworks/projects/Collections/js/src/org/apache/flex/collections/parsers/JSONInputParser.js
+++ /dev/null
@@ -1,48 +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.collections.parsers.JSONInputParser');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.collections.parsers.JSONInputParser = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.collections.parsers.JSONInputParser.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'JSONInputParser',
-                qName: 'org.apache.flex.collections.parsers.JSONInputParser'}] };
-
-
-/**
- * @export
- * @param {string} s The input string.
- * @return {Array.<string>} The Array of unparsed objects.
- */
-org.apache.flex.collections.parsers.JSONInputParser.prototype.parseItems = function(s) {
-  var c = s.indexOf('[');
-  if (c != -1) {
-    var c2 = s.lastIndexOf(']');
-    s = s.substring(c + 1, c2);
-  }
-  return s.split('},');
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/Application.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/Application.js b/frameworks/projects/Core/js/src/org/apache/flex/core/Application.js
deleted file mode 100644
index 2887da2..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/Application.js
+++ /dev/null
@@ -1,176 +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.core.Application');
-
-goog.require('org.apache.flex.core.HTMLElementWrapper');
-goog.require('org.apache.flex.core.IParent');
-goog.require('org.apache.flex.core.IValuesImpl');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.utils.MXMLDataInterpreter');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.HTMLElementWrapper}
- */
-org.apache.flex.core.Application = function() {
-  org.apache.flex.core.Application.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.core.Application,
-    org.apache.flex.core.HTMLElementWrapper);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.Application.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Application',
-                qName: 'org.apache.flex.core.Application' }],
-      interfaces: [org.apache.flex.core.IParent] };
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.core.Application.prototype.controller_ = null;
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.core.Application.prototype.initialView_ = null;
-
-
-/**
- * @private
- * @type {org.apache.flex.events.EventDispatcher}
- */
-org.apache.flex.core.Application.prototype.model_ = null;
-
-
-/**
- * @export
- */
-org.apache.flex.core.Application.prototype.start = function() {
-  this.element = document.getElementsByTagName('body')[0];
-  this.element.flexjs_wrapper = this;
-  this.element.className = 'Application';
-  if (!this.element.style.overflow)
-    this.element.style.overflow = 'hidden';
-
-  org.apache.flex.utils.MXMLDataInterpreter.generateMXMLInstances(this, null, this.MXMLDescriptor);
-
-  this.dispatchEvent('initialize');
-
-  if (this.model) this.addBead(this.model);
-  if (this.controller) this.addBead(this.controller);
-
-  this.initialView.applicationModel = this.model;
-  this.addElement(this.initialView);
-  if (!isNaN(this.initialView.percentWidth) || !isNaN(this.initialView.percentHeight)) {
-    this.element.style.height = window.innerHeight.toString() + 'px';
-    this.element.style.width = window.innerWidth.toString() + 'px';
-    this.initialView.dispatchEvent('sizeChanged'); // kick off layout if % sizes
-  }
-  this.dispatchEvent('viewChanged');
-};
-
-
-/**
- * @export
- * @param {Array} data The data for the attributes.
- */
-org.apache.flex.core.Application.prototype.generateMXMLAttributes = function(data) {
-  org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties(this, data);
-};
-
-
-/**
- * @param {Object} c The child element.
- */
-org.apache.flex.core.Application.prototype.addElement =
-    function(c) {
-  this.element.appendChild(c.element);
-  c.addedToParent();
-};
-
-
-Object.defineProperties(org.apache.flex.core.Application.prototype,
-  /** @lends {org.apache.flex.core.Application.prototype} */ {
-  /** @export */
-  valuesImpl: {
-      /** @this {org.apache.flex.core.Application} */
-      set: function(value) {
-          org.apache.flex.core.ValuesManager.valuesImpl = value;
-          if (value.init) {
-            value.init(this);
-          }
-      }
-  },
-  /** @export */
-  MXMLDescriptor: {
-      /** @this {org.apache.flex.core.Application} */
-      get: function() {
-          return null;
-      }
-  },
-  /** @export */
-  controller: {
-    /** @this {org.apache.flex.core.Application} */
-    get: function() {
-      return this.controller_;
-    },
-
-    /** @this {org.apache.flex.core.Application} */
-    set: function(value) {
-      if (value != this.controller_) {
-        this.controller_ = value;
-      }
-    }
-  },
-  /** @export */
-  initialView: {
-    /** @this {org.apache.flex.core.Application} */
-    get: function() {
-      return this.initialView_;
-    },
-
-    /** @this {org.apache.flex.core.Application} */
-    set: function(value) {
-      if (value != this.initialView_) {
-        this.initialView_ = value;
-      }
-    }
-  },
-  /** @export */
-  model: {
-    /** @this {org.apache.flex.core.Application} */
-    get: function() {
-      return this.model_;
-    },
-
-    /** @this {org.apache.flex.core.Application} */
-    set: function(value) {
-      if (value != this.model_) {
-        this.model_ = value;
-      }
-    }
-  }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/BeadViewBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/BeadViewBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/BeadViewBase.js
deleted file mode 100644
index f2efed2..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/BeadViewBase.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.core.BeadViewBase');
-
-goog.require('org.apache.flex.core.IBeadView');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @implements {org.apache.flex.core.IBeadView}
- */
-org.apache.flex.core.BeadViewBase = function() {
-    org.apache.flex.core.BeadViewBase.base(this, 'constructor');
-  };
-goog.inherits(
-              org.apache.flex.core.BeadViewBase,
-              org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.BeadViewBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BeadViewBase',
-                qName: 'org.apache.flex.core.BeadViewBase'}],
-    interfaces: [org.apache.flex.core.IBeadView]};
-
-
-/**
- * @type {Object}
- */
-org.apache.flex.core.BeadViewBase.prototype._strand = null;
-
-
-Object.defineProperties(org.apache.flex.core.BeadViewBase.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.core.BeadViewBase} */
-        set: function(value) {
-            if (this._strand !== value) {
-              this._strand = value;
-            }
-        }
-    },
-    /** @export */
-    host: {
-        /** @this {org.apache.flex.core.BeadViewBase} */
-        get: function() {
-            return this._strand;
-        }
-    }
-});
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserResizeListener.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserResizeListener.js b/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserResizeListener.js
deleted file mode 100644
index 1e16897..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserResizeListener.js
+++ /dev/null
@@ -1,78 +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.core.BrowserResizeListener');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.BrowserResizeListener = function() {
-  this.strand_ = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.BrowserResizeListener.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BrowserResizeListener',
-                qName: 'org.apache.flex.core.BrowserResizeListener'}]};
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.BrowserResizeListener.prototype.minHeight = NaN;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.BrowserResizeListener.prototype.minWidth = NaN;
-
-
-/**
- * @param {Event} e The event.
- */
-org.apache.flex.core.BrowserResizeListener.prototype.resizeHandler = function(e) {
-  var initialView = this.strand_.initialView;
-  var element = this.strand_.element;
-  if (!isNaN(initialView.percentWidth) || !isNaN(initialView.percentHeight)) {
-    element.style.height = window.innerHeight.toString() + 'px';
-    element.style.width = window.innerWidth.toString() + 'px';
-    initialView.dispatchEvent('sizeChanged'); // kick off layout if % sizes
-  }
-};
-
-
-Object.defineProperties(org.apache.flex.core.BrowserResizeListener.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.core.BrowserResizeListener} */
-        set: function(value) {
-            this.strand_ = value;
-            window.addEventListener('resize',
-                    goog.bind(this.resizeHandler, this));
-            if (!isNaN(this.minWidth))
-              document.body.style.minWidth = this.minWidth.toString() + 'px';
-            if (!isNaN(this.minHeight))
-              document.body.style.minHeight = this.minHeight.toString() + 'px';
-            document.body.style.overflow = 'auto';
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserScroller.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserScroller.js b/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserScroller.js
deleted file mode 100644
index e6a4987..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserScroller.js
+++ /dev/null
@@ -1,55 +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.core.BrowserScroller');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.BrowserScroller = function() {
-  this.strand_ = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.BrowserScroller.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BrowserScroller',
-                qName: 'org.apache.flex.core.BrowserScroller'}]};
-
-
-/**
- * @param {Event} e The event.
- */
-org.apache.flex.core.BrowserScroller.prototype.viewChangedHandler = function(e) {
-  this.strand_.element.style.overflow = 'auto';
-};
-
-
-Object.defineProperties(org.apache.flex.core.BrowserScroller.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.core.BrowserScroller} */
-        set: function(value) {
-            this.strand_ = value;
-            value.addEventListener('viewChanged',
-                    goog.bind(this.viewChangedHandler, this));
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserWindow.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserWindow.js b/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserWindow.js
deleted file mode 100644
index 3b54922..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserWindow.js
+++ /dev/null
@@ -1,45 +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.core.BrowserWindow');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.BrowserWindow = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.BrowserWindow.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BrowserWindow',
-                qName: 'org.apache.flex.core.BrowserWindow'}]};
-
-
-/**
- * @export
- * @param {string} url The url.
- * @param {string} options The window name.
- */
-org.apache.flex.core.BrowserWindow.open = function(url, options) {
-  window.open(url, options);
-};
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/CSSFontFaceBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/CSSFontFaceBead.js b/frameworks/projects/Core/js/src/org/apache/flex/core/CSSFontFaceBead.js
deleted file mode 100644
index c81dfbf..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/CSSFontFaceBead.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.core.CSSFontFaceBead');
-
-
-
-/**
- * @constructor
- * This is just a stub.
- */
-org.apache.flex.core.CSSFontFaceBead = function() {
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.strand_ = null;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.CSSFontFaceBead.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'CSSFontFaceBead',
-                qName: 'org.apache.flex.core.CSSFontFaceBead'}] };
-
-
-Object.defineProperties(org.apache.flex.core.CSSFontFaceBead.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.core.CSSFontFaceBead} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-            }
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/CallLaterBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/CallLaterBead.js b/frameworks/projects/Core/js/src/org/apache/flex/core/CallLaterBead.js
deleted file mode 100644
index 997a750..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/CallLaterBead.js
+++ /dev/null
@@ -1,93 +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.core.CallLaterBead');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.CallLaterBead = function() {
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.strand_ = null;
-
-  /**
-   * @private
-   * @type {Array}
-   */
-  this.calls_ = null;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.CallLaterBead.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'CallLaterBead.js',
-                qName: 'org.apache.flex.core.CallLaterBead'}] };
-
-
-Object.defineProperties(org.apache.flex.core.CallLaterBead.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.GenericBinding} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-            }
-        }
-    }
-});
-
-
-/**
- * @param {Function} fn The fucntion to call later.
- * @param {Array=} opt_args The optional array of arguments.
- * @param {Object=} opt_thisArg The optional 'this' object.
- */
-org.apache.flex.core.CallLaterBead.prototype.callLater =
-    function(fn, opt_args, opt_thisArg) {
-
-  if (this.calls_ == null)
-    this.calls_ = [{thisArg: opt_thisArg, fn: fn, args: opt_args }];
-  else
-    this.calls_.push({thisArg: opt_thisArg, fn: fn, args: opt_args });
-
-  window.setTimeout(goog.bind(this.callback, this), 0);
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.core.CallLaterBead.prototype.callback =
-    function() {
-  var list = this.calls_;
-  var n = list.length;
-  for (var i = 0; i < n; i++)
-  {
-     var call = list.shift();
-     var fn = call.fn;
-     fn.apply(call.thisArg, call.args);
-  }
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.js
deleted file mode 100644
index 385c7ef..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ClassFactory.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.core.ClassFactory');
-
-goog.require('org.apache.flex.core.IFactory');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IFactory}
- * @param {Function} generator The class definition to use for newInstance.
- */
-org.apache.flex.core.ClassFactory = function(generator) {
-  /**
-   * @private
-   * @type {Function}
-   */
-  this.generator_ = generator;
-  this.properties_ = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ClassFactory.prototype.
-    FLEXJS_CLASS_INFO =
-        { names: [{ name: 'ClassFactory',
-           qName: 'org.apache.flex.core.ClassFactory' }],
-    interfaces: [org.apache.flex.core.IFactory] };
-
-
-/**
- * @export
- * @return {Object} The new instance of the class described by generator.
- */
-org.apache.flex.core.ClassFactory.
-    prototype.newInstance = function() {
-  var obj = new this.generator_();
-
-  if (this.properties_) {
-    var prop;
-    for (prop in this.properties_) {
-      obj[prop] = this.properties_[prop];
-    }
-  }
-
-  return obj;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
deleted file mode 100644
index 4d409e4..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
+++ /dev/null
@@ -1,378 +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.core.ContainerBase');
-
-goog.require('org.apache.flex.core.ContainerBaseStrandChildren');
-goog.require('org.apache.flex.core.IContentViewHost');
-goog.require('org.apache.flex.core.IMXMLDocument');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.core.ValuesManager');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- * @implements {org.apache.flex.core.IMXMLDocument}
- * @implements {org.apache.flex.core.IContentViewHost}
- */
-org.apache.flex.core.ContainerBase = function() {
-  this.mxmlProperties = null;
-  org.apache.flex.core.ContainerBase.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {boolean}
-   */
-  this.initialized_ = false;
-
-  /**
-   * @private
-   * @type {Array}
-   */
-  this.states_ = null;
-
-  /**
-   * @private
-   * @type {Array}
-   */
-  this.transitions_ = null;
-
-  /**
-   * @private
-   * @type {?String}
-   */
-  this.currentState_ = null;
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.strandChildren_ = new org.apache.flex.core.ContainerBaseStrandChildren(this);
-
-  this.document = this;
-
-};
-goog.inherits(org.apache.flex.core.ContainerBase,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * @export
- */
-org.apache.flex.core.ContainerBase.prototype.mxmlContent = null;
-
-
-/**
- * @export
- * @type {Array}
- */
-org.apache.flex.core.ContainerBase.prototype.mxmlDescriptor = null;
-
-
-/**
- * @export
- * @type {Array}
- */
-org.apache.flex.core.ContainerBase.prototype.mxmlsd = null;
-
-
-/**
- * @export
- * @type {boolean}
- */
-org.apache.flex.core.ContainerBase.prototype.supportsChrome = true;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ContainerBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ContainerBase',
-                qName: 'org.apache.flex.core.ContainerBase'}] ,
-      interfaces: [org.apache.flex.core.IMXMLDocument,
-                   org.apache.flex.core.IContentViewHost]};
-
-
-/**
- * @override
- */
-org.apache.flex.core.ContainerBase.prototype.addedToParent = function() {
-  org.apache.flex.core.ContainerBase.base(this, 'addedToParent');
-
-  if (!this.initialized_) {
-    org.apache.flex.utils.MXMLDataInterpreter.generateMXMLInstances(this.document,
-        this, this.MXMLDescriptor);
-
-    this.dispatchEvent('initBindings');
-    this.dispatchEvent('initComplete');
-    this.initialized_ = true;
-  }
-//??  this.dispatchEvent('childrenAdded');
-};
-
-
-/**
- * @export
- * @param {Array} data The data for the attributes.
- */
-org.apache.flex.core.ContainerBase.prototype.generateMXMLAttributes = function(data) {
-  org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties(this, data);
-};
-
-
-/**
- * @export
- * @param {Object} doc The document.
- * @param {Array} desc The descriptor data.
- */
-org.apache.flex.core.ContainerBase.prototype.setMXMLDescriptor =
-    function(doc, desc) {
-  this.mxmlDescriptor = desc;
-  this.document = doc;
-};
-
-
-/**
- * @override
- * @param {Object} c
- * @param {boolean=} opt_dispatchEvent
- */
-org.apache.flex.core.ContainerBase.prototype.addElement = function(c, opt_dispatchEvent) {
-  if (opt_dispatchEvent === undefined)
-    opt_dispatchEvent = true;
-
-  var contentView = this.view;
-  if (contentView != null) {
-    contentView.addElement(c, opt_dispatchEvent);
-    if (opt_dispatchEvent)
-      this.dispatchEvent('childrenAdded');
-  }
-  else {
-    this.$addElement(c, opt_dispatchEvent);
-  }
-};
-
-
-/**
- * @override
- * @param {Object} c
- * @param {number} index
- * @param {boolean=} opt_dispatchEvent
- */
-org.apache.flex.core.ContainerBase.prototype.addElementAt = function(c, index, opt_dispatchEvent) {
-  if (opt_dispatchEvent === undefined)
-    opt_dispatchEvent = true;
-
-  var contentView = this.view;
-  if (contentView != null) {
-    contentView.addElementAt(c, index, opt_dispatchEvent);
-    if (opt_dispatchEvent)
-      this.dispatchEvent('childrenAdded');
-  }
-  else {
-    this.$addElementAt(c, index, opt_dispatchEvent);
-  }
-};
-
-
-/**
- * @override
- */
-org.apache.flex.core.ContainerBase.prototype.getElementAt = function(index) {
-  var contentView = this.view;
-  if (contentView != null) {
-    return contentView.getElementAt(index);
-  } else {
-    return this.$getElementAt(index);
-  }
-};
-
-
-/**
- * @override
- * @param {Object} c
- * @param {boolean=} opt_dispatchEvent
- */
-org.apache.flex.core.ContainerBase.prototype.removeElement = function(c, opt_dispatchEvent) {
-  var contentView = this.view;
-  if (contentView != null) {
-    contentView.removeElement(c, opt_dispatchEvent);
-    if (opt_dispatchEvent)
-      this.dispatchEvent('childrenRemoved');
-  } else {
-    this.$removeElement(c, opt_dispatchEvent);
-  }
-};
-
-
-/**
- * @override
- */
-org.apache.flex.core.ContainerBase.prototype.getElementIndex = function(c) {
-  var contentView = this.view;
-  if (contentView != null) {
-    return contentView.getElementIndex(c);
-  } else {
-    return this.$getElementIndex(c);
-  }
-};
-
-
-/**
- * @expose
- * @return {number} The number of raw elements.
- */
-org.apache.flex.core.ContainerBase.prototype.$numElements = function() {
-  return this.internalChildren().length;
-};
-
-
-/**
- * @expose
- * @param {Object} c The element to add.
- * @param {boolean=} opt_dispatchEvent If true, an event is dispatched.
- */
-org.apache.flex.core.ContainerBase.prototype.$addElement = function(c, opt_dispatchEvent) {
-  if (opt_dispatchEvent === undefined)
-    opt_dispatchEvent = true;
-  this.element.appendChild(c.positioner);
-  c.addedToParent();
-};
-
-
-/**
- * @expose
- * @param {Object} c The element to add.
- * @param {number} index The index of the element.
- * @param {boolean=} opt_dispatchEvent If true, an event is dispatched.
- */
-org.apache.flex.core.ContainerBase.prototype.$addElementAt = function(c, index, opt_dispatchEvent) {
-  if (opt_dispatchEvent === undefined)
-    opt_dispatchEvent = true;
-  var children1 = this.internalChildren();
-  if (index >= children1.length) {
-    this.$addElement(c, false);
-  } else {
-    this.element.insertBefore(c.positioner,
-        children1[index]);
-    c.addedToParent();
-  }
-};
-
-
-/**
- * @expose
- * @param {Object} c The element to add.
- * @param {boolean=} opt_dispatchEvent If true, an event is dispatched.
- */
-org.apache.flex.core.ContainerBase.prototype.$removeElement = function(c, opt_dispatchEvent) {
-  this.element.removeChild(c.element);
-};
-
-
-/**
- * @expose
- * @param {number} index The index of the number.
- * @return {Object} The element at the given index.
- */
-org.apache.flex.core.ContainerBase.prototype.$getElementAt = function(index) {
-  var children = this.internalChildren();
-  return children[index].flexjs_wrapper;
-};
-
-
-/**
- * @expose
- * @param {Object} c The element being queried.
- * @return {number} The index of the element.
- */
-org.apache.flex.core.ContainerBase.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;
-};
-
-
-Object.defineProperties(org.apache.flex.core.ContainerBase.prototype, {
-    /** @export */
-    MXMLDescriptor: {
-        /** @this {org.apache.flex.core.ContainerBase} */
-        get: function() {
-            return this.mxmlDescriptor;
-        }
-    },
-    /** @export */
-    states: {
-        /** @this {org.apache.flex.core.ContainerBase} */
-        get: function() {
-            return this.states_;
-        },
-        /** @this {org.apache.flex.core.ContainerBase} */
-        set: function(s) {
-            this.states_ = s;
-            this.currentState_ = s[0].name;
-
-            if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-              /**
-               * @type {Function}
-               */
-              var impl = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.
-                  getValue(this, 'iStatesImpl'));
-              // TODO: (aharui) check if bead already exists
-              this.addBead(new impl());
-            }
-        }
-    },
-    /** @export */
-    currentState: {
-        /** @this {org.apache.flex.core.ContainerBase} */
-        get: function() {
-             return this.currentState_;
-        },
-        /** @this {org.apache.flex.core.ContainerBase} */
-        set: function(s) {
-             var event = new org.apache.flex.events.ValueChangeEvent(
-                  'currentStateChange', false, false, this.currentState_, s);
-             this.currentState_ = s;
-             this.dispatchEvent(event);
-        }
-    },
-    /** @export */
-    transitions: {
-        /** @this {org.apache.flex.core.ContainerBase} */
-        get: function() {
-             return this.transitions_;
-        },
-        /** @this {org.apache.flex.core.ContainerBase} */
-        set: function(s) {
-           this.transitions_ = s;
-        }
-    },
-    /** @export */
-    strandChildren: {
-        /** @this {org.apache.flex.core.ContainerBase} */
-        get: function() {
-             return this.strandChildren_;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBaseStrandChildren.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBaseStrandChildren.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBaseStrandChildren.js
deleted file mode 100644
index 51ac09a..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBaseStrandChildren.js
+++ /dev/null
@@ -1,112 +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.core.ContainerBaseStrandChildren');
-
-goog.require('org.apache.flex.core.IParent');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IParent}
- * @param {Object} owner The base owner of this object.
- */
-org.apache.flex.core.ContainerBaseStrandChildren = function(owner) {
-  this.owner_ = owner;
-};
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.core.ContainerBaseStrandChildren.prototype.owner_ = null;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.ContainerBaseStrandChildren.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ContainerBaseStrandChildren',
-                qName: 'org.apache.flex.core.ContainerBaseStrandChildren'}] ,
-      interfaces: [org.apache.flex.core.IParent]};
-
-
-/**
- * @export
- * @return {number} The number of non-content children elements
- */
-org.apache.flex.core.ContainerBaseStrandChildren.prototype.numElements =
-  function() {
-  return this.owner_.$numElements();
-};
-
-
-/**
- * @export
- * @param {Object} c The element to be added.
- * @param {boolean=} opt_dispatchEvent Whether or not to dispatch an event.
- */
-org.apache.flex.core.ContainerBaseStrandChildren.prototype.addElement =
-  function(c, opt_dispatchEvent) {
-  this.owner_.$addElement(c, opt_dispatchEvent);
-};
-
-
-/**
- * @export
- * @param {Object} c The element to be added.
- * @param {number} index The index of the new element.
- * @param {boolean=} opt_dispatchEvent Whether or not to dispatch an event.
- */
-org.apache.flex.core.ContainerBaseStrandChildren.prototype.addElementAt =
-  function(c, index, opt_dispatchEvent) {
-  this.owner_.$addElementAt(c, index, opt_dispatchEvent);
-};
-
-
-/**
- * @export
- * @param {Object} c The element to be removed.
- * @param {boolean=} opt_dispatchEvent Whether or not to dispatch an event.
- */
-org.apache.flex.core.ContainerBaseStrandChildren.prototype.removeElement =
-  function(c, opt_dispatchEvent) {
-  this.owner_.$removeElement(c, opt_dispatchEvent);
-};
-
-
-/**
- * @export
- * @param {number} index The index of the element sought.
- * @return {Object} The element at the given index.
- */
-org.apache.flex.core.ContainerBaseStrandChildren.prototype.getElementAt =
-  function(index) {
-  return this.owner_.$getElementAt(index);
-};
-
-
-/**
- * @export
- * @param {Object} c The element in question.
- * @return {number} The index of the element.
- */
-org.apache.flex.core.ContainerBaseStrandChildren.prototype.getElementIndex =
-  function(c) {
-  return this.owner_.$getElementIndex(c);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/DataBindingBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/DataBindingBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/DataBindingBase.js
deleted file mode 100644
index 4d149e9..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/DataBindingBase.js
+++ /dev/null
@@ -1,34 +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.core.DataBindingBase');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.DataBindingBase = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.DataBindingBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'DataBindingBase',
-                qName: 'org.apache.flex.core.DataBindingBase'}] };
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/FilledRectangle.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/FilledRectangle.js b/frameworks/projects/Core/js/src/org/apache/flex/core/FilledRectangle.js
deleted file mode 100644
index c4121e7..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/FilledRectangle.js
+++ /dev/null
@@ -1,86 +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.core.FilledRectangle');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.core.FilledRectangle = function() {
-  org.apache.flex.core.FilledRectangle.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.fillColor_ = 0;
-};
-goog.inherits(org.apache.flex.core.FilledRectangle,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.FilledRectangle.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'FilledRectangle',
-                qName: 'org.apache.flex.core.FilledRectangle' }] };
-
-
-/**
- * @override
- */
-org.apache.flex.core.FilledRectangle.prototype.addedToParent = function() {
-  org.apache.flex.core.FilledRectangle.base(this, 'addedToParent');
-  this.drawRect(this.x, this.y, this.width, this.height);
-};
-
-
-Object.defineProperties(org.apache.flex.core.FilledRectangle.prototype, {
-    /** @export */
-    fillColor: {
-        /** @this {org.apache.flex.core.FilledRectangle} */
-        get: function() {
-             return this.fillColor_;
-        },
-        /** @this {org.apache.flex.core.FilledRectangle} */
-        set: function(value) {
-             this.fillColor_ = value;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} x The left coordinate.
- * @param {number} y The top coordinate.
- * @param {number} width The width.
- * @param {number} height The height.
- */
-org.apache.flex.core.UIBase.prototype.drawRect = function(x, y, width, height) {
-  this.element.style.position = 'absolute';
-  this.element.style.backgroundColor = '#' + this.fillColor_.toString(16);
-  if (!isNaN(x)) this.x = x;
-  if (!isNaN(y)) this.y = y;
-  if (!isNaN(width)) this.width = width;
-  if (!isNaN(height)) this.height = height;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js b/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js
deleted file mode 100644
index c9b82bf..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js
+++ /dev/null
@@ -1,177 +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.core.HTMLElementWrapper');
-
-goog.require('org.apache.flex.core.IBeadModel');
-goog.require('org.apache.flex.core.IStrand');
-goog.require('org.apache.flex.events.BrowserEvent');
-goog.require('org.apache.flex.events.EventDispatcher');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- */
-org.apache.flex.core.HTMLElementWrapper = function() {
-  org.apache.flex.core.HTMLElementWrapper.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.core.HTMLElementWrapper,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.HTMLElementWrapper.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'HTMLElementWrapper',
-                qName: 'org.apache.flex.core.HTMLElementWrapper' }],
-      interfaces: [org.apache.flex.core.IStrand] };
-
-
-/**
- * @export
- * @type {EventTarget}
- */
-org.apache.flex.core.HTMLElementWrapper.prototype.element = null;
-
-
-/**
- * @protected
- * @type {Array.<Object>}
- */
-org.apache.flex.core.HTMLElementWrapper.prototype._beads = null;
-
-
-/**
- * Used internally by layouts.
- * @type {string}
- */
-org.apache.flex.core.HTMLElementWrapper.prototype.internalDisplay = 'block';
-
-
-/**
- * @export
- * @param {Object} bead The new bead.
- */
-org.apache.flex.core.HTMLElementWrapper.prototype.addBead = function(bead) {
-  if (!this.beads_) {
-    this.beads_ = [];
-  }
-
-  this.beads_.push(bead);
-
-  if (org.apache.flex.utils.Language.is(bead, org.apache.flex.core.IBeadModel)) {
-    this.model = bead;
-  }
-
-  bead.strand = this;
-};
-
-
-/**
- * @export
- * @param {!Object} classOrInterface The requested bead type.
- * @return {Object} The bead.
- */
-org.apache.flex.core.HTMLElementWrapper.prototype.getBeadByType =
-    function(classOrInterface) {
-  var bead, i, n;
-
-  n = this.beads_.length;
-  for (i = 0; i < n; i++) {
-    bead = this.beads_[i];
-
-    if (org.apache.flex.utils.Language.is(bead, classOrInterface)) {
-      return bead;
-    }
-  }
-
-  return null;
-};
-
-
-Object.defineProperties(org.apache.flex.core.HTMLElementWrapper.prototype, {
-    /** @export */
-    MXMLDescriptor: {
-        get: function() {
-            return null;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {Object} bead The bead to remove.
- * @return {Object} The bead.
- */
-org.apache.flex.core.HTMLElementWrapper.prototype.removeBead = function(bead) {
-  var i, n, value;
-
-  n = this.beads_.length;
-  for (i = 0; i < n; i++) {
-    value = this.beads_[i];
-
-    if (bead === value) {
-      this.beads_.splice(i, 1);
-
-      return bead;
-    }
-  }
-
-  return null;
-};
-
-
-/**
- * @type {?function((goog.events.Listener), (?Object)):boolean}
- */
-org.apache.flex.core.HTMLElementWrapper.googFireListener = null;
-
-
-/**
- * Fires a listener with a set of arguments
- *
- * @param {goog.events.Listener} listener The listener object to call.
- * @param {Object} eventObject The event object to pass to the listener.
- * @return {boolean} Result of listener.
- */
-org.apache.flex.core.HTMLElementWrapper.fireListenerOverride = function(listener, eventObject) {
-  var e = new org.apache.flex.events.BrowserEvent();
-  e.wrappedEvent = /** @type {goog.events.BrowserEvent} */ (eventObject);
-  return org.apache.flex.core.HTMLElementWrapper.googFireListener(listener, e);
-};
-
-
-/**
- * Static initializer
- */
-org.apache.flex.core.HTMLElementWrapper.installOverride = function() {
-  org.apache.flex.core.HTMLElementWrapper.googFireListener =
-      goog.events.fireListener;
-  goog.events.fireListener = org.apache.flex.core.HTMLElementWrapper.fireListenerOverride;
-};
-
-
-/**
- * The properties that triggers the static initializer
- */
-org.apache.flex.core.HTMLElementWrapper.installedOverride =
-    org.apache.flex.core.HTMLElementWrapper.installOverride();
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IBead.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IBead.js
deleted file mode 100644
index 0a25bd5..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IBead.js
+++ /dev/null
@@ -1,49 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IBead');
-
-
-
-/**
- * IBead
- *
- * @interface
- */
-org.apache.flex.core.IBead = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IBead.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IBead',
-                qName: 'org.apache.flex.core.IBead' }] };
-
-
-Object.defineProperties(org.apache.flex.core.IBead.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.core.IBead} */
-        set: function(value) {}
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadController.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadController.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadController.js
deleted file mode 100644
index 8537592..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadController.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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IBeadController');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBead}
- */
-org.apache.flex.core.IBeadController = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IBeadController.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IBeadController',
-                qName: 'org.apache.flex.core.IBeadController' }],
-      interfaces: [org.apache.flex.core.IBead] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadLayout.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadLayout.js
deleted file mode 100644
index 95fdc61..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadLayout.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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IBeadLayout');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBead}
- */
-org.apache.flex.core.IBeadLayout = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IBeadLayout.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IBeadLayout',
-                qName: 'org.apache.flex.core.IBeadLayout' }],
-      interfaces: [org.apache.flex.core.IBead] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadModel.js
deleted file mode 100644
index eddad4b..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadModel.js
+++ /dev/null
@@ -1,45 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IBeadModel');
-
-goog.require('org.apache.flex.core.IBead');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBead}
- * @extends {org.apache.flex.events.IEventDispatcher}
- */
-org.apache.flex.core.IBeadModel = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IBeadModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IBeadModel',
-                qName: 'org.apache.flex.core.IBeadModel' }],
-      interfaces: [org.apache.flex.core.IBead,
-                   org.apache.flex.events.IEventDispatcher] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadView.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadView.js
deleted file mode 100644
index 5cac33f..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IBeadView.js
+++ /dev/null
@@ -1,38 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IBeadView');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IBeadView = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IBeadView.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IBeadView',
-                qName: 'org.apache.flex.core.IBeadView' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IChild.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IChild.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IChild.js
deleted file mode 100644
index 5c66441..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IChild.js
+++ /dev/null
@@ -1,49 +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.
- */
-
-/**
- * org.apache.flex.core.IChild
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IChild');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IChild = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.IChild.prototype, {
-    /** @export */
-    parent: {
-        get: function() {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IChild.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IChild', qName: 'org.apache.flex.core.IChild'}]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IChrome.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IChrome.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IChrome.js
deleted file mode 100644
index 46d9f6b..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IChrome.js
+++ /dev/null
@@ -1,31 +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.
- */
-
-/**
- * org.apache.flex.core.IChrome
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IChrome');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IChrome = function() {
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js
deleted file mode 100644
index 6df12dc..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js
+++ /dev/null
@@ -1,52 +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.
- */
-
-/**
- * org.apache.flex.core.IContainer
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IContainer');
-
-goog.require('org.apache.flex.core.IParent');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IParent}
- */
-org.apache.flex.core.IContainer = function() {
-};
-
-
-/**
- * Called after all of the children have been added to the container.
- * @return {void}
- */
-org.apache.flex.core.IContainer.prototype.childrenAdded = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IContainer.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IContainer', qName: 'org.apache.flex.core.IContainer'}],
-  interfaces: [org.apache.flex.core.IParent]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IContainerView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IContainerView.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IContainerView.js
deleted file mode 100644
index 4b74c52..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IContainerView.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.
- */
-
-/**
- * org.apache.flex.core.IContainerView
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IContainerView');
-
-goog.require('org.apache.flex.core.IParent');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IContainerView = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IContainerView.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IContainerView', qName: 'org.apache.flex.core.IContainerView'}],
-  interfaces: [org.apache.flex.core.IParent]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IContentView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IContentView.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IContentView.js
deleted file mode 100644
index 890334a..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IContentView.js
+++ /dev/null
@@ -1,79 +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.
- */
-
-/**
- * org.apache.flex.core.IContentView
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IContentView');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IContentView = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.IContentView.prototype, {
-    /** @export */
-    x: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    y: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    width: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    height: {
-        get: function() {},
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Adds a new element to component.
- * @param {Object} value The child element being added.
- */
-org.apache.flex.core.IContentView.prototype.addElement = function(value) {};
-
-
-/**
- * Removes all of the component's children.
- * @return {void}
- */
-org.apache.flex.core.IContentView.prototype.removeAllElements = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IContentView.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IContentView', qName: 'org.apache.flex.core.IContentView'}]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IContentViewHost.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IContentViewHost.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IContentViewHost.js
deleted file mode 100644
index 708e532..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IContentViewHost.js
+++ /dev/null
@@ -1,52 +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.
- */
-
-/**
- * org.apache.flex.core.IContentViewHost
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IContentViewHost');
-
-goog.require('org.apache.flex.core.IParent');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IContentViewHost = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.IContentViewHost.prototype, {
-    /** @export */
-    strandChildren: {
-        get: function() {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IContentViewHost.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IContentViewHost', qName: 'org.apache.flex.core.IContentViewHost'}],
-  interfaces: [org.apache.flex.core.IParent]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IDataProviderItemRendererMapper.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IDataProviderItemRendererMapper.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IDataProviderItemRendererMapper.js
deleted file mode 100644
index bde81e0..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IDataProviderItemRendererMapper.js
+++ /dev/null
@@ -1,53 +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.
- */
-
-/**
- * org.apache.flex.html.beads.IDataProviderItemRendererMapper
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IDataProviderItemRendererMapper');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBead}
- */
-org.apache.flex.core.IDataProviderItemRendererMapper =
-function() {
-};
-
-
-/**
- * @export
- */
-org.apache.flex.core.IDataProviderItemRendererMapper.prototype.itemRendererFactory = null;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IDataProviderItemRendererMapper.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IDataProviderItemRendererMapper',
-             qName: 'org.apache.flex.core.IDataProviderItemRendererMapper'}],
-  interfaces: [org.apache.flex.core.IBead]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IDocument.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IDocument.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IDocument.js
deleted file mode 100644
index 36b4f72..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IDocument.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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IDocument');
-
-
-
-/**
- * IDocument
- *
- * @interface
- */
-org.apache.flex.core.IDocument = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IDocument.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IDocument',
-                qName: 'org.apache.flex.core.IDocument' }] };
-
-
-/**
- * setDocument()
- *
- * @export
- * @param {Object} document The DOM document element.
- * @param {string=} opt_id The id (optional).
- */
-org.apache.flex.core.IDocument.prototype.setDocument =
-    function(document, opt_id) {};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IEffectTimer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IEffectTimer.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IEffectTimer.js
deleted file mode 100644
index 5880318..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IEffectTimer.js
+++ /dev/null
@@ -1,45 +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.
- */
-
-/**
- * org.apache.flex.core.IEffectTimer
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IEffectTimer');
-
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.events.IEventDispatcher}
- */
-org.apache.flex.core.IEffectTimer = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IEffectTimer.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IEffectTimer', qName: 'org.apache.flex.core.IEffectTimer'}],
-  interfaces: [org.apache.flex.events.IEventDispatcher]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
deleted file mode 100644
index dd3623c..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IFactory.js
+++ /dev/null
@@ -1,45 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IFactory');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IFactory = function() {
-};
-
-
-/**
- * @export
- * @return {Object} A new instance of the itemRenderer.
- */
-org.apache.flex.core.IFactory.prototype.newInstance = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IFactory.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IFactory',
-                qName: 'org.apache.flex.core.IFactory' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IFormatBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IFormatBead.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IFormatBead.js
deleted file mode 100644
index 12c0a0b..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IFormatBead.js
+++ /dev/null
@@ -1,62 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IFormatBead');
-
-goog.require('org.apache.flex.core.IBead');
-goog.require('org.apache.flex.events.IEventDispatcher');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBead}
- * @extends {org.apache.flex.events.IEventDispatcher}
- */
-org.apache.flex.core.IFormatBead = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.core.IFormatBead.prototype, {
-    /** @export */
-    propertyName: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    eventName: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    formattedString: {
-        get: function() {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IFormatBead.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'IFormatBead', qName: 'org.apache.flex.core.IFormatBead'}],
-  interfaces: [org.apache.flex.core.IBead, org.apache.flex.events.IEventDispatcher]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRenderer.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRenderer.js
deleted file mode 100644
index 6366f8e..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRenderer.js
+++ /dev/null
@@ -1,38 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IItemRenderer');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IItemRenderer = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IItemRenderer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IItemRenderer',
-                qName: 'org.apache.flex.core.IItemRenderer' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererClassFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererClassFactory.js
deleted file mode 100644
index 297121e..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererClassFactory.js
+++ /dev/null
@@ -1,38 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IItemRendererClassFactory');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IItemRendererClassFactory = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IItemRendererClassFactory.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IItemRendererClassFactory',
-                qName: 'org.apache.flex.core.IItemRendererClassFactory' }] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererFactory.js
deleted file mode 100644
index 100eccd..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IItemRendererFactory.js
+++ /dev/null
@@ -1,45 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.IItemRendererFactory');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.core.IItemRendererFactory = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.IItemRendererFactory.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IItemRendererFactory',
-                qName: 'org.apache.flex.core.IItemRendererFactory' }] };
-
-
-/**
- * @export
- * @return {Object} A new instance of the itemRenderer.
- */
-org.apache.flex.core.IItemRendererFactory.prototype.newInstance = function() {};


[02/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

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js
deleted file mode 100644
index 91d4371..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js
+++ /dev/null
@@ -1,94 +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.models.ListPresentationModel');
-
-goog.require('org.apache.flex.core.IListPresentationModel');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @implements {org.apache.flex.core.IListPresentationModel}
- */
-org.apache.flex.html.beads.models.ListPresentationModel =
-    function() {
-  org.apache.flex.html.beads.models.ListPresentationModel.base(this, 'constructor');
-  this.className = 'ListPresentationModel';
-};
-goog.inherits(
-    org.apache.flex.html.beads.models.ListPresentationModel,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * @private
- * @type {number}
- */
-org.apache.flex.html.beads.models.ListPresentationModel.prototype.rowHeight_ = 30;
-
-
-/**
- * @private
- * @type {number}
- */
-org.apache.flex.html.beads.models.ListPresentationModel.prototype.separatorThickness_ = 0;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.models.ListPresentationModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ListPresentationModel',
-                qName: 'org.apache.flex.html.beads.models.ListPresentationModel' }],
-      interfaces: [org.apache.flex.core.IListPresentationModel] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.models.ListPresentationModel.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.models.ListPresentationModel} */
-        set: function(value) {
-            this.strand_ = value;
-        }
-    },
-    /** @export */
-    rowHeight: {
-        /** @this {org.apache.flex.html.beads.models.ListPresentationModel} */
-        get: function() {
-            return this.rowHeight_;
-        },
-        /** @this {org.apache.flex.html.beads.models.ListPresentationModel} */
-        set: function(value) {
-            this.rowHeight_ = value;
-            this.dispatchEvent('rowHeightChanged');
-        }
-    },
-    /** @export */
-    separatorThickness: {
-        /** @this {org.apache.flex.html.beads.models.ListPresentationModel} */
-        get: function() {
-            return this.separatorThickness_;
-        },
-        /** @this {org.apache.flex.html.beads.models.ListPresentationModel} */
-        set: function(value) {
-            this.separatorThickness_ = value;
-            this.dispatchEvent('separatorThicknessChanged');
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/PanelModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/PanelModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/PanelModel.js
deleted file mode 100644
index 1a33077..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/PanelModel.js
+++ /dev/null
@@ -1,110 +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.models.PanelModel');
-
-goog.require('org.apache.flex.core.IBeadModel');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- */
-org.apache.flex.html.beads.models.PanelModel = function() {
-  org.apache.flex.html.beads.models.PanelModel.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.title_ = '';
-  /**
-   * @private
-   * @type {string}
-   */
-  this.htmlTitle_ = '';
-  /**
-   * @private
-   * @type {boolean}
-   */
-  this.showCloseButton_ = false;
-};
-goog.inherits(org.apache.flex.html.beads.models.PanelModel,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.models.PanelModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PanelModel',
-                qName: 'org.apache.flex.html.beads.models.PanelModel'}],
-      interfaces: [org.apache.flex.core.IBeadModel] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.models.PanelModel.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.models.PanelModel} */
-        set: function(value) {
-            this.strand_ = value;
-        }
-    },
-    /** @export */
-    title: {
-        /** @this {org.apache.flex.html.beads.models.PanelModel} */
-        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');
-            }
-        }
-    },
-    /** @export */
-    htmlTitle: {
-        /** @this {org.apache.flex.html.beads.models.PanelModel} */
-        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');
-            }
-        }
-    },
-    /** @export */
-    showCloseButton: {
-        /** @this {org.apache.flex.html.beads.models.PanelModel} */
-        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/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/RangeModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/RangeModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/RangeModel.js
deleted file mode 100644
index ec7ac92..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/RangeModel.js
+++ /dev/null
@@ -1,158 +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.models.RangeModel');
-
-goog.require('org.apache.flex.core.IBeadModel');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- */
-org.apache.flex.html.beads.models.RangeModel = function() {
-  org.apache.flex.html.beads.models.RangeModel.base(this, 'constructor');
-
-  this.minimum_ = 0;
-  this.maximum_ = 100;
-  this.value_ = 0;
-  this.snapInterval_ = 1;
-  this.stepSize_ = 1;
-};
-goog.inherits(org.apache.flex.html.beads.models.RangeModel,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.models.RangeModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'RangeModel',
-                qName: 'org.apache.flex.html.beads.models.RangeModel'}],
-      interfaces: [org.apache.flex.core.IBeadModel]};
-
-
-Object.defineProperties(org.apache.flex.html.beads.models.RangeModel.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.models.RangeModel} */
-        set: function(value) {
-            this.strand_ = value;
-        }
-    },
-    /** @export */
-    minimum: {
-        /** @this {org.apache.flex.html.beads.models.RangeModel} */
-        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');
-            }
-        }
-    },
-    /** @export */
-    maximum: {
-        /** @this {org.apache.flex.html.beads.models.RangeModel} */
-        get: function() {
-            return this.maximum_;
-        },
-        /** @this {org.apache.flex.html.beads.models.RangeModel} */
-        set: function(value) {
-            if (this.maximum_ != value) {
-              this.maximum_ = value;
-              this.dispatchEvent('maximumChange');
-            }
-        }
-    },
-    /** @export */
-    value: {
-        /** @this {org.apache.flex.html.beads.models.RangeModel} */
-        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');
-            }
-        }
-    },
-    /** @export */
-    snapInterval: {
-        /** @this {org.apache.flex.html.beads.models.RangeModel} */
-        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');
-            }
-        }
-    },
-    /** @export */
-    stepSize: {
-        /** @this {org.apache.flex.html.beads.models.RangeModel} */
-        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');
-            }
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} value The candidate number.
- * @return {number} Adjusted value.
- */
-org.apache.flex.html.beads.models.RangeModel.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/beads/models/TextModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/TextModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/TextModel.js
deleted file mode 100644
index 9e9967c..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/TextModel.js
+++ /dev/null
@@ -1,68 +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.models.TextModel');
-
-goog.require('org.apache.flex.core.ITextModel');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @implements {org.apache.flex.core.ITextModel}
- */
-org.apache.flex.html.beads.models.TextModel =
-    function() {
-  org.apache.flex.html.beads.models.TextModel.base(this, 'constructor');
-  this.className = 'TextModel';
-};
-goog.inherits(
-    org.apache.flex.html.beads.models.TextModel,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.models.TextModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextModel',
-                qName: 'org.apache.flex.html.beads.models.TextModel' }],
-      interfaces: [org.apache.flex.core.ITextModel] };
-
-
-Object.defineProperties(org.apache.flex.html.beads.models.TextModel.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.models.TextModel} */
-        set: function(value) {
-            this.strand_ = value;
-        }
-    },
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.beads.models.TextModel} */
-        get: function() {
-            return this.text_;
-        },
-        /** @this {org.apache.flex.html.beads.models.TextModel} */
-        set: function(value) {
-            this.text_ = value;
-            this.dispatchEvent('textChange');
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/TitleBarModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/TitleBarModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/TitleBarModel.js
deleted file mode 100644
index 3f59620..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/TitleBarModel.js
+++ /dev/null
@@ -1,112 +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.models.TitleBarModel');
-
-goog.require('org.apache.flex.core.IBeadModel');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @implements {org.apache.flex.core.IBeadModel}
- */
-org.apache.flex.html.beads.models.TitleBarModel = function() {
-  org.apache.flex.html.beads.models.TitleBarModel.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.title_ = '';
-  /**
-   * @private
-   * @type {string}
-   */
-  this.htmlTitle_ = '';
-  /**
-   * @private
-   * @type {boolean}
-   */
-  this.showCloseButton_ = false;
-};
-goog.inherits(org.apache.flex.html.beads.models.TitleBarModel,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.models.TitleBarModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'RangeModel',
-                qName: 'org.apache.flex.html.beads.models.TitleBarModel'}],
-      interfaces: [org.apache.flex.core.IBeadModel]
-    };
-
-
-Object.defineProperties(org.apache.flex.html.beads.models.TitleBarModel.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.models.TitleBarModel} */
-        set: function(value) {
-            this.strand_ = value;
-        }
-    },
-    /** @export */
-    title: {
-        /** @this {org.apache.flex.html.beads.models.TitleBarModel} */
-        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');
-            }
-        }
-    },
-    /** @export */
-    htmlTitle: {
-        /** @this {org.apache.flex.html.beads.models.TitleBarModel} */
-        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');
-            }
-        }
-    },
-    /** @export */
-    showCloseButton: {
-        /** @this {org.apache.flex.html.beads.models.TitleBarModel} */
-        get: function() {
-            return this.showCloseButton_;
-        },
-        /** @this {org.apache.flex.html.beads.models.TitleBarModel} */
-        set: function(value) {
-            if (this.showCloseButton_ != value) {
-              this.showCloseButton_ = value;
-              this.dispatchEvent('showCloseButtonChange');
-            }
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ViewportModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ViewportModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ViewportModel.js
deleted file mode 100644
index 8d01d77..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ViewportModel.js
+++ /dev/null
@@ -1,93 +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.models.ViewportModel');
-
-goog.require('org.apache.flex.core.IStrand');
-goog.require('org.apache.flex.core.IViewportModel');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @implements {org.apache.flex.core.IViewportModel}
- */
-org.apache.flex.html.beads.models.ViewportModel = function() {
-  org.apache.flex.html.beads.models.ViewportModel.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.beads.models.ViewportModel,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.beads.models.ViewportModel.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ViewportModel',
-                qName: 'org.apache.flex.html.beads.models.ViewportModel' }],
-    interfaces: [org.apache.flex.core.IViewportModel]
-    };
-
-
-/**
- * @private
- * @type {Object}
- */
-org.apache.flex.html.beads.models.ViewportModel.prototype.strand_ = null;
-
-
-/**
- * @type {org.apache.flex.geom.Rectangle}
- */
-org.apache.flex.html.beads.models.ViewportModel.prototype.borderMetrics = null;
-
-
-/**
- * @type {org.apache.flex.geom.Rectangle}
- */
-org.apache.flex.html.beads.models.ViewportModel.prototype.chromeMetrics = null;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.html.beads.models.ViewportModel.prototype.verticalScrollPosition = NaN;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.html.beads.models.ViewportModel.prototype.horizontalScrollPosition = NaN;
-
-
-Object.defineProperties(org.apache.flex.html.beads.models.ViewportModel.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.beads.models.ViewportModel} */
-        set: function(value) {
-            this.strand_ = value;
-         },
-        /** @this {org.apache.flex.html.beads.models.ViewportModel} */
-         get: function() {
-             return this.strand_;
-        }
-    }
-
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js
deleted file mode 100644
index 2275c68..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js
+++ /dev/null
@@ -1,105 +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.supportClasses.ButtonBarButtonItemRenderer');
-
-goog.require('org.apache.flex.html.beads.controllers.ItemRendererMouseController');
-goog.require('org.apache.flex.html.supportClasses.DataItemRenderer');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.supportClasses.DataItemRenderer}
- */
-org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer =
-    function() {
-  org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer,
-    org.apache.flex.html.supportClasses.DataItemRenderer);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ButtonBarButtonItemRenderer',
-                qName: 'org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer' }] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer.
-    prototype.createElement = function() {
-
-  this.element = document.createElement('div');
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  this.button = document.createElement('button');
-  this.button.style.width = '100%';
-  this.button.style.height = '100%';
-  this.element.appendChild(this.button);
-
-  this.element.flexjs_wrapper = this;
-  this.className = 'ButtonBarButtonItemRenderer';
-
-  // itemRenderers should provide something for the background to handle
-  // the selection and highlight
-  this.backgroundView = this.element;
-
-  this.controller = new org.apache.flex.html.beads.controllers.ItemRendererMouseController();
-  this.controller.strand = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer} */
-        set: function(value) {
-            this.strand_ = value;
-        },
-        /** @this {org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer} */
-        get: function() {
-            return this.strand_;
-        }
-    },
-    /** @export */
-    data: {
-        /** @this {org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(
-                org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer, this, 'data', value);
-
-            if (value.hasOwnProperty('label')) {
-              this.button.innerHTML = value.label;
-            }
-            else if (value.hasOwnProperty('title')) {
-              this.button.innerHTML = value.title;
-            }
-            else {
-              this.button.innerHTML = value;
-            }
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ContainerContentArea.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ContainerContentArea.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ContainerContentArea.js
deleted file mode 100644
index 011b73c..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ContainerContentArea.js
+++ /dev/null
@@ -1,80 +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.supportClasses.ContainerContentArea');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.supportClasses.ContainerContentArea =
-function() {
-  org.apache.flex.html.supportClasses.ContainerContentArea.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.supportClasses.ContainerContentArea,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.supportClasses.ContainerContentArea.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ContainerContentArea',
-                qName: 'org.apache.flex.html.supportClasses.ContainerContentArea' }]};
-
-
-/**
- * @override
- */
-org.apache.flex.html.supportClasses.ContainerContentArea.prototype.createElement =
-    function() {
-  this.element = document.createElement('div');
-  this.element.className = 'ContainerContentArea';
-
-  this.positioner = this.element;
-  // absolute positioned children need a non-null
-  // position value in the parent.  It might
-  // get set to 'absolute' if the container is
-  // also absolutely positioned
-  this.positioner.style.position = 'relative';
-  this.positioner.style.backgroundColor = 'transparent';
-  this.positioner.style.paddingLeft = 'inherit';
-  this.positioner.style.paddingRight = 'inherit';
-  this.positioner.style.paddingTop = 'inherit';
-  this.positioner.style.paddingBottom = 'inherit';
-  this.positioner.style.padding = 'inherit';
-  this.element.flexjs_wrapper = this;
-
-  this.addEventListener('layoutNeeded',
-      goog.bind(this.forwardEventHandler_, this));
-  return this.element;
-};
-
-
-/**
- * @private
- * @param {Object} e The Event.;
- */
-org.apache.flex.html.supportClasses.ContainerContentArea.prototype.forwardEventHandler_ =
-    function(e) {
-  if (this.parent)
-    this.parent.dispatchEvent(e);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js
deleted file mode 100644
index 9a48b33..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGridColumn.js
+++ /dev/null
@@ -1,75 +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.supportClasses.DataGridColumn');
-
-goog.require('org.apache.flex.core.IFactory');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.html.supportClasses.DataGridColumn =
-    function() {
-};
-
-
-Object.defineProperties(org.apache.flex.html.supportClasses.DataGridColumn.prototype, {
-    /** @export */
-    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;
-        }
-    },
-    /** @export */
-    columnWidth: {
-        /** @this {org.apache.flex.html.supportClasses.DataGridColumn} */
-        get: function() {
-            return this.columnWidth_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.DataGridColumn} */
-        set: function(value) {
-            this.columnWidth_ = value;
-        }
-    },
-    /** @export */
-    label: {
-        /** @this {org.apache.flex.html.supportClasses.DataGridColumn} */
-        get: function() {
-            return this.label_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.DataGridColumn} */
-        set: function(value) {
-            this.label_ = value;
-        }
-    },
-    /** @export */
-    dataField: {
-        /** @this {org.apache.flex.html.supportClasses.DataGridColumn} */
-        get: function() {
-            return this.dataField_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.DataGridColumn} */
-        set: function(value) {
-            this.dataField_ = value;
-        }
-    }
-});
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGroup.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGroup.js
deleted file mode 100644
index f1a5ea2..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataGroup.js
+++ /dev/null
@@ -1,138 +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.supportClasses.DataGroup');
-
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.html.supportClasses.DataItemRenderer');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.supportClasses.DataGroup =
-    function() {
-  this.renderers = [];
-  org.apache.flex.html.supportClasses.DataGroup.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.supportClasses.DataGroup,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.supportClasses.DataGroup.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'DataGroup',
-                qName: 'org.apache.flex.html.supportClasses.DataGroup' }] };
-
-
-Object.defineProperties(org.apache.flex.html.supportClasses.DataGroup.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.supportClasses.DataGroup} */
-        set: function(value) {
-            this.strand_ = value;
-        },
-        /** @this {org.apache.flex.html.supportClasses.DataGroup} */
-        get: function() {
-            return this.strand_;
-        }
-    },
-    /** @export */
-    numElements: {
-        /** @this {org.apache.flex.html.supportClasses.DataGroup} */
-        get: function() {
-
-            var n = this.element.childNodes.length;
-            return n;
-        }
-    }
-});
-
-
-/**
- * @override
- */
-org.apache.flex.html.supportClasses.DataGroup.
-    prototype.createElement = function() {
-  this.element = document.createElement('div');
-  this.element.style.overflow = 'auto';
-  this.element.style.display = 'inline-block';
-  this.element.style.position = 'inherit';
-  this.element.flexjs_wrapper = this;
-  this.className = 'DataGroup';
-
-  this.positioner = this.element;
-
-  return this.element;
-};
-
-
-/**
- * @override
- * @param {Object} value The child element being added.
- */
-org.apache.flex.html.supportClasses.DataGroup.
-    prototype.addElement = function(value) {
-  org.apache.flex.html.supportClasses.DataGroup.base(this, 'addElement', value);
-
-  var itemRenderer = org.apache.flex.utils.Language.as(value,
-                           org.apache.flex.html.supportClasses.DataItemRenderer);
-  itemRenderer.index = this.renderers.length;
-  itemRenderer.itemRendererParent = this;
-  this.renderers.push(value);
-};
-
-
-/**
- * @export
- */
-org.apache.flex.html.supportClasses.DataGroup.
-    prototype.removeAllElements = function() {
-
-  while (this.element.hasChildNodes()) {
-    this.element.removeChild(this.element.lastChild);
-  }
-};
-
-
-/**
- * @export
- * @param {number} index The index of the desired element.
- * @return {Object} The element at the given index.
- */
-org.apache.flex.html.supportClasses.DataGroup.
-    prototype.getElementAt = function(index) {
-
-  var e = this.element.childNodes[index];
-  return e.flexjs_wrapper;
-};
-
-
-/**
- * @export
- * @param {number} index The selected index.
- * @return {Object} The itemRenderer at the given index.
- */
-org.apache.flex.html.supportClasses.DataGroup.
-    prototype.getItemRendererForIndex = function(index) {
-  return this.renderers[index];
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataItemRenderer.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataItemRenderer.js
deleted file mode 100644
index 7a7ca0d..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/DataItemRenderer.js
+++ /dev/null
@@ -1,134 +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.supportClasses.DataItemRenderer');
-
-goog.require('org.apache.flex.core.IItemRenderer');
-goog.require('org.apache.flex.html.beads.controllers.ItemRendererMouseController');
-goog.require('org.apache.flex.html.supportClasses.UIItemRendererBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.supportClasses.UIItemRendererBase}
- * @implements {org.apache.flex.core.IItemRenderer}
- */
-org.apache.flex.html.supportClasses.DataItemRenderer =
-    function() {
-  org.apache.flex.html.supportClasses.DataItemRenderer.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.supportClasses.DataItemRenderer,
-    org.apache.flex.html.supportClasses.UIItemRendererBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.supportClasses.DataItemRenderer.
-    prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'DataItemRenderer',
-                qName: 'org.apache.flex.html.supportClasses.DataItemRenderer' }],
-      interfaces: [org.apache.flex.core.IItemRenderer] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.supportClasses.DataItemRenderer.
-    prototype.createElement = function() {
-
-  this.element = document.createElement('div');
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  this.element.flexjs_wrapper = this;
-  this.className = 'DataItemRenderer';
-
-  // itemRenderers should provide something for the background to handle
-  // the selection and highlight
-  this.backgroundView = this.element;
-
-  this.controller = new org.apache.flex.html.beads.controllers.ItemRendererMouseController();
-  this.controller.strand = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.supportClasses.DataItemRenderer.prototype, {
-    /** @export */
-    itemRendererParent: {
-        /** @this {org.apache.flex.html.supportClasses.DataItemRenderer} */
-        get: function() {
-            return this.rendererParent_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.DataItemRenderer} */
-        set: function(value) {
-            this.rendererParent_ = value;
-        }
-    },
-    /** @export */
-    dataField: {
-        /** @this {org.apache.flex.html.supportClasses.DataItemRenderer} */
-        set: function(value) {
-            this.dataField_ = value;
-        },
-        /** @this {org.apache.flex.html.supportClasses.DataItemRenderer} */
-        get: function() {
-            return this.dataField_;
-        }
-    },
-    /** @export */
-    selected: {
-        /** @this {org.apache.flex.html.supportClasses.DataItemRenderer} */
-        set: function(value) {
-            this.selected_ = value;
-
-            if (value) {
-                this.backgroundView.style.backgroundColor = '#9C9C9C';
-            } else {
-                this.backgroundView.style.backgroundColor = null;
-            }
-        },
-        /** @this {org.apache.flex.html.supportClasses.DataItemRenderer} */
-        get: function(value) {
-            return this.selected_;
-        }
-    },
-    /** @export */
-    hovered: {
-        /** @this {org.apache.flex.html.supportClasses.DataItemRenderer} */
-        set: function(value) {
-            this.hovered_ = value;
-
-            if (value) {
-              this.backgroundView.style.backgroundColor = '#ECECEC';
-            } else {
-              if (this.selected_) {
-                this.backgroundView.style.backgroundColor = '#9C9C9C';
-              } else {
-                this.backgroundView.style.backgroundColor = null;
-              }
-            }
-        },
-        /** @this {org.apache.flex.html.supportClasses.DataItemRenderer} */
-        get: function() {
-            return this.hovered_;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ScrollingViewport.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ScrollingViewport.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ScrollingViewport.js
deleted file mode 100644
index 0146912..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/ScrollingViewport.js
+++ /dev/null
@@ -1,130 +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.supportClasses.ScrollingViewport');
-
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.geom.Size');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBead}
- * @implements {org.apache.flex.core.IViewport}
- */
-org.apache.flex.html.supportClasses.ScrollingViewport =
-function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.supportClasses.ScrollingViewport.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ScrollingViewport',
-                qName: 'org.apache.flex.html.supportClasses.ScrollingViewport' }],
-      interfaces: [org.apache.flex.core.IBead,
-                   org.apache.flex.core.IViewport]};
-
-
-/**
- * @protected
- * @type {Object}
- */
-org.apache.flex.html.supportClasses.ScrollingViewport.prototype._strand = null;
-
-
-/**
- * @type {org.apache.flex.html.supportClasses.ContainerContentArea}
- */
-org.apache.flex.html.supportClasses.ScrollingViewport.prototype.contentView = null;
-
-
-/**
- * @param {number} x The x position of the viewport.
- * @param {number} y The y position of the viewport.
- */
-org.apache.flex.html.supportClasses.ScrollingViewport.prototype.setPosition =
-   function(x, y) {
-  this.contentView.x = x;
-  this.contentView.y = y;
-};
-
-
-/**
- * @param {number} width The width or NaN if sized to content.
- * @param {number} height The height or NaN if sized to content.
- */
-org.apache.flex.html.supportClasses.ScrollingViewport.prototype.layoutViewportBeforeContentLayout =
-   function(width, height) {
-  if (!isNaN(width))
-    this.contentView.width = width;
-  if (!isNaN(height))
-    this.contentView.height = height;
-};
-
-
-/**
- * @return {org.apache.flex.geom.Size} The size of the viewport.
- */
-org.apache.flex.html.supportClasses.ScrollingViewport.prototype.layoutViewportAfterContentLayout =
-   function() {
-  // nothing to do here?  In theory, the layout and browser will have stretched or shrunk
-  // the contentView to the right size
-  return new org.apache.flex.geom.Size(this.contentView.width, this.contentView.height);
-};
-
-
-Object.defineProperties(org.apache.flex.html.supportClasses.ScrollingViewport.prototype, {
-    /** @export */
-    verticalScrollPosition: {
-        /** @this {org.apache.flex.html.supportClasses.ScrollingViewport} */
-        get: function() {
-            return this.contentView.positioner.scrollTop;
-        },
-        /** @this {org.apache.flex.html.supportClasses.ScrollingViewport} */
-        set: function(value) {
-            this.contentView.positioner.scrollTop = value;
-        }
-    },
-    /** @export */
-    horizontalScrollPosition: {
-        /** @this {org.apache.flex.html.supportClasses.ScrollingViewport} */
-        get: function() {
-             return this.contentView.positioner.scrollLeft;
-        },
-        /** @this {org.apache.flex.html.supportClasses.ScrollingViewport} */
-        set: function(value) {
-             this.contentView.positioner.scrollLeft = value;
-        }
-    },
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.supportClasses.ScrollingViewport} */
-        set: function(value) {
-            this._strand = value;
-            this.contentView = this._strand.getBeadByType(org.apache.flex.core.IContentView);
-            if (this.contentView == null) {
-              var c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(
-                       this._strand, 'iContentView');
-              if (c)
-                this.contentView = new c();
-            }
-            this.contentView.element.style.overflow = 'auto';
-         }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/StringItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/StringItemRenderer.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/StringItemRenderer.js
deleted file mode 100644
index 7f89724..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/StringItemRenderer.js
+++ /dev/null
@@ -1,144 +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.supportClasses.StringItemRenderer');
-
-goog.require('org.apache.flex.core.IItemRenderer');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.html.beads.controllers.ItemRendererMouseController');
-goog.require('org.apache.flex.html.supportClasses.DataItemRenderer');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.supportClasses.DataItemRenderer}
- * @implements {org.apache.flex.core.IItemRenderer}
- */
-org.apache.flex.html.supportClasses.StringItemRenderer =
-    function() {
-  org.apache.flex.html.supportClasses.StringItemRenderer.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.supportClasses.StringItemRenderer,
-    org.apache.flex.html.supportClasses.DataItemRenderer);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.supportClasses.StringItemRenderer.
-    prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'StringItemRenderer',
-                qName: 'org.apache.flex.html.supportClasses.StringItemRenderer' }],
-      interfaces: [org.apache.flex.core.IItemRenderer] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.supportClasses.StringItemRenderer.
-    prototype.createElement = function() {
-
-  this.element = document.createElement('div');
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  this.element.flexjs_wrapper = this;
-  this.className = 'StringItemRenderer';
-
-  // itemRenderers should provide something for the background to handle
-  // the selection and highlight
-  this.backgroundView = this.element;
-
-  this.controller = new org.apache.flex.html.beads.controllers.ItemRendererMouseController();
-  this.controller.strand = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.supportClasses.StringItemRenderer.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        set: function(value) {
-            this.strand_ = value;
-        },
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        get: function() {
-             return this.strand_;
-        }
-    },
-    /** @export */
-    itemRendererParent: {
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        get: function() {
-            return this.rendererParent_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        set: function(value) {
-            this.rendererParent_ = value;
-        }
-    },
-    /** @export */
-    index: {
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        set: function(value) {
-            this.index_ = value;
-        },
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        get: function() {
-            return this.index_;
-        }
-    },
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        set: function(value) {
-            this.element.innerHTML = value;
-        },
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        get: function() {
-            return this.element.innerHTML;
-        }
-    },
-    /** @export */
-    data: {
-        /** @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);
-
-            if (this.labelField) {
-              this.element.innerHTML = String(value[this.labelField]);
-            }
-            else if (this.dataField) {
-              this.element.innerHTML = String(value[this.dataField]);
-            }
-            else if (value.toString) {
-              this.element.innerHTML = value.toString();
-            } else {
-              this.element.innerHTML = String(value);
-            }
-        },
-        /** @this {org.apache.flex.html.supportClasses.StringItemRenderer} */
-        get: function() {
-            return this.element.innerHTML;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
deleted file mode 100644
index 0fe4293..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
+++ /dev/null
@@ -1,181 +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.supportClasses.UIItemRendererBase');
-
-goog.require('org.apache.flex.core.IItemRenderer');
-goog.require('org.apache.flex.core.IItemRendererFactory');
-goog.require('org.apache.flex.core.ISelectableItemRenderer');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.utils.MXMLDataInterpreter');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- * @implements {org.apache.flex.core.ISelectableItemRenderer}
- */
-org.apache.flex.html.supportClasses.UIItemRendererBase =
-function() {
-  org.apache.flex.html.supportClasses.UIItemRendererBase.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.html.supportClasses.UIItemRendererBase,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'UIItemRendererBase',
-                qName: 'org.apache.flex.html.supportClasses.UIItemRendererBase' }],
-      interfaces: [org.apache.flex.core.ISelectableItemRenderer, org.apache.flex.core.IItemRendererFactory]};
-
-
-/**
- * @export
- */
-org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.addedToParent =
-function() {
-  org.apache.flex.html.supportClasses.UIItemRendererBase.base(this, 'addedToParent');
-
-  // very common for item renderers to be resized by their containers,
-  this.addEventListener('widthChanged', goog.bind(this.sizeChangeHandler, this));
-  this.addEventListener('heightChanged', goog.bind(this.sizeChangeHandler, this));
-
-  // each MXML file can also have styles in fx:Style block
-  //? appropriate for JavaScript? ValuesManager.valuesImpl.init(this);
-
-  org.apache.flex.utils.MXMLDataInterpreter.generateMXMLInstances(this, this, this.MXMLDescriptor);
-
-  this.dispatchEvent(new org.apache.flex.events.Event('initComplete'));
-};
-
-
-/**
- * @export
- * @param {Array} data The data for the attributes.
- */
-org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.generateMXMLAttributes = function(data) {
-  org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties(this, data);
-};
-
-
-Object.defineProperties(org.apache.flex.html.supportClasses.UIItemRendererBase.prototype, {
-    /** @export */
-    MXMLDescriptor: {
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        get: function() {
-            return null;
-        }
-    },
-    /** @export */
-    data: {
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        get: function() {
-            return this.data_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        set: function(value) {
-            this.data_ = value;
-        }
-    },
-    /** @export */
-    labelField: {
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        get: function() {
-            return this.labelField_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        set: function(value) {
-            this.labelField_ = value;
-        }
-    },
-    /** @export */
-    index: {
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        get: function() {
-            return this.index_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        set: function(value) {
-            this.index_ = value;
-        }
-    },
-    /** @export */
-    hovered: {
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        get: function() {
-            return this.hovered_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        set: function(value) {
-            this.hovered_ = value;
-        }
-    },
-    /** @export */
-    selected: {
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        get: function() {
-            return this.selected_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        set: function(value) {
-            this.selected_ = value;
-        }
-    },
-    /** @export */
-    down: {
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        get: function() {
-            return this.down_;
-        },
-        /** @this {org.apache.flex.html.supportClasses.UIItemRendererBase} */
-        set: function(value) {
-            this.down_ = value;
-        }
-    }
-});
-
-
-/**
- * @export
- */
-org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.updateRenderer =
-function() {
-};
-
-
-/**
- * @export
- * @param {Event} value The event that triggered the size change.
- */
-org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.sizeChangeHandler =
-function(value) {
-  //this.adjustSize();
-};
-
-
-/**
- * @export
- */
-org.apache.flex.html.supportClasses.UIItemRendererBase.prototype.adjustSize =
-function() {
-  // handle in sub-class
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/Viewport.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/Viewport.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/Viewport.js
deleted file mode 100644
index 4be4ef4..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/supportClasses/Viewport.js
+++ /dev/null
@@ -1,112 +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.supportClasses.Viewport');
-
-goog.require('org.apache.flex.core.IBead');
-goog.require('org.apache.flex.core.IContentView');
-goog.require('org.apache.flex.core.IViewport');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.geom.Rectangle');
-goog.require('org.apache.flex.geom.Size');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBead}
- * @implements {org.apache.flex.core.IViewport}
- */
-org.apache.flex.html.supportClasses.Viewport =
-function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.supportClasses.Viewport.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Viewport',
-                qName: 'org.apache.flex.html.supportClasses.Viewport' }],
-      interfaces: [org.apache.flex.core.IBead,
-                   org.apache.flex.core.IViewport]};
-
-
-/**
- * @protected
- * @type {Object}
- */
-org.apache.flex.html.supportClasses.Viewport.prototype._strand = null;
-
-
-/**
- * @type {org.apache.flex.html.supportClasses.ContainerContentArea}
- */
-org.apache.flex.html.supportClasses.Viewport.prototype.contentView = null;
-
-
-/**
- * @param {number} x The x position of the viewport.
- * @param {number} y The y position of the viewport.
- */
-org.apache.flex.html.supportClasses.Viewport.prototype.setPosition =
-   function(x, y) {
-  this.contentView.x = x;
-  this.contentView.y = y;
-};
-
-
-/**
- * @param {number} width The width or NaN if sized to content.
- * @param {number} height The height or NaN if sized to content.
- */
-org.apache.flex.html.supportClasses.Viewport.prototype.layoutViewportBeforeContentLayout =
-   function(width, height) {
-  if (!isNaN(width))
-    this.contentView.width = width;
-  if (!isNaN(height))
-    this.contentView.height = height;
-};
-
-
-/**
- * @return {org.apache.flex.geom.Size}
- */
-org.apache.flex.html.supportClasses.Viewport.prototype.layoutViewportAfterContentLayout =
-   function() {
-  // nothing to do here?  In theory, the layout and browser will have stretched or shrunk
-  // the contentView to the right size
-  return new org.apache.flex.geom.Size(this.contentView.width, this.contentView.height);
-};
-
-
-Object.defineProperties(org.apache.flex.html.supportClasses.Viewport.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.html.supportClasses.Viewport} */
-        set: function(value) {
-            this._strand = value;
-            this.contentView = this._strand.getBeadByType(org.apache.flex.core.IContentView);
-            if (this.contentView == null) {
-              var c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(
-                       this._strand, 'iContentView');
-              if (c)
-                this.contentView = new c();
-            }
-            this.contentView.element.style.overflow = 'visible';
-         }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Mobile/js/src/org/apache/cordova/Application.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/js/src/org/apache/cordova/Application.js b/frameworks/projects/Mobile/js/src/org/apache/cordova/Application.js
deleted file mode 100644
index 0c63452..0000000
--- a/frameworks/projects/Mobile/js/src/org/apache/cordova/Application.js
+++ /dev/null
@@ -1,61 +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.
- */
-
-
-/**
- * org.apache.cordova.Application
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.cordova.Application');
-
-goog.require('org.apache.flex.core.Application');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.Application}
- */
-org.apache.cordova.Application = function() {
-  org.apache.cordova.Application.base(this, 'constructor');
-
-  document.addEventListener('deviceready',
-                             goog.bind(this.devicereadyredispatcher, this),
-                             false);
-};
-goog.inherits(org.apache.cordova.Application,
-              org.apache.flex.core.Application);
-
-
-/**
- * @protected
- * @param {Object} event
- */
-org.apache.cordova.Application.prototype.devicereadyredispatcher = function(event) {
-  this.dispatchEvent('deviceready');
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.cordova.Application.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'Application', qName: 'org.apache.cordova.Application'}]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Mobile/js/src/org/apache/cordova/Weinre.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/js/src/org/apache/cordova/Weinre.js b/frameworks/projects/Mobile/js/src/org/apache/cordova/Weinre.js
deleted file mode 100644
index c7b9098..0000000
--- a/frameworks/projects/Mobile/js/src/org/apache/cordova/Weinre.js
+++ /dev/null
@@ -1,67 +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.
- */
-
-
-/**
- * org.apache.cordova.Application
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.cordova.Weinre');
-
-
-
-/**
- * @constructor
- */
-org.apache.cordova.Weinre = function() {
-};
-
-
-Object.defineProperties(org.apache.cordova.Weinre.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.cordova.Weinre} */
-        set: function(value) {
-            this.strand_ = value;
-        }
-    },
-    /** @export */
-    guid: {
-        /** @this {org.apache.cordova.Weinre} */
-        set: function(value) {
-
-            var scriptNode = document.createElement('SCRIPT');
-            scriptNode.type = 'text/javascript';
-            scriptNode.src = 'http://debug.phonegap.com/target/target-script-min.js#' + value;
-
-            var headNode = document.getElementsByTagName('HEAD');
-            if (headNode[0] != null)
-              headNode[0].appendChild(scriptNode);
-        }
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.cordova.Weinre.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'Weinre', qName: 'org.apache.cordova.Weinre'}]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Mobile/js/src/org/apache/cordova/camera/Camera.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/js/src/org/apache/cordova/camera/Camera.js b/frameworks/projects/Mobile/js/src/org/apache/cordova/camera/Camera.js
deleted file mode 100644
index 28288c6..0000000
--- a/frameworks/projects/Mobile/js/src/org/apache/cordova/camera/Camera.js
+++ /dev/null
@@ -1,136 +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.
- */
-
-/*
- FalconJX will inject html into the index.html file.  Surround with
- "inject_html" tag as follows:
-
- <inject_html>
-    <script type="text/javascript" src="cordova.js"></script>
- </inject_html>
- */
-
-/**
- * org.apache.cordova.camera.Camera
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.cordova.camera.Camera');
-
-
-
-/**
- * @constructor
- */
-org.apache.cordova.camera.Camera = function() {
-  this.pictureSourceType = org.apache.cordova.camera.Camera.PictureSourceType.PHOTOLIBRARY;
-  this.destinationType = org.apache.cordova.camera.Camera.DestinationType.DATA_URL;
-  this.mediaType = org.apache.cordova.camera.Camera.MediaType.PICTURE;
-  this.encodingType = org.apache.cordova.camera.Camera.EncodingType.JPEG;
-  this.direction = org.apache.cordova.camera.Camera.Direction.BACK;
-};
-
-
-/**
- * @type {Object}
- */
-org.apache.cordova.camera.Camera.DestinationType = {DATA_URL: 0, FILE_URI: 1, NATIVE_URI: 2};
-
-
-/**
- * @type {Object}
- */
-org.apache.cordova.camera.Camera.PictureSourceType = {PHOTOLIBRARY: 0, CAMERA: 1, SAVEDPHOTOALBUM: 2};
-
-
-/**
- * @type {Object}
- */
-org.apache.cordova.camera.Camera.EncodingType = {JPEG: 0, PNG: 1};
-
-
-/**
- * @type {Object}
- */
-org.apache.cordova.camera.Camera.MediaType = {PICTURE: 0, VIDEO: 1, ALLMEDIA: 2};
-
-
-/**
- * @type {Object}
- */
-org.apache.cordova.camera.Camera.Direction = {BACK: 0, FRONT: 1};
-
-
-/**
- * @type {number}
- */
-//org.apache.cordova.camera.Camera.prototype.pictureSourceType;
-
-
-/**
- * @type {number}
- */
-//org.apache.cordova.camera.Camera.prototype.destinationType;
-
-
-/**
- * @type {number}
- */
-//org.apache.cordova.camera.Camera.prototype.mediaType;
-
-
-/**
- * @type {number}
- */
-//org.apache.cordova.camera.Camera.prototype.encodingType;
-
-
-/**
- * @type {number}
- */
-//org.apache.cordova.camera.Camera.prototype.direction;
-
-
-/**
- * @export
- * @param {Function} cameraSuccess
- * @param {Function} cameraError
- * @param {Object} cameraOptions
- */
-org.apache.cordova.camera.Camera.prototype.getPicture = function(cameraSuccess, cameraError, cameraOptions) {
-  navigator.camera.getPicture(cameraSuccess, cameraError, cameraOptions);
-};
-
-
-/**
- * @export
- * @param {Function} cameraSuccess
- * @param {Function} cameraError
- */
-org.apache.cordova.camera.Camera.prototype.cleanup = function(cameraSuccess, cameraError) {
-  navigator.camera.cleanup();
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.cordova.camera.Camera.prototype.FLEXJS_CLASS_INFO = {
-  names: [{ name: 'Camera', qName: 'org.apache.cordova.camera.Camera'}]
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Mobile/js/src/org/apache/flex/mobile/ManagerBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/js/src/org/apache/flex/mobile/ManagerBase.js b/frameworks/projects/Mobile/js/src/org/apache/flex/mobile/ManagerBase.js
deleted file mode 100644
index 1cc77d5..0000000
--- a/frameworks/projects/Mobile/js/src/org/apache/flex/mobile/ManagerBase.js
+++ /dev/null
@@ -1,136 +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.mobile.ManagerBase');
-
-goog.require('org.apache.flex.core.IChrome');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.mobile.ManagerBase = function() {
-  org.apache.flex.mobile.ManagerBase.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.mobile.ManagerBase,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.mobile.ManagerBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ManagerBase',
-                qName: 'org.apache.flex.mobile.ManagerBase' }] };
-
-
-/**
- * @type {org.apache.flex.core.UIBase}
- */
-org.apache.flex.mobile.ManagerBase.prototype._contentArea = null;
-
-
-Object.defineProperties(org.apache.flex.mobile.ManagerBase.prototype, {
-    /** @export */
-    contentArea: {
-        /** @this {org.apache.flex.core.UIBase} */
-        get: function() {
-            return this._contentArea;
-        },
-        /** @this {org.apache.flex.core.UIBase} */
-        set: function(value) {
-            this._contentArea = value;
-        }
-    }
-});
-
-
-/**
- * @override
- * @param {Object} c Element being added.
- */
-org.apache.flex.mobile.ManagerBase.prototype.addElement = function(c) {
-  if (org.apache.flex.utils.Language.is(c, org.apache.flex.core.IChrome)) {
-     org.apache.flex.mobile.ManagerBase.base(this, 'addElement', c);
-  }
-  else {
-    this._contentArea.addElement(c);
-  }
-};
-
-
-/**
- * @override
- * @param {Object} c The child element.
- * @param {number} index The index.
- */
-org.apache.flex.mobile.ManagerBase.prototype.addElementAt =
-    function(c, index) {
-  if (org.apache.flex.utils.Language.is(c, org.apache.flex.core.IChrome)) {
-     org.apache.flex.mobile.ManagerBase.base(this, 'addElementAt', c, index);
-  }
-  else {
-    this._contentArea.addElementAt(c, index);
-  }
-};
-
-
-/**
- * @override
- * @param {Object} c The child element.
- * @return {number} The index in parent.
- */
-org.apache.flex.mobile.ManagerBase.prototype.getElementIndex =
-    function(c) {
-  return this._contentArea.getElementIndex(c);
-};
-
-
-/**
- * @override
- * @param {Object} c The child element.
- */
-org.apache.flex.mobile.ManagerBase.prototype.removeElement =
-    function(c) {
-  this._contentArea.removeElement(c);
-};
-
-
-/**
- * @override
- */
-org.apache.flex.mobile.ManagerBase.prototype.createElement =
-    function() {
-
-  this.element = document.createElement('div');
-  this.element.className = 'ManagerBase';
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  this._contentArea = new org.apache.flex.core.UIBase();
-  this._contentArea.className = 'ContentArea';
-  this._contentArea.positioner.style['width'] = '100%';
-  this._contentArea.positioner.style['height'] = '100%';
-  org.apache.flex.core.UIBase.prototype.addElement.call(this, this._contentArea);
-
-  return this.element;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Network/js/src/org/apache/flex/net/BinaryUploader.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/js/src/org/apache/flex/net/BinaryUploader.js b/frameworks/projects/Network/js/src/org/apache/flex/net/BinaryUploader.js
deleted file mode 100644
index cd00950..0000000
--- a/frameworks/projects/Network/js/src/org/apache/flex/net/BinaryUploader.js
+++ /dev/null
@@ -1,360 +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.net.BinaryUploader');
-
-goog.require('org.apache.flex.core.HTMLElementWrapper');
-goog.require('org.apache.flex.net.HTTPHeader');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.HTMLElementWrapper}
- */
-org.apache.flex.net.BinaryUploader = function() {
-  org.apache.flex.net.BinaryUploader.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.url_ = null;
-
-  /**
-   * @private
-   * @type {Number}
-   */
-  this.status_ = -1;
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.method_ = 'POST';
-
-  /**
-   * @private
-   * @type {Array}
-   */
-  this.headers_ = null;
-
-  /**
-   * @private
-   * @type {Array}
-   */
-  this.responseHeaders_ = null;
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.responseURL_ = null;
-
-  /**
-   * @private
-   * @type {Number}
-   */
-  this.timeout_ = 0;
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.binaryData_ = null;
-
-  /**
-   * @private
-   * @type {string}
-   */
-  this.contentType_ = 'application/octet-stream';
-
-  //try { // (erikdebruin) 'desperate' attempt to bypass XDR security in IE < 10
-  //  this.contentType_ = 'text/plain';
-  //  this.element = new XDomainRequest();
-  //} catch (e) {}
-
-  this.element = new XMLHttpRequest();
-};
-goog.inherits(org.apache.flex.net.BinaryUploader,
-    org.apache.flex.core.HTMLElementWrapper);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.net.BinaryUploader.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BinaryUploader',
-                qName: 'org.apache.flex.net.BinaryUploader'}] };
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.BinaryUploader.HTTP_METHOD_GET = 'GET';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.BinaryUploader.HTTP_METHOD_POST = 'POST';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.BinaryUploader.HTTP_METHOD_PUT = 'PUT';
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.BinaryUploader.HTTP_METHOD_DELETE = 'DELETE';
-
-
-Object.defineProperties(org.apache.flex.net.BinaryUploader.prototype, {
-    /** @export */
-    data: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.element.responseText;
-        }
-    },
-    /** @export */
-    binaryData: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.binaryData_;
-        },
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        set: function(value) {
-            this.binaryData_ = value;
-        }
-    },
-    /** @export */
-    contentType: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.contentType_;
-        },
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        set: function(value) {
-            this.contentType_ = value;
-        }
-    },
-    /** @export */
-    headers: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            if (this.headers_ === 'undefined') {
-              this.headers_ = [];
-            }
-
-            return this.headers_;
-        },
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        set: function(value) {
-            this.headers_ = value;
-        }
-    },
-    /** @export */
-    method: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.method_;
-        },
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        set: function(value) {
-            this.method_ = value;
-        }
-    },
-    /** @export */
-    responseHeaders: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            var allHeaders, c, hdr, i, n, part1, part2;
-
-            if (typeof this.responseHeaders_ === 'undefined') {
-              allHeaders = this.element.getAllResponseHeaders();
-              this.responseHeaders_ = allHeaders.split('\n');
-              n = this.responseHeaders_.length;
-              for (i = 0; i < n; i++) {
-                hdr = this.responseHeaders_[i];
-                c = hdr.indexOf(':');
-                part1 = hdr.substring(0, c);
-                part2 = hdr.substring(c + 2);
-                this.responseHeaders_[i] =
-                    new org.apache.flex.net.HTTPHeader(part1, part2);
-               }
-            }
-            return this.responseHeaders_;
-        }
-    },
-    /** @export */
-    responseURL: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.responseURL_;
-        }
-    },
-    /** @export */
-    status: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.status_;
-        }
-    },
-    /** @export */
-    timeout: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.timeout_;
-        },
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        set: function(value) {
-            this.timeout_ = value;
-        }
-    },
-    /** @export */
-    url: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.url_;
-        },
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        set: function(value) {
-            this.url_ = value;
-        }
-    },
-    /** @export */
-    id: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return this.id;
-        },
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        set: function(value) {
-            if (this.id !== value) {
-              this.id = value;
-              this.dispatchEvent('idChanged');
-            }
-        }
-    },
-    /** @export */
-    MXMLDescriptor: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return null;
-        }
-    },
-    /** @export */
-    MXMLProperties: {
-        /** @this {org.apache.flex.net.BinaryUploader} */
-        get: function() {
-            return null;
-        }
-    }
-});
-
-
-/**
- * @export
- */
-org.apache.flex.net.BinaryUploader.prototype.send = function() {
-  var binaryData, header, i, n, sawContentType, url;
-
-  this.element.onreadystatechange = goog.bind(this.progressHandler, this);
-
-  url = this.url_;
-
-  binaryData = null;
-  if (this.binaryData_ !== undefined) {
-    if (this.method_ === org.apache.flex.net.BinaryUploader.HTTP_METHOD_GET) {
-      if (url.indexOf('?') !== -1) {
-        url += this.binaryData_.data;
-      } else {
-        url += '?' + this.binaryData_.data;
-      }
-    } else {
-      binaryData = this.binaryData_.data.toString();
-    }
-  }
-
-  this.element.open(this.method_, this.url_, true);
-  this.element.timeout = this.timeout_;
-
-  sawContentType = false;
-  if (this.headers_) {
-    n = this.headers_.length;
-    for (i = 0; i < n; i++) {
-      header = this.headers_[i];
-      if (header.name === org.apache.flex.net.HTTPHeader.CONTENT_TYPE) {
-        sawContentType = true;
-      }
-
-      this.element.setRequestHeader(header.name, header.value);
-    }
-  }
-
-  if (this.method_ !== org.apache.flex.net.BinaryUploader.HTTP_METHOD_GET &&
-      !sawContentType && binaryData) {
-    this.element.setRequestHeader(
-        org.apache.flex.net.HTTPHeader.CONTENT_TYPE, this.binaryType_);
-  }
-
-  if (binaryData) {
-    this.element.setRequestHeader('Content-length', binaryData.length);
-    this.element.setRequestHeader('Connection', 'close');
-    this.element.send(binaryData);
-  } else {
-    this.element.send();
-  }
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.net.BinaryUploader.prototype.progressHandler = function() {
-  if (this.element.readyState === 2) {
-    this.status_ = this.element.status;
-    this.dispatchEvent('httpResponseStatus');
-    this.dispatchEvent('httpStatus');
-  } else if (this.element.readyState === 4) {
-    this.dispatchEvent('complete');
-  }
-};
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.BinaryUploader.prototype.id = null;
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {string} id The id for the instance.
- */
-org.apache.flex.net.BinaryUploader.prototype.setDocument =
-    function(document, id) {
-  this.document = document;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Network/js/src/org/apache/flex/net/HTTPHeader.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/js/src/org/apache/flex/net/HTTPHeader.js b/frameworks/projects/Network/js/src/org/apache/flex/net/HTTPHeader.js
deleted file mode 100644
index bcbe285..0000000
--- a/frameworks/projects/Network/js/src/org/apache/flex/net/HTTPHeader.js
+++ /dev/null
@@ -1,63 +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.net.HTTPHeader');
-
-
-
-/**
- * @constructor
- * @param {string=} opt_name The name.
- * @param {string=} opt_value The value.
- */
-org.apache.flex.net.HTTPHeader = function(opt_name, opt_value) {
-  if (typeof opt_name !== 'undefined') {
-    this.name = opt_name;
-  }
-
-  if (typeof opt_value !== 'undefined') {
-    this.value = opt_value;
-  }
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.net.HTTPHeader.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'HTTPHeader',
-                qName: 'org.apache.flex.net.HTTPHeader'}] };
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.net.HTTPHeader.CONTENT_TYPE = 'Content-type';
-
-
-/**
- * @export
- * @type {?string}
- */
-org.apache.flex.net.HTTPHeader.prototype.value = null;
-
-
-/**
- * @export
- * @type {?string}
- */
-org.apache.flex.net.HTTPHeader.prototype.name = null;


[05/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

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GraphicShape.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GraphicShape.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GraphicShape.js
deleted file mode 100644
index 1ba8710..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GraphicShape.js
+++ /dev/null
@@ -1,205 +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.core.graphics.GraphicShape');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.core.graphics.SolidColor');
-goog.require('org.apache.flex.core.graphics.SolidColorStroke');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.core.graphics.GraphicShape = function() {
-
-  org.apache.flex.core.graphics.GraphicShape.base(this, 'constructor');
-
-  /**
-   * @private
-   * @type {org.apache.flex.core.graphics.IFill}
-   */
-  this.fill_ = null;
-
-  /**
-   * @private
-   * @type {org.apache.flex.core.graphics.IStroke}
-   */
-  this.stroke_ = null;
-
-   /**
-   * @private
-   * @type {number}
-   */
-  this.x_ = 0;
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.y_ = 0;
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.xOffset_ = 0;
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.yOffset_ = 0;
-
-    /**
-   * @export
-   * @type {Object}
-   */
-  this.element = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
-  this.element.flexjs_wrapper = this;
-  this.element.offsetLeft = 0;
-  this.element.offsetTop = 0;
-  this.element.offsetParent = null;
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-};
-goog.inherits(org.apache.flex.core.graphics.GraphicShape,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.GraphicShape.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'GraphicShape',
-                qName: 'org.apache.flex.core.graphics.GraphicShape' }] };
-
-
-Object.defineProperties(org.apache.flex.core.graphics.GraphicShape.prototype, {
-    /** @export */
-    fill: {
-        /** @this {org.apache.flex.core.graphics.GraphicShape} */
-        get: function() {
-            return this.fill_;
-        },
-        /** @this {org.apache.flex.core.graphics.GraphicShape} */
-        set: function(value) {
-            this.fill_ = value;
-        }
-    },
-    stroke: {
-        /** @this {org.apache.flex.core.graphics.GraphicShape} */
-        get: function() {
-            return this.stroke_;
-        },
-        /** @this {org.apache.flex.core.graphics.GraphicShape} */
-        set: function(value) {
-            this.stroke_ = value;
-        }
-    }
-});
-
-
-/**
- *
- */
-org.apache.flex.core.graphics.GraphicShape.prototype.addedToParent = function() {
-  this.draw();
-  this.element.style.overflow = 'visible';
-  /*
-   * not sure this is valuable any longer
-  var bbox = this.element.getBBox();
-  if (bbox.width === 0 && !isNaN(this.width)) bbox.width = this.width;
-  if (bbox.height === 0 && !isNaN(this.height)) bbox.height = this.height;
-  this.resize(this.x, this.y, bbox);*/
-};
-
-
-/**
- * This is where the drawing methods get called from.
- */
-org.apache.flex.core.graphics.GraphicShape.prototype.draw = function() {
-  //Overwrite in subclass
-};
-
-
-/**
- * @export
- * @return {string} The style attribute.
- */
-org.apache.flex.core.graphics.GraphicShape.prototype.getStyleStr = function() {
-  var fillStr;
-  if (this.fill)
-  {
-    fillStr = this.fill.addFillAttrib(this);
-  }
-  else
-  {
-    fillStr = 'fill:none';
-  }
-
-  var strokeStr;
-  if (this.stroke)
-  {
-    strokeStr = this.stroke.addStrokeAttrib(this);
-  }
-  else
-  {
-    strokeStr = 'stroke:none';
-  }
-
-
-  return fillStr + ';' + strokeStr;
-};
-
-
-/**
- * @export
- * @param {number} x X position.
- * @param {number} y Y position.
- * @param {Object} bbox The bounding box of the svg element.
- */
-org.apache.flex.core.graphics.GraphicShape.prototype.resize = function(x, y, bbox) {
-  var width = Math.max(this.width, bbox.width);
-  var height = Math.max(this.height, bbox.height);
-
-  this.element.style.position = 'absolute';
-  if (!isNaN(x)) this.element.style.top = String(x) + 'px';
-  if (!isNaN(y)) this.element.style.left = String(y) + 'px';
-  this.element.style.width = String(width) + 'px';
-  this.element.style.height = String(height) + 'px';
-  this.element.offsetLeft = x;
-  this.element.offsetTop = y;
-};
-
-
-/**
- * @export
- * @param {number} x X position.
- * @param {number} y Y position.
- * @param {number} xOffset offset from x position.
- * @param {number} yOffset offset from y position.
- */
-org.apache.flex.core.graphics.GraphicShape.prototype.setPosition = function(x, y, xOffset, yOffset) {
-  this.x_ = x;
-  this.y_ = y;
-  this.xOffset_ = xOffset;
-  this.yOffset_ = yOffset;
-  this.element.offsetLeft = xOffset;
-  this.element.offsetTop = yOffset;
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GraphicsContainer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GraphicsContainer.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GraphicsContainer.js
deleted file mode 100644
index 2894cab..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GraphicsContainer.js
+++ /dev/null
@@ -1,250 +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.core.graphics.GraphicsContainer');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.GraphicsContainer = function() {
-  org.apache.flex.core.graphics.GraphicsContainer.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.core.graphics.GraphicsContainer, org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'GraphicsContainer',
-      qName: 'org.apache.flex.core.graphics.GraphicsContainer'}] };
-
-
-/**
- * @export
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.removeAllElements = function() {
-  var svg = this.element;
-  while (svg.lastChild) {
-    svg.removeChild(svg.lastChild);
-  }
-};
-
-
-Object.defineProperties(org.apache.flex.core.graphics.GraphicsContainer.prototype, {
-    /** @export */
-    numChildren: {
-        /** @this {org.apache.flex.core.graphics.GraphicsContainer} */
-        get: function() {
-            return this.internalChildren().length;
-        }
-    },
-    /** @export */
-    width: {
-        /** @this {org.apache.flex.core.graphics.GraphicsContainer} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(
-                org.apache.flex.core.graphics.GraphicsContainer, this, 'width', value);
-            this.element.setAttribute('width', String(value) + 'px');
-            this.element.style.width = String(value) + 'px';
-        },
-        get: function() {
-          return org.apache.flex.utils.Language.superGetter(
-              org.apache.flex.core.graphics.GraphicsContainer, this, 'width');
-        }
-    },
-    /** @export */
-    height: {
-        /** @this {org.apache.flex.core.graphics.GraphicsContainer} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(
-                org.apache.flex.core.graphics.GraphicsContainer, this, 'height', value);
-            this.element.setAttribute('height', String(value) + 'px');
-            this.element.style.height = String(value) + 'px';
-        },
-        get: function() {
-          return org.apache.flex.utils.Language.superGetter(
-              org.apache.flex.core.graphics.GraphicsContainer, this, 'height');
-        }
-    },
-    /** @export */
-    x: {
-        /** @this {org.apache.flex.core.graphics.GraphicsContainer} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(
-                org.apache.flex.core.graphics.GraphicsContainer, this, 'x', value);
-            this.element.setAttribute('x', String(value) + 'px');
-            this.element.style.position = 'absolute';
-            this.element.style.left = String(value) + 'px';
-            this.element.offsetLeft = value;
-        },
-        get: function() {
-          return org.apache.flex.utils.Language.superGetter(
-              org.apache.flex.core.graphics.GraphicsContainer, this, 'x');
-        }
-    },
-    /** @export */
-    y: {
-        /** @this {org.apache.flex.core.graphics.GraphicsContainer} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(
-                org.apache.flex.core.graphics.GraphicsContainer, this, 'y', value);
-            this.element.setAttribute('y', String(value) + 'px');
-            this.element.style.position = 'absolute';
-            this.element.style.top = String(value) + 'px';
-            this.element.offsetTop = value;
-        },
-        get: function() {
-          return org.apache.flex.utils.Language.superGetter(
-              org.apache.flex.core.graphics.GraphicsContainer, this, 'y');
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} x The x position of the top-left corner of the rectangle.
- * @param {number} y The y position of the top-left corner.
- * @param {number} width The width of the rectangle.
- * @param {number} height The height of the rectangle.
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.drawRect = function(x, y, width, height) {
-  var style = this.getStyleStr();
-  var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');
-  rect.flexjs_wrapper = this;
-  rect.offsetLeft = x;
-  rect.offsetTop = y;
-  rect.offsetParent = this;
-  rect.setAttribute('style', style);
-  rect.setAttribute('x', String(x) + 'px');
-  rect.setAttribute('y', String(y) + 'px');
-  rect.setAttribute('width', String(width) + 'px');
-  rect.setAttribute('height', String(height) + 'px');
-  this.element.appendChild(rect);
-};
-
-
-/**
- * @export
- * @param {number} x The x position of the top-left corner of the bounding box of the ellipse.
- * @param {number} y The y position of the top-left corner of the bounding box of the ellipse.
- * @param {number} width The width of the ellipse.
- * @param {number} height The height of the ellipse.
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.drawEllipse = function(x, y, width, height) {
-  var style = this.getStyleStr();
-  var ellipse = document.createElementNS('http://www.w3.org/2000/svg', 'ellipse');
-  ellipse.flexjs_wrapper = this;
-  ellipse.offsetLeft = x;
-  ellipse.offsetTop = y;
-  ellipse.offsetParent = this;
-  ellipse.setAttribute('style', style);
-  ellipse.setAttribute('cx', String(x + width / 2));
-  ellipse.setAttribute('cy', String(y + height / 2));
-  ellipse.setAttribute('rx', String(width / 2));
-  ellipse.setAttribute('ry', String(height / 2));
-  this.element.appendChild(ellipse);
-};
-
-
-/**
- * @export
- * @param {number} x The x location of the center of the circle.
- * @param {number} y The y location of the center of the circle.
- * @param {number} radius The radius of the circle.
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.drawCircle = function(x, y, radius) {
-  var style = this.getStyleStr();
-  var circle = document.createElementNS('http://www.w3.org/2000/svg', 'ellipse');
-  circle.flexjs_wrapper = this;
-  circle.offsetLeft = x;
-  circle.offsetTop = y;
-  circle.offsetParent = this;
-  circle.setAttribute('style', style);
-  circle.setAttribute('cx', String(x));
-  circle.setAttribute('cy', String(y));
-  circle.setAttribute('rx', String(radius));
-  circle.setAttribute('ry', String(radius));
-  this.element.appendChild(circle);
-};
-
-
-/**
- * @export
- * @param {string} data A string containing a compact represention of the path segments.
- *  The value is a space-delimited string describing each path segment. Each
- *  segment entry has a single character which denotes the segment type and
- *  two or more segment parameters.
- *
- *  If the segment command is upper-case, the parameters are absolute values.
- *  If the segment command is lower-case, the parameters are relative values.
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.drawPath = function(data) {
-  var style = this.getStyleStr();
-  var path = document.createElementNS('http://www.w3.org/2000/svg', 'path');
-  path.flexjs_wrapper = this;
-  path.offsetLeft = 0;
-  path.offsetTop = 0;
-  path.offsetParent = this;
-  path.setAttribute('style', style);
-  path.setAttribute('d', data);
-  this.element.appendChild(path);
-};
-
-
-/**
- * @export
- * @param {string} value The text string to draw.
- * @param {number} x The x position of the text.
- * @param {number} y The y position of the text.
- * @return {Object} The text node created to display the graphics.
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.drawText = function(value, x, y) {
-  var style = this.getStyleStr();
-  var text = document.createElementNS('http://www.w3.org/2000/svg', 'text');
-  text.flexjs_wrapper = this;
-  text.offsetLeft = x;
-  text.offsetTop = y;
-  text.offsetParent = this;
-  text.setAttribute('style', style);
-  text.setAttribute('x', String(x) + 'px');
-  text.setAttribute('y', String(y + 15) + 'px');
-  var textNode = document.createTextNode(value);
-  text.appendChild(textNode);
-  this.element.appendChild(text);
-  return text;
-};
-
-
-/**
- * @export
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.drawLine = function() {
-};
-
-
-/**
- * @export
- */
-org.apache.flex.core.graphics.GraphicsContainer.prototype.drawPolygon = function() {
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/IFill.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/IFill.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/IFill.js
deleted file mode 100644
index 9208fe7..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/IFill.js
+++ /dev/null
@@ -1,52 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.graphics.IFill');
-
-
-
-/**
- * IFill
- *
- * @interface
- */
-org.apache.flex.core.graphics.IFill = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.IFill.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IFill',
-                qName: 'org.apache.flex.core.graphics.IFill' }] };
-
-
-/**
- * addFillAttrib()
- *
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} value The GraphicShape object on which the fill must be added.
- * @return {string} The fill style attribute.
- */
-org.apache.flex.core.graphics.IFill.prototype.addFillAttrib =
-    function(value) {};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/IStroke.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/IStroke.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/IStroke.js
deleted file mode 100644
index c9ab6f9..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/IStroke.js
+++ /dev/null
@@ -1,52 +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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.graphics.IStroke');
-
-
-
-/**
- * IStroke
- *
- * @interface
- */
-org.apache.flex.core.graphics.IStroke = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.IStroke.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'IStroke',
-                qName: 'org.apache.flex.core.graphics.IStroke' }] };
-
-
-/**
- * addStrokeAttrib()
- *
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} value The GraphicShape object on which the stroke must be added.
- * @return {string} The stroke style attribute.
- */
-org.apache.flex.core.graphics.IStroke.prototype.addStrokeAttrib =
-    function(value) {};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Line.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Line.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Line.js
deleted file mode 100644
index 167c060..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Line.js
+++ /dev/null
@@ -1,79 +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.core.graphics.Line');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.Line = function() {
-  org.apache.flex.core.graphics.Line.base(this, 'constructor');
-
-};
-goog.inherits(org.apache.flex.core.graphics.Line,
-    org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.Line.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Line',
-                qName: 'org.apache.flex.core.graphics.Line' }] };
-
-
-/**
- * @export
- *  @param {number} x1 The x1 attribute defines the start of the line on the x-axis.
- *  @param {number} y1 The y1 attribute defines the start of the line on the y-axis.
- *  @param {number} x2 The x2 attribute defines the end of the line on the x-axis.
- *  @param {number} y2 The y2 attribute defines the end of the line on the y-axis.
- */
-org.apache.flex.core.graphics.Line.prototype.drawLine = function(x1, y1, x2, y2) {
-    var style = this.getStyleStr();
-    var line = document.createElementNS('http://www.w3.org/2000/svg', 'line');
-    line.flexjs_wrapper = this;
-    line.setAttribute('style', style);
-    line.setAttribute('x1', 0);
-    line.setAttribute('y1', y1);
-    line.setAttribute('x2', x2 - x1);
-    line.setAttribute('y2', y2);
-    this.setPosition(x1, y2, this.stroke.weight, this.stroke.weight);
-    this.element.appendChild(line);
-
-    this.resize(x, y, line.getBBox());
-  };
-
-
-/**
- * @override
- * @export
- * @param {number} x X position.
- * @param {number} y Y position.
- * @param {Object} bbox The bounding box of the svg element.
- */
-org.apache.flex.core.graphics.Line.prototype.resize = function(x, y, bbox) {
-  this.element.setAttribute('width', String(bbox.width) + 'px');
-  this.element.setAttribute('height', String(bbox.height) + 'px');
-
-  this.element.setAttribute('style', 'position:absolute; left:' + String(x + bbox.x - this.xOffset_) +
-      'px; top:' + String(bbox.y - this.yOffset_) + 'px;');
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/LinearGradient.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/LinearGradient.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/LinearGradient.js
deleted file mode 100644
index e8f42e3..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/LinearGradient.js
+++ /dev/null
@@ -1,125 +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.
- */
-
-/**
- * org.apache.flex.core.graphics.LinearGradient
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.graphics.LinearGradient');
-goog.require('org.apache.flex.core.graphics.GradientBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GradientBase}
- * @implements {org.apache.flex.core.graphics.IFill}
- */
-org.apache.flex.core.graphics.LinearGradient = function() {
-  org.apache.flex.core.graphics.LinearGradient.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.core.graphics.LinearGradient, org.apache.flex.core.graphics.GradientBase);
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.LinearGradient.prototype._scaleX = 1.0;
-
-
-Object.defineProperties(org.apache.flex.core.graphics.LinearGradient.prototype, {
-    /** @export */
-    scaleX: {
-        /** @this {org.apache.flex.core.graphics.LinearGradient} */
-        get: function() {
-            return this._scaleX;
-        },
-        /** @this {org.apache.flex.core.graphics.LinearGradient} */
-        set: function(value) {
-            this._scaleX = value;
-        }
-    }
-});
-
-
-/**
- * addFillAttrib()
- *
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} value The GraphicShape object on which the fill must be added.
- * @return {string}
- */
-org.apache.flex.core.graphics.LinearGradient.prototype.addFillAttrib = function(value) {
-  //Create and add a linear gradient def
-  var svgNS = value.element.namespaceURI;
-  var grad = document.createElementNS(svgNS, 'linearGradient');
-  var gradientId = this.newId;
-  grad.setAttribute('id', gradientId);
-
-  //Set x1, y1, x2, y2 of gradient
-  grad.setAttribute('x1', '0%');
-  grad.setAttribute('y1', '0%');
-  grad.setAttribute('x2', '100%');
-  grad.setAttribute('y2', '0%');
-
-  //Apply rotation to the gradient if rotation is a number
-  if (this.rotation)
-  {
-    grad.setAttribute('gradientTransform', 'rotate(' + this.rotation + ' 0.5 0.5)');
-  }
-
-  //Process gradient entries and create a stop for each entry
-  var entries = this.entries;
-  for (var i = 0; i < entries.length; i++)
-  {
-    var gradientEntry = entries[i];
-    var stop = document.createElementNS(svgNS, 'stop');
-    //Set Offset
-    stop.setAttribute('offset', String(gradientEntry.ratio * 100) + '%');
-    //Set Color
-    var color = Number(gradientEntry.color).toString(16);
-    if (color.length == 1) color = '00' + color;
-    if (color.length == 2) color = '00' + color;
-    if (color.length == 4) color = '00' + color;
-    stop.setAttribute('stop-color', '#' + String(color));
-    //Set Alpha
-    stop.setAttribute('stop-opacity', String(gradientEntry.alpha));
-
-    grad.appendChild(stop);
-  }
-
-  //Add defs element if not available already
-  //Add newly created gradient to defs element
-  var defs = value.element.querySelector('defs') ||
-      value.element.insertBefore(document.createElementNS(svgNS, 'defs'), value.element.firstChild);
-  defs.appendChild(grad);
-
-  //Return the fill attribute
-  return 'fill:url(#' + gradientId + ')';
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.LinearGradient.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'LinearGradient', qName: 'org.apache.flex.core.graphics.LinearGradient'}],
-    interfaces: [org.apache.flex.core.graphics.IFill]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Path.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Path.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Path.js
deleted file mode 100644
index 1567ae9..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Path.js
+++ /dev/null
@@ -1,101 +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.core.graphics.Path');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.Path = function() {
-  org.apache.flex.core.graphics.Path.base(this, 'constructor');
-
-   /**
-   * @private
-   * @type {string}
-   */
-  this.data_ = '';
-};
-goog.inherits(org.apache.flex.core.graphics.Path,
-    org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.Path.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Path',
-                qName: 'org.apache.flex.core.graphics.Path' }] };
-
-
-Object.defineProperties(org.apache.flex.core.graphics.Path.prototype, {
-    /** @export */
-    data: {
-        /** @this {org.apache.flex.core.graphics.Path} */
-        set: function(v) {
-            this.data_ = v;
-        },
-        /** @this {org.apache.flex.core.graphics.Path} */
-        get: function() {
-            return this.data_;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} x The x location of the Path.
- * @param {number} y The y location of the Path.
- * @param {string} data A string containing a compact represention of the path segments.
- *  The value is a space-delimited string describing each path segment. Each
- *  segment entry has a single character which denotes the segment type and
- *  two or more segment parameters.
- *
- *  If the segment command is upper-case, the parameters are absolute values.
- *  If the segment command is lower-case, the parameters are relative values.
- */
-org.apache.flex.core.graphics.Path.prototype.drawPath = function(x, y, data) {
-    if (data == null || data.length === 0) return;
-    var style = this.getStyleStr();
-    var path = document.createElementNS('http://www.w3.org/2000/svg', 'path');
-    path.flexjs_wrapper = this;
-    path.setAttribute('style', style);
-    path.setAttribute('d', data);
-    this.element.appendChild(path);
-    if (this.stroke)
-    {
-      this.setPosition(x, y, this.stroke.weight, this.stroke.weight);
-    }
-    else
-    {
-      this.setPosition(x, y, 0, 0);
-    }
-
-    this.resize(x, y, path['getBBox']());
-  };
-
-
- /**
-  * @override
-  */
-org.apache.flex.core.graphics.Path.prototype.draw = function() {
-    this.drawPath(this.x, this.y, this.data);
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Rect.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Rect.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Rect.js
deleted file mode 100644
index f468c44..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Rect.js
+++ /dev/null
@@ -1,80 +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.core.graphics.Rect');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.Rect = function() {
-  org.apache.flex.core.graphics.Rect.base(this, 'constructor');
-
-};
-goog.inherits(org.apache.flex.core.graphics.Rect,
-    org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.Rect.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Rect',
-                qName: 'org.apache.flex.core.graphics.Rect' }] };
-
-
-/**
- * @export
- * @param {number} x The x position of the top-left corner of the rectangle.
- * @param {number} y The y position of the top-left corner.
- * @param {number} width The width of the rectangle.
- * @param {number} height The height of the rectangle.
- */
-org.apache.flex.core.graphics.Rect.prototype.drawRect = function(x, y, width, height) {
-    var style = this.getStyleStr();
-    var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');
-    rect.flexjs_wrapper = this;
-    rect.setAttribute('style', style);
-    if (this.stroke)
-    {
-      rect.setAttribute('x', String(this.stroke.weight / 2) + 'px');
-      rect.setAttribute('y', String(this.stroke.weight / 2) + 'px');
-      this.setPosition(x, y, this.stroke.weight, this.stroke.weight);
-    }
-    else
-    {
-      rect.setAttribute('x', '0' + 'px');
-      rect.setAttribute('y', '0' + 'px');
-      this.setPosition(x, y, 0, 0);
-    }
-    rect.setAttribute('width', String(width) + 'px');
-    rect.setAttribute('height', String(height) + 'px');
-    this.element.appendChild(rect);
-
-    this.resize(x, y, rect['getBBox']());
-  };
-
-
-/**
- * @override
-*/
-org.apache.flex.core.graphics.Rect.prototype.draw = function() {
-    this.drawRect(this.x, this.y, this.width, this.height);
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/SolidColor.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/SolidColor.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/SolidColor.js
deleted file mode 100644
index 809d37b..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/SolidColor.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.core.graphics.SolidColor');
-goog.require('org.apache.flex.core.graphics.IFill');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.graphics.IFill}
- */
-org.apache.flex.core.graphics.SolidColor = function() {
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.alpha_ = 1.0;
-
-    /**
-   * @private
-   * @type {number}
-   */
-  this.color_ = 1.0;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.SolidColor.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SolidColor',
-                qName: 'org.apache.flex.core.graphics.SolidColor' }],
-                interfaces: [org.apache.flex.core.graphics.IFill] };
-
-
-Object.defineProperties(org.apache.flex.core.graphics.SolidColor.prototype, {
-    /** @export */
-    color: {
-        /** @this {org.apache.flex.core.graphics.SolidColor} */
-        get: function() {
-            return this.color_;
-        },
-        /** @this {org.apache.flex.core.graphics.SolidColor} */
-        set: function(value) {
-            this.color_ = value;
-        }
-    },
-    /** @export */
-    alpha: {
-        /** @this {org.apache.flex.core.graphics.SolidColor} */
-        get: function() {
-            return this.alpha_;
-        },
-        /** @this {org.apache.flex.core.graphics.SolidColor} */
-        set: function(value) {
-            this.alpha_ = value;
-        }
-    }
-});
-
-
-/**
- * addFillAttrib()
- *
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} value The GraphicShape object on which the fill must be added.
- * @return {string}
- */
-org.apache.flex.core.graphics.SolidColor.prototype.addFillAttrib = function(value) {
-  var color = Number(this.color).toString(16);
-  if (color.length == 1) color = '00' + color;
-  if (color.length == 2) color = '00' + color;
-  if (color.length == 4) color = '00' + color;
-  return 'fill:#' + String(color) + ';fill-opacity:' + String(this.alpha);
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/SolidColorStroke.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/SolidColorStroke.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/SolidColorStroke.js
deleted file mode 100644
index 10423f5..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/SolidColorStroke.js
+++ /dev/null
@@ -1,109 +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.core.graphics.SolidColorStroke');
-goog.require('org.apache.flex.core.graphics.IStroke');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.graphics.IStroke}
- *
- */
-org.apache.flex.core.graphics.SolidColorStroke = function() {
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.alpha_ = 1.0;
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.color_ = 1.0;
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.weight_ = 1.0;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.SolidColorStroke.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SolidColorStroke',
-                qName: 'org.apache.flex.core.graphics.SolidColorStroke' }] };
-
-
-Object.defineProperties(org.apache.flex.core.graphics.SolidColorStroke.prototype, {
-    /** @export */
-    color: {
-        /** @this {org.apache.flex.core.graphics.SolidColorStroke} */
-        get: function() {
-            return this.color_;
-        },
-        /** @this {org.apache.flex.core.graphics.SolidColorStroke} */
-        set: function(value) {
-            this.color_ = value;
-        }
-    },
-    /** @export */
-    alpha: {
-        /** @this {org.apache.flex.core.graphics.SolidColorStroke} */
-        get: function() {
-            return this.alpha_;
-        },
-        /** @this {org.apache.flex.core.graphics.SolidColorStroke} */
-        set: function(value) {
-            this.alpha_ = value;
-        }
-    },
-    /** @export */
-    weight: {
-        /** @this {org.apache.flex.core.graphics.SolidColorStroke} */
-        get: function() {
-            return this.weight_;
-        },
-        /** @this {org.apache.flex.core.graphics.SolidColorStroke} */
-        set: function(value) {
-            this.weight_ = value;
-        }
-    }
-});
-
-
-/**
- * addStrokeAttrib()
- *
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} value The GraphicShape object on which the stroke must be added.
- * @return {string}
- */
-org.apache.flex.core.graphics.SolidColorStroke.prototype.addStrokeAttrib = function(value) {
-    var strokeColor = Number(this.color).toString(16);
-    if (strokeColor.length == 1) strokeColor = '00' + strokeColor;
-    if (strokeColor.length == 2) strokeColor = '00' + strokeColor;
-    if (strokeColor.length == 4) strokeColor = '00' + strokeColor;
-    return 'stroke:#' + String(strokeColor) + ';stroke-width:' +
-         String(this.weight) + ';stroke-opacity:' + String(this.alpha);
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Text.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Text.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Text.js
deleted file mode 100644
index 4bb77d6..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Text.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.core.graphics.Text');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.Text = function() {
-  org.apache.flex.core.graphics.Text.base(this, 'constructor');
-
-};
-goog.inherits(org.apache.flex.core.graphics.Text,
-    org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.Text.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Rect',
-                qName: 'org.apache.flex.core.graphics.Text' }] };
-
-
-/**
- * @export
- * @param {string} value The text to be drawn.
- * @param {number} x The x position of the top-left corner of the rectangle.
- * @param {number} y The y position of the top-left corner.
- */
-org.apache.flex.core.graphics.Text.prototype.drawText = function(value, x, y) {
-    var style = this.getStyleStr();
-    var text = document.createElementNS('http://www.w3.org/2000/svg', 'text');
-    text.flexjs_wrapper = this;
-    text.setAttribute('style', style);
-    text.setAttribute('x', String(x) + 'px');
-    text.setAttribute('y', String(y) + 'px');
-    this.setPosition(x, y, 0, 0);
-    var textNode = document.createTextNode(value);
-    text.appendChild(textNode);
-    this.element.appendChild(text);
-
-    this.resize(x, y, text.getBBox());
-  };
-
-
-/**
- * @override
-*/
-org.apache.flex.core.graphics.Text.prototype.draw = function() {
-
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Alert.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Alert.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Alert.js
deleted file mode 100644
index 099a7b3..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Alert.js
+++ /dev/null
@@ -1,193 +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.Alert');
-
-goog.require('org.apache.flex.core.UIBase');
-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.TitleBar');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Container}
- */
-org.apache.flex.html.Alert = function() {
-  org.apache.flex.html.Alert.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.Alert,
-    org.apache.flex.html.Container);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Alert.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Alert',
-                qName: 'org.apache.flex.html.Alert'}] };
-
-
-/**
- * @type {number} The value for the Yes button option.
- */
-org.apache.flex.html.Alert.YES = 0x000001;
-
-
-/**
- * @type {number} The value for the No button option.
- */
-org.apache.flex.html.Alert.NO = 0x000002;
-
-
-/**
- * @type {number} The value for the OK button option.
- */
-org.apache.flex.html.Alert.OK = 0x000004;
-
-
-/**
- * @type {number} The value for the Cancel button option.
- */
-org.apache.flex.html.Alert.CANCEL = 0x000008;
-
-
-/**
- * @override
- */
-org.apache.flex.html.Alert.prototype.createElement =
-    function() {
-  org.apache.flex.html.Alert.base(this, 'createElement');
-
-  this.element.className = 'Alert';
-
-  // add in a title bar
-  this.titleBar = new org.apache.flex.html.TitleBar();
-  this.addElement(this.titleBar);
-  this.titleBar.element.id = 'titleBar';
-
-  this.message = new org.apache.flex.html.Label();
-  this.addElement(this.message);
-  this.message.element.id = 'message';
-
-  // add a place for the buttons
-  this.buttonArea = new org.apache.flex.html.Container();
-  this.addElement(this.buttonArea);
-  this.buttonArea.element.id = 'buttonArea';
-
-  return this.element;
-};
-
-
-/**
- * @param {string} message The message to be displayed.
- * @param {Object} host The object to display the alert.
- * @param {string} title The message to be displayed in the title bar.
- * @param {number} flags The options for the buttons.
- */
-org.apache.flex.html.Alert.show =
-    function(message, host, title, flags) {
-
-  var a = new org.apache.flex.html.Alert();
-  host.addElement(a);
-  a.title = title;
-  a.text = message;
-  a.flags = flags;
-
-  a.positioner.style.position = 'relative';
-  a.positioner.style.width = '200px';
-  a.positioner.style.margin = 'auto';
-  a.positioner.style.top = '100px';
-};
-
-
-Object.defineProperties(org.apache.flex.html.Alert.prototype, {
-    /** @export */
-    title: {
-        /** @this {org.apache.flex.html.Alert} */
-        get: function() {
-            return this.titleBar.title;
-        },
-        /** @this {org.apache.flex.html.Alert} */
-        set: function(value) {
-            this.titleBar.title = value;
-        }
-    },
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.Alert} */
-        get: function() {
-            return this.message.text;
-        },
-        /** @this {org.apache.flex.html.Alert} */
-        set: function(value) {
-            this.message.text = value;
-        }
-    },
-    /** @export */
-    flags: {
-        /** @this {org.apache.flex.html.Alert} */
-        get: function() {
-            return this.flags;
-        },
-        /** @this {org.apache.flex.html.Alert} */
-        set: function(value) {
-            this.flags = value;
-
-            // add buttons based on flags
-            if (this.flags & org.apache.flex.html.Alert.OK) {
-              var ok = new org.apache.flex.html.TextButton();
-              this.buttonArea.addElement(ok);
-              ok.text = 'OK';
-              goog.events.listen(/** @type {EventTarget} */ (ok.element), 'click',
-                  goog.bind(this.dismissAlert, this));
-            }
-            if (this.flags & org.apache.flex.html.Alert.CANCEL) {
-              var cancel = new org.apache.flex.html.TextButton();
-              this.buttonArea.addElement(cancel);
-              cancel.text = 'Cancel';
-              goog.events.listen(/** @type {EventTarget} */ (cancel.element), 'click',
-                  goog.bind(this.dismissAlert, this));
-            }
-            if (this.flags & org.apache.flex.html.Alert.YES) {
-              var yes = new org.apache.flex.html.TextButton();
-              this.buttonArea.addElement(yes);
-              yes.text = 'YES';
-              goog.events.listen(/** @type {EventTarget} */ (yes.element), 'click',
-                  goog.bind(this.dismissAlert, this));
-            }
-            if (this.flags & org.apache.flex.html.Alert.NO) {
-              var nob = new org.apache.flex.html.TextButton();
-              this.buttonArea.addElement(nob);
-              nob.text = 'NO';
-              goog.events.listen(/** @type {EventTarget} */ (nob.element), 'click',
-                  goog.bind(this.dismissAlert, this));
-            }
-        }
-    }
-});
-
-
-/**
- * @param {Object} event The event object.
- */
-org.apache.flex.html.Alert.prototype.dismissAlert =
-    function(event)
-    {
-  this.element.parentElement.removeChild(this.element);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Button.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Button.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Button.js
deleted file mode 100644
index 1917ecf..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Button.js
+++ /dev/null
@@ -1,61 +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.Button');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.Button = function() {
-  org.apache.flex.html.Button.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.Button,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Button.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Button',
-                qName: 'org.apache.flex.html.Button'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.Button.prototype.createElement =
-    function() {
-  this.element = document.createElement('button');
-  this.element.setAttribute('type', 'button');
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-    var impl = org.apache.flex.core.ValuesManager.valuesImpl.
-        getValue(this, 'iStatesImpl');
-  }
-
-  return this.element;
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/ButtonBar.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/ButtonBar.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/ButtonBar.js
deleted file mode 100644
index 82cfe9e..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/ButtonBar.js
+++ /dev/null
@@ -1,85 +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.ButtonBar');
-
-goog.require('org.apache.flex.core.ListBase');
-goog.require('org.apache.flex.html.List');
-goog.require('org.apache.flex.html.beads.DataItemRendererFactoryForArrayData');
-goog.require('org.apache.flex.html.beads.layouts.HorizontalLayout');
-goog.require('org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.List}
- */
-org.apache.flex.html.ButtonBar = function() {
-
-  //  this.model = new
-  //        org.apache.flex.html.beads.models.ArraySelectionModel();
-  //  this.addBead(this.model);
-
-  org.apache.flex.html.ButtonBar.base(this, 'constructor');
-
-  //  this.addBead(new
-  //        org.apache.flex.html.beads.ListView());
-
-  //  this.addBead(new
-  //org.apache.flex.html.beads.layouts.HorizontalLayout());
-
-  //  this.itemRendererFactory = new
-  //        org.apache.flex.html.beads.
-  //        DataItemRendererFactoryForArrayData();
-  //  this.itemRendererFactory.itemRendererClass = 'org.apache.flex.html.' +
-  //        'supportClasses_ButtonBarButtonItemRenderer';
-  //  this.addBead(this.itemRendererFactory);
-
-  //  this.addBead(new
-  //        org.apache.flex.html.beads.controllers.
-  //        ListSingleSelectionMouseController());
-};
-goog.inherits(org.apache.flex.html.ButtonBar,
-    org.apache.flex.html.List);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.ButtonBar.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ButtonBar',
-                qName: 'org.apache.flex.html.ButtonBar'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.ButtonBar.prototype.createElement =
-    function() {
-  //org.apache.flex.html.ButtonBar.base(this, 'createElement');
-
-  this.element = document.createElement('div');
-  this.element.style.overflow = 'auto';
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  this.className = 'ButtonBar';
-
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/CheckBox.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/CheckBox.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/CheckBox.js
deleted file mode 100644
index 7f0d2c4..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/CheckBox.js
+++ /dev/null
@@ -1,91 +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.CheckBox');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.CheckBox = function() {
-  org.apache.flex.html.CheckBox.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.CheckBox,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.CheckBox.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'CheckBox',
-                qName: 'org.apache.flex.html.CheckBox'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.CheckBox.prototype.createElement =
-    function() {
-  var cb;
-
-  this.element = document.createElement('label');
-
-  cb = document.createElement('input');
-  cb.type = 'checkbox';
-  this.element.appendChild(cb);
-  this.element.appendChild(document.createTextNode(''));
-
-  this.element.className = 'CheckBox';
-  this.typeNames = 'CheckBox';
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  cb.flexjs_wrapper = this;
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.CheckBox.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.CheckBox} */
-        get: function() {
-            return this.element.childNodes.item(1).nodeValue;
-        },
-        /** @this {org.apache.flex.html.CheckBox} */
-        set: function(value) {
-            this.element.childNodes.item(1).nodeValue = value;
-        }
-    },
-    /** @export */
-    selected: {
-        /** @this {org.apache.flex.html.CheckBox} */
-        get: function() {
-            return this.element.childNodes.item(0).checked;
-        },
-        /** @this {org.apache.flex.html.CheckBox} */
-        set: function(value) {
-            this.element.childNodes.item(0).checked = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/CloseButton.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/CloseButton.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/CloseButton.js
deleted file mode 100644
index fc212bb..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/CloseButton.js
+++ /dev/null
@@ -1,55 +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.CloseButton');
-
-goog.require('org.apache.flex.html.Button');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Button}
- */
-org.apache.flex.html.CloseButton = function() {
-  org.apache.flex.html.CloseButton.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.CloseButton,
-    org.apache.flex.html.Button);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.CloseButton.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'CloseButton',
-                qName: 'org.apache.flex.html.CloseButton'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.CloseButton.prototype.createElement =
-    function() {
-  org.apache.flex.html.CloseButton.base(this, 'createElement');
-  this.element.innerHTML = 'x';
-
-  this.element.style.padding = 0;
-  this.height = 11;
-  this.width = 11;
-  return this.element;
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/ComboBox.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/ComboBox.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/ComboBox.js
deleted file mode 100644
index 483a517..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/ComboBox.js
+++ /dev/null
@@ -1,194 +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.ComboBox');
-
-goog.require('org.apache.flex.core.ListBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.ListBase}
- */
-org.apache.flex.html.ComboBox = function() {
-  org.apache.flex.html.ComboBox.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.ComboBox,
-    org.apache.flex.core.ListBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.ComboBox.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ComboBox',
-                qName: 'org.apache.flex.html.ComboBox'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.ComboBox.prototype.createElement =
-    function() {
-  var button, input;
-
-  this.element = document.createElement('div');
-
-  input = document.createElement('input');
-  input.style.position = 'absolute';
-  input.style.width = '80px';
-  this.element.appendChild(input);
-
-  button = document.createElement('div');
-  button.style.position = 'absolute';
-  button.style.top = '0px';
-  button.style.right = '0px';
-  button.style.background = '#bbb';
-  button.style.width = '16px';
-  button.style.height = '20px';
-  button.style.margin = '0';
-  button.style.border = 'solid #609 1px';
-  goog.events.listen(button, 'click', goog.bind(this.buttonClicked, this));
-  this.element.appendChild(button);
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  // add a click handler so that a click outside of the combo box can
-  // dismiss the pop-up should it be visible.
-  goog.events.listen(document, 'click',
-      goog.bind(this.dismissPopup, this));
-
-  input.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-/**
- * @export
- * @param {Object} event The event.
- */
-org.apache.flex.html.ComboBox.prototype.selectChanged =
-    function(event) {
-  var select;
-
-  select = event.currentTarget;
-
-  this.selectedItem = select.options[select.selectedIndex].value;
-
-  this.popup.parentNode.removeChild(this.popup);
-  this.popup = null;
-
-  this.dispatchEvent(event);
-};
-
-
-/**
- * @export
- * @param {Object=} opt_event The event.
- */
-org.apache.flex.html.ComboBox.prototype.dismissPopup =
-    function(opt_event) {
-  // remove the popup if it already exists
-  if (this.popup) {
-    this.popup.parentNode.removeChild(this.popup);
-    this.popup = null;
-  }
-};
-
-
-/**
- * @export
- * @param {Object} event The event.
- */
-org.apache.flex.html.ComboBox.prototype.buttonClicked =
-    function(event) {
-  /**
-   * @type {Array.<string>}
-   */
-  var dp;
-  var i, input, left, n, opt, opts, pn, popup, select, si, top, width;
-
-  event.stopPropagation();
-
-  if (this.popup) {
-    this.dismissPopup();
-
-    return;
-  }
-
-  input = this.element.childNodes.item(0);
-
-  pn = this.element;
-  top = pn.offsetTop + input.offsetHeight;
-  left = pn.offsetLeft;
-  width = pn.offsetWidth;
-
-  popup = document.createElement('div');
-  popup.className = 'popup';
-  popup.id = 'test';
-  popup.style.position = 'absolute';
-  popup.style.top = top.toString() + 'px';
-  popup.style.left = left.toString() + 'px';
-  popup.style.width = width.toString() + 'px';
-  popup.style.margin = '0px auto';
-  popup.style.padding = '0px';
-  popup.style.zIndex = '10000';
-
-  select = document.createElement('select');
-  select.style.width = width.toString() + 'px';
-  goog.events.listen(select, 'change', goog.bind(this.selectChanged, this));
-  opts = select.options;
-
-  dp = /** @type {Array.<string>} */ (this.dataProvider);
-  n = dp.length;
-  for (i = 0; i < n; i++) {
-    opt = document.createElement('option');
-    opt.text = dp[i];
-    opts.add(opt);
-  }
-
-  select.size = n;
-
-  si = this.selectedIndex;
-  if (si < 0) {
-    select.value = null;
-  } else {
-    select.value = dp[si];
-  }
-
-  this.popup = popup;
-
-  popup.appendChild(select);
-  document.body.appendChild(popup);
-};
-
-
-Object.defineProperties(org.apache.flex.html.ComboBox.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.ComboBox} */
-        get: function() {
-            return this.element.childNodes.item(0).value;
-        },
-        /** @this {org.apache.flex.html.ComboBox} */
-        set: function(value) {
-            this.element.childNodes.item(0).value = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
deleted file mode 100644
index b7d628a..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
+++ /dev/null
@@ -1,123 +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.Container');
-
-goog.require('org.apache.flex.core.ContainerBase');
-goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.IContainer');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IContainer}
- * @extends {org.apache.flex.core.ContainerBase}
- */
-org.apache.flex.html.Container = function() {
-  org.apache.flex.html.Container.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.Container,
-    org.apache.flex.core.ContainerBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Container.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Container',
-                qName: 'org.apache.flex.html.Container' }],
-      interfaces: [org.apache.flex.core.IContainer] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.Container.prototype.createElement =
-    function() {
-  var cb;
-
-  this.element = document.createElement('div');
-
-  this.positioner = this.element;
-
-  // absolute positioned children need a non-null
-  // position value in the parent.  It might
-  // get set to 'absolute' if the container is
-  // also absolutely positioned
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  /*this.addEventListener('childrenAdded',
-              goog.bind(this.runLayoutHandler, this));
-  this.addEventListener('elementRemoved',
-              goog.bind(this.runLayoutHandler, this));*/
-
-  return this.element;
-};
-
-
-/**
- * @override
- *
-org.apache.flex.html.Container.prototype.addElement =
-    function(child) {
-  org.apache.flex.html.Container.base(this, 'addElement', child);
-  this.dispatchEvent('elementAdded');
-};*/
-
-
-/**
- * @override
- *
-org.apache.flex.html.Container.prototype.removeElement =
-    function(child) {
-  org.apache.flex.html.Container.base(this, 'removeElement', child);
-  this.dispatchEvent('elementRemoved');
-};*/
-
-
-/**
- * @export
- */
-org.apache.flex.html.Container.prototype.childrenAdded =
-    function() {
-  this.dispatchEvent('childrenAdded');
-};
-
-
-/**
- * @export
- * @param {Object} event The event invoking the layout.
- *
-org.apache.flex.html.Container.prototype.runLayoutHandler =
-  function(event) {
-  var layout = this.getBeadByType(org.apache.flex.core.IBeadLayout);
-  if (layout) {
-    layout.layout();
-  }
-};*/
-
-
-/**
- * @export
- * @return {Array} the HTML DOM element children.
- */
-org.apache.flex.html.Container.prototype.internalChildren =
-    function() {
-  return this.element.children;
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/ControlBar.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/ControlBar.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/ControlBar.js
deleted file mode 100644
index a0afce5..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/ControlBar.js
+++ /dev/null
@@ -1,59 +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.ControlBar');
-
-goog.require('org.apache.flex.html.Container');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Container}
- */
-org.apache.flex.html.ControlBar = function() {
-  org.apache.flex.html.ControlBar.base(this, 'constructor');
-
-};
-goog.inherits(org.apache.flex.html.ControlBar,
-    org.apache.flex.html.Container);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.ControlBar.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ControlBar',
-                qName: 'org.apache.flex.html.ControlBar'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.ControlBar.prototype.createElement =
-    function() {
-
-  this.element = document.createElement('div');
-  this.element.className = 'ControlBar';
-  this.element.style.display = 'inline';
-  this.typeNames = 'ControlBar';
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/DropDownList.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/DropDownList.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/DropDownList.js
deleted file mode 100644
index 3b060df..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/DropDownList.js
+++ /dev/null
@@ -1,142 +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.DropDownList');
-
-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.DropDownList = function() {
-  org.apache.flex.html.DropDownList.base(this, 'constructor');
-  this.model = new org.apache.flex.html.beads.models.ArraySelectionModel();
-};
-goog.inherits(org.apache.flex.html.DropDownList,
-    org.apache.flex.core.ListBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.DropDownList.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'DropDownList',
-                qName: 'org.apache.flex.html.DropDownList'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.DropDownList.prototype.createElement =
-    function() {
-  this.element = document.createElement('select');
-  this.element.size = 1;
-  goog.events.listen(this.element, 'change',
-      goog.bind(this.changeHandler, this));
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.DropDownList.prototype, {
-    /** @export */
-    dataProvider: {
-        /** @this {org.apache.flex.html.DropDownList} */
-        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);
-            }
-
-            var lf = this.labelField;
-            n = value.length;
-            for (i = 0; i < n; i++) {
-              opt = document.createElement('option');
-              if (lf)
-                opt.text = value[i][lf];
-              else
-                opt.text = value[i];
-              dp.add(opt);
-            }
-        }
-    },
-    /** @export */
-    labelField: {
-        // TODO: (aharui) copied from ListBase because you
-        // can't just override the setter in a defineProps
-        // structure.
-        /** @this {org.apache.flex.html.DropDownList} */
-        get: function() {
-            return this.model.labelField;
-        },
-        /** @this {org.apache.flex.html.DropDownList} */
-        set: function(value) {
-            this.model.labelField = value;
-        }
-    },
-    /** @export */
-    selectedIndex: {
-        // TODO: (aharui) copied from ListBase because you
-        // can't just override the setter in a defineProps
-        // structure.
-        /** @this {org.apache.flex.html.DropDownList} */
-        get: function() {
-            return this.model.selectedIndex;
-        },
-        /** @this {org.apache.flex.html.DropDownList} */
-        set: function(value) {
-            this.model.selectedIndex = value;
-            this.element.selectedIndex = value;
-        }
-    },
-    /** @export */
-    selectedItem: {
-        // TODO: (aharui) copied from ListBase because you
-        // can't just override the setter in a defineProps
-        // structure.
-        /** @this {org.apache.flex.html.DropDownList} */
-        get: function() {
-            return this.model.selectedItem;
-        },
-        /** @this {org.apache.flex.html.DropDownList} */
-        set: function(value) {
-            this.model.selectedItem = value;
-            this.element.selectedIndex = this.model.selectedIndex;
-        }
-    }
-});
-
-
-/**
- * @protected
- */
-org.apache.flex.html.DropDownList.prototype.changeHandler =
-    function() {
-  this.model.selectedIndex = this.element.selectedIndex;
-};
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/HContainer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/HContainer.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/HContainer.js
deleted file mode 100644
index 13b96e3..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/HContainer.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.HContainer');
-
-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.HContainer = function() {
-  org.apache.flex.html.HContainer.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.HContainer,
-    org.apache.flex.html.Container);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.HContainer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'HContainer',
-                qName: 'org.apache.flex.html.HContainer' }],
-      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/HRule.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/HRule.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/HRule.js
deleted file mode 100644
index 5c2cea8..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/HRule.js
+++ /dev/null
@@ -1,45 +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.HRule');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.HRule = function() {
-  org.apache.flex.html.HRule.base(this, 'constructor');
-
-  this.element = document.createElement('hr');
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-};
-goog.inherits(org.apache.flex.html.HRule,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.HRule.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'HRule',
-                qName: 'org.apache.flex.html.HRule' }] };
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Image.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Image.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Image.js
deleted file mode 100644
index f535f44..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Image.js
+++ /dev/null
@@ -1,82 +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.Image');
-
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.html.beads.ImageView');
-goog.require('org.apache.flex.html.beads.models.ImageModel');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.Image = function() {
-  org.apache.flex.html.Image.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.html.Image,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Image.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Image',
-                qName: 'org.apache.flex.html.Image' }] };
-
-
-/**
- * @override
- * @protected
- * @return {Object} The actual element to be parented.
- */
-org.apache.flex.html.Image.prototype.createElement =
-    function() {
-
-  this.element = document.createElement('img');
-  this.element.className = 'Image';
-  this.typeNames = 'Image';
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  this.model = new
-          org.apache.flex.html.beads.models.ImageModel();
-
-  this.addBead(new
-      org.apache.flex.html.beads.ImageView());
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.Image.prototype, {
-    /** @export */
-    source: {
-        /** @this {org.apache.flex.html.Image} */
-        get: function() {
-            return this.model.source;
-        },
-        /** @this {org.apache.flex.html.Image} */
-        set: function(value) {
-            this.model.source = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/ImageAndTextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/ImageAndTextButton.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/ImageAndTextButton.js
deleted file mode 100644
index de49513..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/ImageAndTextButton.js
+++ /dev/null
@@ -1,103 +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.ImageAndTextButton');
-
-goog.require('org.apache.flex.html.Button');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.Button}
- */
-org.apache.flex.html.ImageAndTextButton = function() {
-  org.apache.flex.html.ImageAndTextButton.base(this, 'constructor');
-
-  this._text = '';
-  this._src = '';
-};
-goog.inherits(org.apache.flex.html.ImageAndTextButton,
-    org.apache.flex.html.Button);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.ImageAndTextButton.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ImageAndTextButton',
-                qName: 'org.apache.flex.html.ImageAndTextButton'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.html.ImageAndTextButton.prototype.createElement =
-    function() {
-  this.element = document.createElement('button');
-  this.element.setAttribute('type', 'button');
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-
-  if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-    var impl = org.apache.flex.core.ValuesManager.valuesImpl.
-        getValue(this, 'iStatesImpl');
-  }
-
-  return this.element;
-};
-
-
-Object.defineProperties(org.apache.flex.html.ImageAndTextButton.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.ImageAndTextButton} */
-        get: function() {
-            return this._text;
-        },
-        /** @this {org.apache.flex.html.ImageAndTextButton} */
-        set: function(value) {
-            this._text = value;
-            this.setInnerHTML();
-        }
-    },
-    /** @export */
-    image: {
-        /** @this {org.apache.flex.html.ImageAndTextButton} */
-        get: function() {
-            return this._src;
-        },
-        /** @this {org.apache.flex.html.ImageAndTextButton} */
-        set: function(value) {
-            this._src = value;
-            this.setInnerHTML();
-        }
-    }
-});
-
-
-/**
- */
-org.apache.flex.html.ImageAndTextButton.prototype.setInnerHTML = function() {
-  var inner = '';
-  if (this._src != null)
-    inner += '<img src=\'' + this._src + '\'/>';
-  inner += '&nbsp;';
-  inner += this._text;
-  this.element.innerHTML = inner;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/HTML/js/src/org/apache/flex/html/Label.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Label.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Label.js
deleted file mode 100644
index 82a35c5..0000000
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Label.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.Label');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.html.Label = function() {
-  org.apache.flex.html.Label.base(this, 'constructor');
-
-  this.element = document.createElement('span');
-  this.positioner = this.element;
-  this.element.flexjs_wrapper = this;
-};
-goog.inherits(org.apache.flex.html.Label,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.html.Label.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Label',
-                qName: 'org.apache.flex.html.Label' }] };
-
-
-Object.defineProperties(org.apache.flex.html.Label.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.html.Label} */
-        get: function() {
-            return this.element.innerHTML;
-        },
-        /** @this {org.apache.flex.html.Label} */
-        set: function(value) {
-            this.element.innerHTML = value;
-            this.dispatchEvent('textChange');
-        }
-    },
-    /** @export */
-    html: {
-        /** @this {org.apache.flex.html.Label} */
-        get: function() {
-            return this.element.innerHTML;
-        },
-        /** @this {org.apache.flex.html.Label} */
-        set: function(value) {
-            this.element.innerHTML = value;
-            this.dispatchEvent('htmlChange');
-        }
-    }
-});


[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

Posted by ah...@apache.org.
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_;
-        }
-    }
-
-});