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

goog.provide('org.apache.royale.html.supportClasses.ContainerContentArea');

goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.core.UIBase');
goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.events.IEventDispatcher');
goog.require('org.apache.royale.core.IBead');
goog.require('org.apache.royale.core.ILayoutView');
goog.require('org.apache.royale.utils.Language');



/**
 *  Constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.0
 * @constructor
 * @extends {org.apache.royale.core.UIBase}
 * @implements {org.apache.royale.core.IBead}
 * @implements {org.apache.royale.core.ILayoutView}
 */
org.apache.royale.html.supportClasses.ContainerContentArea = function() {
  org.apache.royale.html.supportClasses.ContainerContentArea.base(this, 'constructor');
  this.addEventListener("layoutNeeded", org.apache.royale.utils.Language.closure(this.org_apache_royale_html_supportClasses_ContainerContentArea_forwardEventHandler, this, 'forwardEventHandler'));
};
goog.inherits(org.apache.royale.html.supportClasses.ContainerContentArea, org.apache.royale.core.UIBase);


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


/**
 * @protected
 * @type {org.apache.royale.core.IStrand}
 */
org.apache.royale.html.supportClasses.ContainerContentArea.prototype.host;


/**
 * @private
 * @param {org.apache.royale.events.Event} event
 */
org.apache.royale.html.supportClasses.ContainerContentArea.prototype.org_apache_royale_html_supportClasses_ContainerContentArea_forwardEventHandler = function(event) {
  if (org.apache.royale.utils.Language.is(this.parent, org.apache.royale.events.IEventDispatcher))
    org.apache.royale.utils.Language.as(this.parent, org.apache.royale.events.IEventDispatcher).dispatchEvent(event);
};


org.apache.royale.html.supportClasses.ContainerContentArea.prototype.set__strand = function(value) {
  this.host = value;
};


Object.defineProperties(org.apache.royale.html.supportClasses.ContainerContentArea.prototype, /** @lends {org.apache.royale.html.supportClasses.ContainerContentArea.prototype} */ {
/**
  * @export
  * @type {org.apache.royale.core.IStrand} */
strand: {
set: org.apache.royale.html.supportClasses.ContainerContentArea.prototype.set__strand}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.html.supportClasses.ContainerContentArea.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'strand': { type: 'org.apache.royale.core.IStrand', access: 'writeonly', declaredBy: 'org.apache.royale.html.supportClasses.ContainerContentArea'}
      };
    },
    methods: function () {
      return {
        'ContainerContentArea': { type: '', declaredBy: 'org.apache.royale.html.supportClasses.ContainerContentArea'}
      };
    }
  };
};