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

goog.provide('org.apache.royale.jewel.Form');

goog.require('org.apache.royale.core.IPopUpHost');
goog.require('org.apache.royale.core.IPopUpHostParent');
goog.require('org.apache.royale.core.WrappedHTMLElement');
goog.require('org.apache.royale.html.util.addElementToWrapper');
goog.require('org.apache.royale.jewel.Group');



/**
 *  constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.9.4
 * @constructor
 * @extends {org.apache.royale.jewel.Group}
 * @implements {org.apache.royale.core.IPopUpHost}
 * @implements {org.apache.royale.core.IPopUpHostParent}
 */
org.apache.royale.jewel.Form = function() {
  org.apache.royale.jewel.Form.base(this, 'constructor');
  this.typeNames = "jewel form";
};
goog.inherits(org.apache.royale.jewel.Form, org.apache.royale.jewel.Group);


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


/**
 * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement
 * @protected
 * @override
 */
org.apache.royale.jewel.Form.prototype.createElement = function() {
  return org.apache.royale.html.util.addElementToWrapper(this, 'form');
};


org.apache.royale.jewel.Form.prototype.get__popUpParent = function() {
  return this;
};


org.apache.royale.jewel.Form.prototype.get__popUpHost = function() {
  return this;
};


Object.defineProperties(org.apache.royale.jewel.Form.prototype, /** @lends {org.apache.royale.jewel.Form.prototype} */ {
/**
  * @export
  * @type {org.apache.royale.core.IPopUpHostParent} */
popUpParent: {
get: org.apache.royale.jewel.Form.prototype.get__popUpParent},
/**
  * @export
  * @type {org.apache.royale.core.IPopUpHost} */
popUpHost: {
get: org.apache.royale.jewel.Form.prototype.get__popUpHost}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.jewel.Form.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'popUpParent': { type: 'org.apache.royale.core.IPopUpHostParent', access: 'readonly', declaredBy: 'org.apache.royale.jewel.Form'},
        'popUpHost': { type: 'org.apache.royale.core.IPopUpHost', access: 'readonly', declaredBy: 'org.apache.royale.jewel.Form'}
      };
    },
    methods: function () {
      return {
        'Form': { type: '', declaredBy: 'org.apache.royale.jewel.Form'}
      };
    },
    metadata: function () { return [  ]; }
  };
};