Lines Matching defs:popupMenu
123 private JPopupMenu popupMenu;
225 if ( popupMenu != null )
227 popupMenu.setUI((PopupMenuUI)UIManager.getUI(popupMenu));
322 return popupMenu.isVisible();
346 // Set location of popupMenu (pulldown or pullright)
543 if (popupMenu == null) {
545 this.popupMenu = new JPopupMenu();
546 popupMenu.setInvoker(this);
547 popupListener = createWinListener(popupMenu);
566 if (popupMenu != null)
567 popupMenu.setLocation(x, y);
579 return popupMenu.add(menuItem);
591 popupMenu.add(c);
607 popupMenu.add(c, index);
674 popupMenu.addSeparator();
693 popupMenu.insert(new JMenuItem(s), pos);
711 popupMenu.insert(mi, pos);
734 popupMenu.insert(mi, pos);
752 popupMenu.insert( new JPopupMenu.Separator(), index );
811 if (popupMenu != null)
812 popupMenu.remove(item);
830 if (popupMenu != null)
831 popupMenu.remove(pos);
840 if (popupMenu != null)
841 popupMenu.remove(c);
848 if (popupMenu != null)
849 popupMenu.removeAll();
859 if (popupMenu != null)
860 componentCount = popupMenu.getComponentCount();
873 if (popupMenu != null)
874 return popupMenu.getComponent(n);
888 if (popupMenu != null)
889 return popupMenu.getComponents();
986 return popupMenu;
1162 JPopupMenu popupMenu;
1168 this.popupMenu = p;
1204 if(popupMenu == null)
1208 result[0] = popupMenu;
1241 if ( popupMenu != null ) {
1246 popupMenu.setComponentOrientation(o);
1252 if ( popupMenu != null ) {
1253 popupMenu.setComponentOrientation(o);