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

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

goog.require('org.apache.royale.html.Menu');
goog.require('org.apache.royale.html.beads.models.CascadingMenuModel');
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.Menu}
 */
org.apache.royale.html.CascadingMenu = function() {
  org.apache.royale.html.CascadingMenu.base(this, 'constructor');
  this.typeNames = "CascadingMenu";
};
goog.inherits(org.apache.royale.html.CascadingMenu, org.apache.royale.html.Menu);


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


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


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


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


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



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