/**
 * Generated by Apache Royale Compiler from org\apache\royale\core\UIElement.as
 * org.apache.royale.core.UIElement
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.royale.core.UIElement');

goog.require('org.apache.royale.core.UIBase');
goog.require('org.apache.royale.core.WrappedHTMLElement');



/**
 *  Constructor.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.9
 * @constructor
 * @extends {org.apache.royale.core.UIBase}
 * @param {org.apache.royale.core.WrappedHTMLElement} htmlElement
 */
org.apache.royale.core.UIElement = function(htmlElement) {
  this.element = htmlElement;
  org.apache.royale.core.UIElement.base(this, 'constructor');
};
goog.inherits(org.apache.royale.core.UIElement, org.apache.royale.core.UIBase);


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.royale.core.UIElement', org.apache.royale.core.UIElement);


/**
 * @protected
 * @override
 */
org.apache.royale.core.UIElement.prototype.createElement = function() {
  return this.element;
};


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.royale.core.UIElement.prototype.ROYALE_CLASS_INFO = { names: [{ name: 'UIElement', qName: 'org.apache.royale.core.UIElement', kind: 'class' }] };



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.core.UIElement.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {return {};},
    methods: function () {
      return {
        'UIElement': { type: '', declaredBy: 'org.apache.royale.core.UIElement', parameters: function () { return [  { index: 1, type: 'org.apache.royale.core.WrappedHTMLElement', optional: false } ]; }}
      };
    }
  };
};