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

goog.provide('org.apache.royale.core.IMenu');

goog.require('org.apache.royale.core.IUIBase');
goog.require('org.apache.royale.events.IEventDispatcher');



/**
 * @interface
 * @extends {org.apache.royale.events.IEventDispatcher}
 */
org.apache.royale.core.IMenu = function() {
};


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.royale.core.IMenu', org.apache.royale.core.IMenu);
/**  * @type {string}
 */org.apache.royale.core.IMenu.prototype.labelField;
/**  * @type {string}
 */org.apache.royale.core.IMenu.prototype.submenuField;
/**  * @type {Object}
 */org.apache.royale.core.IMenu.prototype.dataProvider;
/**  * @type {Object}
 */org.apache.royale.core.IMenu.prototype.selectedItem;
/**
 * @param {org.apache.royale.core.IUIBase} component
 * @param {number=} xoffset
 * @param {number=} yoffset
 */
org.apache.royale.core.IMenu.prototype.show = function(component, xoffset, yoffset) {
};
org.apache.royale.core.IMenu.prototype.hide = function() {
};
/**  * @type {org.apache.royale.events.IEventDispatcher}
 */org.apache.royale.core.IMenu.prototype.parentMenuBar;


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.royale.core.IMenu.prototype.ROYALE_CLASS_INFO = { names: [{ name: 'IMenu', qName: 'org.apache.royale.core.IMenu', kind: 'interface' }], interfaces: [org.apache.royale.events.IEventDispatcher] };



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.core.IMenu.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    accessors: function () {
      return {
        'labelField': { type: 'String', access: 'readwrite', declaredBy: 'org.apache.royale.core.IMenu'},
        'submenuField': { type: 'String', access: 'readwrite', declaredBy: 'org.apache.royale.core.IMenu'},
        'dataProvider': { type: 'Object', access: 'readwrite', declaredBy: 'org.apache.royale.core.IMenu'},
        'selectedItem': { type: 'Object', access: 'readwrite', declaredBy: 'org.apache.royale.core.IMenu'},
        'parentMenuBar': { type: 'org.apache.royale.events.IEventDispatcher', access: 'readwrite', declaredBy: 'org.apache.royale.core.IMenu'}
      };
    },
    methods: function () {
      return {
        'show': { type: 'void', declaredBy: 'org.apache.royale.core.IMenu', parameters: function () { return [  { index: 1, type: 'org.apache.royale.core.IUIBase', optional: false },{ index: 2, type: 'Number', optional: true },{ index: 3, type: 'Number', optional: true } ]; }},
        'hide': { type: 'void', declaredBy: 'org.apache.royale.core.IMenu'}
      };
    }
  };
};