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

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

goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.html.beads.models.ArraySelectionModel');
goog.require('org.apache.royale.core.IMenuBarModel');



/**
 * @constructor
 * @extends {org.apache.royale.html.beads.models.ArraySelectionModel}
 * @implements {org.apache.royale.core.IMenuBarModel}
 */
org.apache.royale.html.beads.models.MenuBarModel = function() {
  org.apache.royale.html.beads.models.MenuBarModel.base(this, 'constructor');
};
goog.inherits(org.apache.royale.html.beads.models.MenuBarModel, org.apache.royale.html.beads.models.ArraySelectionModel);


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


/**
 * @private
 * @type {string}
 */
org.apache.royale.html.beads.models.MenuBarModel.prototype.org_apache_royale_html_beads_models_MenuBarModel__submenuField = "menu";


org.apache.royale.html.beads.models.MenuBarModel.prototype.get__submenuField = function() {
  return this.org_apache_royale_html_beads_models_MenuBarModel__submenuField;
};


org.apache.royale.html.beads.models.MenuBarModel.prototype.set__submenuField = function(value) {
  this.org_apache_royale_html_beads_models_MenuBarModel__submenuField = value;
  this.dispatchEvent(new org.apache.royale.events.Event("submenuFieldChanged"));
};


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


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



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