flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [31/55] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - move handwritten JS code to final home. Build scripts still need fixing up
Date Wed, 15 Apr 2015 21:43:36 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js b/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js
deleted file mode 100644
index de36898..0000000
--- a/frameworks/js/FlexJS/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, {
-    /** @expose */
-    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;
-            }
-        }
-    },
-    /** @expose */
-    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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js b/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
deleted file mode 100644
index 7f80b0a..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.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_events_BrowserEvent');
-
-goog.require('goog.events.BrowserEvent');
-//goog.require('org_apache_flex_events_Event');
-
-
-
-/**
- * @constructor
- * @extends {org_apache_flex_events_Event}
- */
-org_apache_flex_events_BrowserEvent = function() {
-//  org_apache_flex_events_BrowserEvent.base(this, 'constructor');
-
-};
-//goog.inherits(org_apache_flex_events_BrowserEvent,
-//    org_apache_flex_events_Event);
-
-
-/**
- * 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();
-};
-
-
-Object.defineProperties(org_apache_flex_events_BrowserEvent.prototype, {
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    button: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.button;
-        }
-    },
-    /** @expose */
-    charCode: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.charCode;
-        }
-    },
-    /** @expose */
-    clientX: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.clientX;
-        }
-    },
-    /** @expose */
-    clientY: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.clientY;
-        }
-    },
-    /** @expose */
-    keyCode: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.keyCode;
-        }
-    },
-    /** @expose */
-    offsetX: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.offsetX;
-        }
-    },
-    /** @expose */
-    offsetY: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.offsetY;
-        }
-    },
-    /** @expose */
-    screenX: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.screenX;
-        }
-    },
-    /** @expose */
-    screenY: {
-        /** @this {org_apache_flex_events_BrowserEvent} */
-        get: function() {
-            return this.wrappedEvent.screenY;
-        }
-    },
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/CustomEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/CustomEvent.js b/frameworks/js/FlexJS/src/org/apache/flex/events/CustomEvent.js
deleted file mode 100644
index 9c5608c..0000000
--- a/frameworks/js/FlexJS/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'}] };
-
-
-/**
- * @expose
- * @param {string} type The event type.
- */
-org_apache_flex_events_CustomEvent.prototype.init = function(type) {
-  this.type = type;
-};
-
-
-/**
- * @expose
- * @type {string} type The event type.
- */
-org_apache_flex_events_CustomEvent.prototype.type = '';

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/DragEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/DragEvent.js b/frameworks/js/FlexJS/src/org/apache/flex/events/DragEvent.js
deleted file mode 100644
index 3212ebe..0000000
--- a/frameworks/js/FlexJS/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'}] };
-
-
-/**
- * @expose
- * @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;
-};
-
-
-/**
- * @expose
- * @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);
-};
-
-
-/**
- * @expose
- * @type {string} DRAG_START The event type for starting drag-drop.
- */
-org_apache_flex_events_DragEvent.DRAG_START = 'dragStart';
-
-
-/**
- * @expose
- * @type {string} DRAG_MOVE The event type when moving mouse during drag-drop.
- */
-org_apache_flex_events_DragEvent.DRAG_MOVE = 'dragMove';
-
-
-/**
- * @expose
- * @type {string} DRAG_END The event type for ending drag-drop.
- */
-org_apache_flex_events_DragEvent.DRAG_END = 'dragEnd';
-
-
-/**
- * @expose
- * @type {string} DRAG_ENTER The event type for entering a potential drop target.
- */
-org_apache_flex_events_DragEvent.DRAG_ENTER = 'dragEnter';
-
-
-/**
- * @expose
- * @type {string} DRAG_OVER The event type for moving over a potential drop target.
- */
-org_apache_flex_events_DragEvent.DRAG_OVER = 'dragOver';
-
-
-/**
- * @expose
- * @type {string} DRAG_EXIT The event type for leaving a potential drop target.
- */
-org_apache_flex_events_DragEvent.DRAG_EXIT = 'dragExit';
-
-
-/**
- * @expose
- * @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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/ElementEvents.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/ElementEvents.js b/frameworks/js/FlexJS/src/org/apache/flex/events/ElementEvents.js
deleted file mode 100644
index 315b105..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/events/ElementEvents.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_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 = {
-  '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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/Event.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/Event.js b/frameworks/js/FlexJS/src/org/apache/flex/events/Event.js
deleted file mode 100644
index 73ecdd0..0000000
--- a/frameworks/js/FlexJS/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'
-  };
-
-
-/**
- * @expose
- * @type {string} type The event type.
- */
-org_apache_flex_events_Event.prototype.type = '';
-
-
-/**
- * @expose
- * @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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.js b/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.js
deleted file mode 100644
index 9f66ef7..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/events/EventDispatcher.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_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] };
-
-
-/**
- * @override
- */
-org_apache_flex_events_EventDispatcher.prototype.addEventListener =
-    function(type, handler, opt_capture, opt_handlerScope) {
-  var source;
-
-  /**
-   *  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.
-   */
-  source = this;
-  if (this.element && this.element.nodeName &&
-      this.element.nodeName.toLowerCase() !== 'div' &&
-      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;
-  }
-
-  goog.events.listen(source, type, handler);
-};
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/IEventDispatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/IEventDispatcher.js b/frameworks/js/FlexJS/src/org/apache/flex/events/IEventDispatcher.js
deleted file mode 100644
index 10e04ad..0000000
--- a/frameworks/js/FlexJS/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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js b/frameworks/js/FlexJS/src/org/apache/flex/events/MouseEvent.js
deleted file mode 100644
index 64e61d7..0000000
--- a/frameworks/js/FlexJS/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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/ValueChangeEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/ValueChangeEvent.js b/frameworks/js/FlexJS/src/org/apache/flex/events/ValueChangeEvent.js
deleted file mode 100644
index 1ae2344..0000000
--- a/frameworks/js/FlexJS/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' }] };
-
-
-/**
- * @expose
- * @param {string} type The event type.
- */
-org_apache_flex_events_ValueChangeEvent.prototype.init = function(type) {
-  this.type = type;
-};
-
-
-/**
- * @expose
- * @type {string} type The event type.
- */
-org_apache_flex_events_ValueChangeEvent.prototype.type = '';
-
-
-/**
- * @expose
- * @type {*} oldValue The old value.
- */
-org_apache_flex_events_ValueChangeEvent.prototype.oldValue = null;
-
-
-/**
- * @expose
- * @type {*} newValue The new value.
- */
-org_apache_flex_events_ValueChangeEvent.prototype.newValue = null;
-
-
-/**
- * @expose
- * @type {string} propertyName The property that changed.
- */
-org_apache_flex_events_ValueChangeEvent.prototype.propertyName = '';
-
-
-/**
- * @expose
- * @type {Object} source The object that changed.
- */
-org_apache_flex_events_ValueChangeEvent.prototype.source = null;
-
-
-/**
- * @expose
- * @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;
-};
-
-
-/**
- * @expose
- * @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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/ValueEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/ValueEvent.js b/frameworks/js/FlexJS/src/org/apache/flex/events/ValueEvent.js
deleted file mode 100644
index acf5328..0000000
--- a/frameworks/js/FlexJS/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' }] };
-
-
-/**
- * @expose
- * @param {string} type The event type.
- */
-org_apache_flex_events_ValueEvent.prototype.init = function(type) {
-  this.type = type;
-};
-
-
-/**
- * @expose
- * @type {string} type The event type.
- */
-org_apache_flex_events_ValueEvent.prototype.type = '';
-
-
-/**
- * @expose
- * @type {*} value The old value.
- */
-org_apache_flex_events_ValueEvent.prototype.value = null;
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/events/utils/MouseUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/utils/MouseUtils.js b/frameworks/js/FlexJS/src/org/apache/flex/events/utils/MouseUtils.js
deleted file mode 100644
index f628125..0000000
--- a/frameworks/js/FlexJS/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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/geom/Point.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/geom/Point.js b/frameworks/js/FlexJS/src/org/apache/flex/geom/Point.js
deleted file mode 100644
index bb0a030..0000000
--- a/frameworks/js/FlexJS/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'}] };
-
-
-/**
- * @expose
- * The x coordinate.
- * @type {number} value The x coordinate.
- */
-org_apache_flex_geom_Point.prototype.x = 0;
-
-
-/**
- * @expose
- * 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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/geom/Rectangle.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/geom/Rectangle.js b/frameworks/js/FlexJS/src/org/apache/flex/geom/Rectangle.js
deleted file mode 100644
index 5e7ebf6..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/geom/Rectangle.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_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'}] };
-
-
-/**
- * @expose
- * The left coordinate.
- * @type {number} value The left coordinate.
- */
-org_apache_flex_geom_Rectangle.prototype.left = 0;
-
-
-/**
- * @expose
- * The top coordinate.
- * @type {number} value The top coordinate.
- */
-org_apache_flex_geom_Rectangle.prototype.top = 0;
-
-
-/**
- * @expose
- * The width coordinate.
- * @type {number} value The width coordinate.
- */
-org_apache_flex_geom_Rectangle.prototype.width = 0;
-
-
-/**
- * @expose
- * The height coordinate.
- * @type {number} value The height coordinate.
- */
-org_apache_flex_geom_Rectangle.prototype.height = 9;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/Alert.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Alert.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Alert.js
deleted file mode 100644
index eb8e01c..0000000
--- a/frameworks/js/FlexJS/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, {
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/Button.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Button.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Button.js
deleted file mode 100644
index 36db23a..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/Button.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.
- */
-
-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.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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/ButtonBar.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/ButtonBar.js b/frameworks/js/FlexJS/src/org/apache/flex/html/ButtonBar.js
deleted file mode 100644
index d01b39f..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/ButtonBar.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_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_NonVirtualHorizontalLayout');
-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_NonVirtualHorizontalLayout());
-
-  //  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.element.style.border = 'solid';
-  this.element.style.borderWidth = '1px';
-  this.element.style.borderColor = '#333333';
-  this.positioner = this.element;
-
-  this.className = 'ButtonBar';
-
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/CheckBox.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/CheckBox.js b/frameworks/js/FlexJS/src/org/apache/flex/html/CheckBox.js
deleted file mode 100644
index 2dcfbe7..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/CheckBox.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_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.positioner = this.element;
-  cb.flexjs_wrapper = this;
-  this.element.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org_apache_flex_html_CheckBox.prototype, {
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js
deleted file mode 100644
index 54256da..0000000
--- a/frameworks/js/FlexJS/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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/ComboBox.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/ComboBox.js b/frameworks/js/FlexJS/src/org/apache/flex/html/ComboBox.js
deleted file mode 100644
index 4e74d7b..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/ComboBox.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_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.element.style.position = 'relative';
-
-  this.positioner = this.element;
-
-  // 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;
-};
-
-
-/**
- * @expose
- * @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);
-};
-
-
-/**
- * @expose
- * @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;
-  }
-};
-
-
-/**
- * @expose
- * @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, {
-    /** @expose */
-    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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/Container.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Container.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Container.js
deleted file mode 100644
index 534d409..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/Container.js
+++ /dev/null
@@ -1,108 +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_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;
-
-  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');
-};
-
-
-/**
- * @expose
- */
-org_apache_flex_html_Container.prototype.childrenAdded =
-    function() {
-  this.dispatchEvent('childrenAdded');
-};
-
-
-/**
- * @expose
- * @return {Array} the HTML DOM element children.
- */
-org_apache_flex_html_Container.prototype.internalChildren =
-    function() {
-  return this.element.children;
-};
-
-
-/**
- * @return {Array} All of the children of the container.
- */
-org_apache_flex_html_Container.prototype.getChildren = function() {
-  var arr = this.element.children;
-  var comparr = [];
-  var n = arr.length;
-  for (var i = 0; i < n; i++)
-  {
-    comparr.push(arr[i].flexjs_wrapper);
-  }
-  return comparr;
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/ControlBar.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/ControlBar.js b/frameworks/js/FlexJS/src/org/apache/flex/html/ControlBar.js
deleted file mode 100644
index 2ccd9ad..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/ControlBar.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_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.element.flexjs_wrapper = this;
-
-  return this.element;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js b/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js
deleted file mode 100644
index d1f8d11..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js
+++ /dev/null
@@ -1,124 +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.element.flexjs_wrapper = this;
-
-  return this.element;
-};
-
-
-Object.defineProperties(org_apache_flex_html_DropDownList.prototype, {
-    /** @expose */
-    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);
-            }
-
-            n = value.length;
-            for (i = 0; i < n; i++) {
-              opt = document.createElement('option');
-              opt.text = value[i];
-              dp.add(opt);
-            }
-        }
-    },
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    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.selectedIndex;
-        }
-    }
-});
-
-
-/**
- * @protected
- */
-org_apache_flex_html_DropDownList.prototype.changeHandler =
-    function() {
-  this.model.selectedIndex = this.element.selectedIndex;
-  this.dispatchEvent('change');
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/HContainer.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/HContainer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/HContainer.js
deleted file mode 100644
index 2e850f2..0000000
--- a/frameworks/js/FlexJS/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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/HRule.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/HRule.js b/frameworks/js/FlexJS/src/org/apache/flex/html/HRule.js
deleted file mode 100644
index d778f61..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/HRule.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_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.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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js
deleted file mode 100644
index e0e1b87..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/Image.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_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.positioner = this.element;
-  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, {
-    /** @expose */
-    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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/ImageAndTextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/ImageAndTextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html/ImageAndTextButton.js
deleted file mode 100644
index 7413eeb..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/ImageAndTextButton.js
+++ /dev/null
@@ -1,102 +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.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, {
-    /** @expose */
-    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();
-        }
-    },
-    /** @expose */
-    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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js
deleted file mode 100644
index 6ddd105..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/Label.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_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, {
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    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;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/html/List.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/List.js b/frameworks/js/FlexJS/src/org/apache/flex/html/List.js
deleted file mode 100644
index 6db743e..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/List.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_html_List');
-
-goog.require('mx_core_IFactory');
-goog.require('org_apache_flex_core_IDataProviderItemRendererMapper');
-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_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, {
-    /** @expose */
-    itemRenderer: {
-        /** @this {org_apache_flex_html_List} */
-        get: function() {
-            return this.itemRenderer_;
-        },
-        /** @this {org_apache_flex_html_List} */
-        set: function(value) {
-            this.itemRenderer_ = value;
-        }
-    },
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    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;
-        }
-    },
-    /** @expose */
-    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_html_beads_DataItemRendererFactoryForArrayData);
-  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);
-  }
-};
-
-
-/**
- * @expose
- * @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 = dg.renderers;
-  }
-  return items;
-};
-
-
-/**
- * @expose
- * @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;
-      }
-    }
-  }
-};


Mime
View raw message