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

goog.provide('org.apache.royale.html.beads.layouts.LayoutOnShow');

goog.require('org.apache.royale.core.IStrand');
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.utils.Language');



/**
 *  Constructor.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.0
 * @constructor
 * @implements {org.apache.royale.core.IBead}
 */
org.apache.royale.html.beads.layouts.LayoutOnShow = function() {
};


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


/**
 * @private
 * @param {org.apache.royale.events.Event} e
 */
org.apache.royale.html.beads.layouts.LayoutOnShow.prototype.org_apache_royale_html_beads_layouts_LayoutOnShow_showHandler = function(e) {
  org.apache.royale.utils.Language.as(e.target, org.apache.royale.events.IEventDispatcher, true).dispatchEvent(new org.apache.royale.events.Event('layoutNeeded'));
};


org.apache.royale.html.beads.layouts.LayoutOnShow.prototype.set__strand = function(value) {
  var /** @type {org.apache.royale.events.IEventDispatcher} */ eventDispatcher = org.apache.royale.utils.Language.as(value, org.apache.royale.events.IEventDispatcher, true);
  eventDispatcher.addEventListener('show', org.apache.royale.utils.Language.closure(this.org_apache_royale_html_beads_layouts_LayoutOnShow_showHandler, this, 'showHandler'));
};


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


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.html.beads.layouts.LayoutOnShow.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.beads.layouts.LayoutOnShow'}
      };
    },
    methods: function () {
      return {
        'LayoutOnShow': { type: '', declaredBy: 'org.apache.royale.html.beads.layouts.LayoutOnShow'}
      };
    }
  };
};