export default class MenuItemData extends AccessibilityObject { constructor(displayObject: any, role: any, domIdPrefix: any); _isPopupOpener: boolean; _activeKeyDownListener: (evt: Event) => void; /** * @inheritdoc */ addChild(displayObject: any): void; /** * @inheritdoc */ addChildAt(displayObject: any, index: any): void; /** * Informs a menu label of which DisplayObject is the submenu * @access package * @param {Object} displayObject - accessibility DisplayObject */ set subMenu(arg: any); _subMenu: any; /** * Sets whether the menu item is expanded or collapsed. * If the menu item is not expandable, then this should be set to undefined. * @access public * @param {boolean} val - true if the menu is expanded, * false if it is collapsed, undefined if the item is not expandable */ set expanded(arg: boolean); /** * Retrieves whether the menu item is expanded, collapsed, or not expandable. * @access public * @returns {boolean} - true if the item is expanded, * false if the item is collapsed, undefined if it is not expandable */ get expanded(): boolean; /** * Sets the position in the current set of items * @access public * @param {Number} num - One based index for the position in the current set of items. * Or undefined to clear the field */ set positionInSet(arg: number); /** * Retrieves the position in the current set of items * @access public * @returns {Number} One based index for the position in the current set of items */ get positionInSet(): number; /** * Sets the number of items in the current set of items * @access public * @param {Number} num - Number of items in the current set. Or undefined to clear the field */ set setSize(arg: number); /** * Retrieves the number of items in the current set of items * @access public * @returns {Number} the number of items in the current set of items */ get setSize(): number; /** * Keydown listener for when the item manages opening a menu * @access private * @param {Event} evt - event */ _subMenuOpenerKeyDown(evt: Event): void; /** * Keydown listener for an entry in a popup menu * @access private * @param {Event} evt - event */ _menuItemKeyDown(evt: Event): void; /** * Helper function for addChild and addChildAt that handles common menu item * specific settings when adding a DisplayObject * @access private * @param {createjs.DisplayObject} displayObject - DisplayObject being added */ _addingChild(displayObject: createjs.DisplayObject): void; _label: createjs.DisplayObject; /** * @inheritdoc */ _onKeyDown(evt: any): void; } import AccessibilityObject from "./AccessibilityObject";