onCloseMenu
Called by Menu implementations to indicate that a menu or submenu is closing. Presenter implementations should close the representation of the menu indicated as necessary and notify a registered callback.
Parameters
menu
the menu or submenu that is closing
allMenusAreClosing
true
if all displayed menus and submenus are closing, false
if only the specified menu is closing