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

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

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



/**
 *  Constructor.
 *  
 *  @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement
 *  @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.IRenderedObject} original
 */
org.apache.royale.core.Lookalike = function(original) {
  
  this.element = original.element.cloneNode(true);
  org.apache.royale.core.Lookalike.base(this, 'constructor');
};
goog.inherits(org.apache.royale.core.Lookalike, org.apache.royale.core.UIBase);


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


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


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



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