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

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

goog.require('org.apache.royale.html.List');
goog.require('org.apache.royale.html.beads.models.MenuBarModel');
goog.require('org.apache.royale.utils.Language');



/**
 * Constructor
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.9
 * @constructor
 * @extends {org.apache.royale.html.List}
 */
org.apache.royale.html.MenuBar = function() {
  org.apache.royale.html.MenuBar.base(this, 'constructor');
  this.typeNames = "MenuBar";
};
goog.inherits(org.apache.royale.html.MenuBar, org.apache.royale.html.List);


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


org.apache.royale.html.MenuBar.prototype.get__submenuField = function() {
  return org.apache.royale.utils.Language.as(this.model, org.apache.royale.html.beads.models.MenuBarModel).submenuField;
};


org.apache.royale.html.MenuBar.prototype.set__submenuField = function(value) {
  org.apache.royale.utils.Language.as(this.model, org.apache.royale.html.beads.models.MenuBarModel).submenuField = value;
};


Object.defineProperties(org.apache.royale.html.MenuBar.prototype, /** @lends {org.apache.royale.html.MenuBar.prototype} */ {
/**
  * @export
  * @type {string} */
submenuField: {
get: org.apache.royale.html.MenuBar.prototype.get__submenuField,
set: org.apache.royale.html.MenuBar.prototype.set__submenuField}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.html.MenuBar.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'submenuField': { type: 'String', access: 'readwrite', declaredBy: 'org.apache.royale.html.MenuBar'}
      };
    },
    methods: function () {
      return {
        'MenuBar': { type: '', declaredBy: 'org.apache.royale.html.MenuBar'}
      };
    }
  };
};