Lines Matching defs:menu
59 // We disable component events when the menu bar is not parented. So now we need to
92 // We don't listen to events when the menu bar is not parented.
211 JMenu menu = null;
214 menu = fSwingBar.getMenu(i);
215 if (menu == m) {
219 if (menu != null && menu.isVisible()) {
230 * Remove the screen menu associated with the specifiec menu. This
231 * also removes any associated component listener on the screen menu
232 * and removes the key/value (menu/screen menu) from the fSubmenus cache.
234 * @param menu The swing menu we want to remove the screen menu for.
236 private void removeSubmenu(final JMenu menu) {
237 final ScreenMenu screenMenu = fSubmenus.get(menu);
240 menu.removeComponentListener(this);
242 fSubmenus.remove(menu);