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

goog.provide('org.apache.royale.html.Group');

goog.require('org.apache.royale.core.GroupBase');
goog.require('org.apache.royale.core.ValuesManager');
goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.utils.MXMLDataInterpreter');
goog.require('org.apache.royale.core.IMXMLDocument');



/**
 *  Constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.8
 * @constructor
 * @extends {org.apache.royale.core.GroupBase}
 * @implements {org.apache.royale.core.IMXMLDocument}
 */
org.apache.royale.html.Group = function() {
  
  this.org_apache_royale_html_Group__mxmlDocument = this;
  org.apache.royale.html.Group.base(this, 'constructor');
  this.typeNames = "Group";
};
goog.inherits(org.apache.royale.html.Group, org.apache.royale.core.GroupBase);


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


/**
 * @private
 * @type {Array}
 */
org.apache.royale.html.Group.prototype.org_apache_royale_html_Group__mxmlDescriptor;


/**
 * @private
 * @type {Object}
 */
org.apache.royale.html.Group.prototype.org_apache_royale_html_Group__mxmlDocument;


/**
 * @private
 * @type {boolean}
 */
org.apache.royale.html.Group.prototype.org_apache_royale_html_Group__initialized;


/**
 * @asprivate
 * @export
 * @override
 */
org.apache.royale.html.Group.prototype.addedToParent = function() {
  if (!this.org_apache_royale_html_Group__initialized) {
    org.apache.royale.core.ValuesManager["valuesImpl"].init(this);
  }
  org.apache.royale.html.Group.superClass_.addedToParent.apply(this);
  if (!this.org_apache_royale_html_Group__initialized) {
    org.apache.royale.utils.MXMLDataInterpreter.generateMXMLInstances(this.org_apache_royale_html_Group__mxmlDocument, this, this.MXMLDescriptor);
    this.dispatchEvent(new org.apache.royale.events.Event("initBindings"));
    this.dispatchEvent(new org.apache.royale.events.Event("initComplete"));
    this.org_apache_royale_html_Group__initialized = true;
  }
};


/**
 *  @asprivate
 * @export
 * @param {Object} document
 * @param {Array} value
 */
org.apache.royale.html.Group.prototype.setMXMLDescriptor = function(document, value) {
  this.org_apache_royale_html_Group__mxmlDocument = document;
  this.org_apache_royale_html_Group__mxmlDescriptor = value;
};


/**
 *  @copy org.apache.royale.core.Application#generateMXMLAttributes()
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.8
 * @export
 * @param {Array} data
 */
org.apache.royale.html.Group.prototype.generateMXMLAttributes = function(data) {
  org.apache.royale.utils.MXMLDataInterpreter.generateMXMLProperties(this, data);
};


/**
 * @export
 * @type {Array}
 */
org.apache.royale.html.Group.prototype.mxmlContent;


org.apache.royale.html.Group.prototype.get__MXMLDescriptor = function() {
  return this.org_apache_royale_html_Group__mxmlDescriptor;
};


Object.defineProperties(org.apache.royale.html.Group.prototype, /** @lends {org.apache.royale.html.Group.prototype} */ {
/**
  * @export
  * @type {Array} */
MXMLDescriptor: {
get: org.apache.royale.html.Group.prototype.get__MXMLDescriptor}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.html.Group.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
        'mxmlContent': { type: 'Array'}
      };
    },
    accessors: function () {
      return {
        'MXMLDescriptor': { type: 'Array', access: 'readonly', declaredBy: 'org.apache.royale.html.Group'}
      };
    },
    methods: function () {
      return {
        'Group': { type: '', declaredBy: 'org.apache.royale.html.Group'},
        'addedToParent': { type: 'void', declaredBy: 'org.apache.royale.html.Group'},
        'setMXMLDescriptor': { type: 'void', declaredBy: 'org.apache.royale.html.Group', parameters: function () { return [  { index: 1, type: 'Object', optional: false },{ index: 2, type: 'Array', optional: false } ]; }},
        'generateMXMLAttributes': { type: 'void', declaredBy: 'org.apache.royale.html.Group', parameters: function () { return [  { index: 1, type: 'Array', optional: false } ]; }}
      };
    },
    metadata: function () { return [  ]; }
  };
};