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

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

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



/**
 * @constructor
 * @extends {org.apache.royale.html.beads.models.MenuModel}
 */
org.apache.royale.html.beads.models.CascadingMenuModel = function() {
  org.apache.royale.html.beads.models.CascadingMenuModel.base(this, 'constructor');
};
goog.inherits(org.apache.royale.html.beads.models.CascadingMenuModel, org.apache.royale.html.beads.models.MenuModel);


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


/**
 * @private
 * @type {org.apache.royale.core.IStrand}
 */
org.apache.royale.html.beads.models.CascadingMenuModel.prototype.org_apache_royale_html_beads_models_CascadingMenuModel__strand;


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


org.apache.royale.html.beads.models.CascadingMenuModel.prototype.set__strand = function(value) {
  this.org_apache_royale_html_beads_models_CascadingMenuModel__strand = value;
  org.apache.royale.html.beads.models.CascadingMenuModel.superClass_.set__strand.apply(this, [ value] );
};


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


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


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


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



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