2526272829303132333435
Menu menu = (Menu)component; if (menu.isVisible()) { Button btn = menu.getData("parent"); if (btn != null) { pe.preventDefault(); btn.hideMenu(); focusNextWidget(btn.getParent()); } } }