a:11:{s:9:"#provides";s:13:"dijit.MenuBar";s:9:"#resource";s:10:"MenuBar.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:10:"dijit.Menu";}}s:13:"dijit.MenuBar";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:15:"dijit._MenuBase";}s:4:"call";a:1:{i:0;s:15:"dijit._MenuBase";}}s:7:"summary";s:28:"Sets up local variables etc.";s:6:"source";s:670:"dojo.provide("dijit.MenuBar"); dojo.require("dijit.Menu"); dojo.declare("dijit.MenuBar", dijit._MenuBase, { // summary: // A menu bar, listing menu choices horizontally, like the "File" menu in most desktop applications templatePath: dojo.moduleUrl("dijit", "templates/MenuBar.html"), // _isMenuBar: [protected] Boolean // This is a MenuBar widget, not a (vertical) Menu widget. _isMenuBar: true, constructor: function(){ // summary: // Sets up local variables etc. // tags: // private // parameter to dijit.popup.open() about where to put popup (relative to this.domNode) this._orient = this.isLeftToRight() ? {BL: 'TL'} : {BR: 'TR'};";s:9:"classlike";b:1;}s:26:"dijit.MenuBar.templatePath";a:2:{s:9:"prototype";s:13:"dijit.MenuBar";s:7:"summary";s:0:"";}s:24:"dijit.MenuBar._isMenuBar";a:5:{s:9:"prototype";s:13:"dijit.MenuBar";s:4:"tags";a:1:{i:0;s:9:"protected";}s:4:"type";s:7:"Boolean";s:7:"summary";s:55:"This is a MenuBar widget, not a (vertical) Menu widget.";s:7:"private";b:1;}s:24:"dijit.MenuBar.postCreate";a:4:{s:9:"prototype";s:13:"dijit.MenuBar";s:4:"type";s:8:"Function";s:6:"source";s:162:" var k = dojo.keys, l = this.isLeftToRight(); this.connectKeyNavHandlers( l ? [k.LEFT_ARROW] : [k.RIGHT_ARROW], l ? [k.RIGHT_ARROW] : [k.LEFT_ARROW] );";s:7:"summary";s:0:"";}s:24:"dijit.MenuBar.focusChild";a:5:{s:9:"prototype";s:13:"dijit.MenuBar";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:1387:"dojo.provide("dijit.MenuBar"); dojo.require("dijit.Menu"); dojo.declare("dijit.MenuBar", dijit._MenuBase, { // summary: // A menu bar, listing menu choices horizontally, like the "File" menu in most desktop applications templatePath: dojo.moduleUrl("dijit", "templates/MenuBar.html"), // _isMenuBar: [protected] Boolean // This is a MenuBar widget, not a (vertical) Menu widget. _isMenuBar: true, constructor: function(){ // summary: // Sets up local variables etc. // tags: // private // parameter to dijit.popup.open() about where to put popup (relative to this.domNode) this._orient = this.isLeftToRight() ? {BL: 'TL'} : {BR: 'TR'}; }, postCreate: function(){ var k = dojo.keys, l = this.isLeftToRight(); this.connectKeyNavHandlers( l ? [k.LEFT_ARROW] : [k.RIGHT_ARROW], l ? [k.RIGHT_ARROW] : [k.LEFT_ARROW] ); }, focusChild: function(item){ // overload focusChild so that whenever the focus is moved to a new item, // check the previous focused whether it has its popup open, if so, after // focusing the new item, open its submenu immediately var from_item = this.focusedChild, showpopup = from_item && from_item.popup && from_item.popup.isShowingNow; this.inherited(arguments); if(showpopup && !item.disabled){ this._openPopup(); // TODO: on down arrow, _openPopup() is called here and in onItemClick() }";s:7:"summary";s:0:"";}s:25:"dijit.MenuBar._onKeyPress";a:7:{s:9:"prototype";s:13:"dijit.MenuBar";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"evt";a:1:{s:4:"type";s:5:"Event";}}s:6:"source";s:157:" if(evt.ctrlKey || evt.altKey){ return; } switch(evt.charOrCode){ case dojo.keys.DOWN_ARROW: this._moveToPopup(evt); dojo.stopEvent(evt); }";s:7:"summary";s:38:"Handle keyboard based menu navigation.";s:4:"tags";s:9:"protected";s:7:"private";b:1;}s:21:"dijit.MenuBar._orient";a:3:{s:8:"instance";s:13:"dijit.MenuBar";s:7:"private";b:1;s:7:"summary";s:0:"";}s:5:"dijit";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}