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

goog.provide('org.apache.royale.svg.DOMWrapper');

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



/**
 * Constructor
 *
 * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement
 * @constructor
 * @extends {org.apache.royale.core.ContainerBase}
 */
org.apache.royale.svg.DOMWrapper = function() {
  org.apache.royale.svg.DOMWrapper.base(this, 'constructor');
};
goog.inherits(org.apache.royale.svg.DOMWrapper, org.apache.royale.core.ContainerBase);


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


/**
 * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement
 * @protected
 * @override
 */
org.apache.royale.svg.DOMWrapper.prototype.createElement = function() {
  this.element = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject');
  this.element.style.left = "0px";
  this.element.style.top = "0px";
  return this.element;
};


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.svg.DOMWrapper.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {return {};},
    methods: function () {
      return {
        'DOMWrapper': { type: '', declaredBy: 'org.apache.royale.svg.DOMWrapper'}
      };
    }
  };
};