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

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

goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.html.Menu');
goog.require('org.apache.royale.core.IBead');
goog.require('org.apache.royale.core.IFactory');



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


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


/**
 * @private
 * @type {org.apache.royale.core.IStrand}
 */
org.apache.royale.html.beads.MenuFactory.prototype.org_apache_royale_html_beads_MenuFactory__strand;


/**
 * Returns a new instance of the Menu class.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.9
 * @export
 * @return {*}
 */
org.apache.royale.html.beads.MenuFactory.prototype.newInstance = function() {
  return new org.apache.royale.html.Menu();
};


org.apache.royale.html.beads.MenuFactory.prototype.set__strand = function(value) {
  this.org_apache_royale_html_beads_MenuFactory__strand = value;
};


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


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



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