/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | PopupMenuUI.java | 52 * @param popup JPopupMenu requesting Popup 58 public Popup getPopup(JPopupMenu popup, int x, int y) { argument 61 return popupFactory.getPopup(popup.getInvoker(), popup, x, y);
|
/openjdk7/jdk/test/javax/swing/JPopupMenu/6694823/ |
H A D | bug6694823.java | 27 * @summary Checks that popup menu cannot be partially hidden 41 private static JPopupMenu popup; field in class:bug6694823 75 // Show popup as if from an applet 76 // The popup shouldn't overlap the task bar. It should be shifted up. 86 popup = new JPopupMenu("Menu"); 88 popup.add(new JMenuItem("MenuItem")); 91 panel.setComponentPopupMenu(popup); 114 // Place popup over the task bar 116 point.y = frame.getHeight() - popup.getPreferredSize().height + screenInsets.bottom; 117 popup [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Coordinator/src/com/sun/hotspot/igv/coordinator/actions/ |
H A D | StructuredViewAction.java | 62 private static JPopupMenu popup; field in class:StructuredViewAction 77 popup = new JPopupMenu(); 100 popup.add(item); 110 popup); 132 popup.addPopupMenuListener(new PopupMenuListener() { 164 popup.show(dropDownButton, 0, dropDownButton.getHeight());
|
/openjdk7/jdk/test/javax/swing/JPopupMenu/4966112/ |
H A D | bug4966112.java | 69 System.out.println("Test can't identify the popup trigger button. Test skipped"); 295 private JPopupMenu popup; field in class:bug4966112.AutoClosable 301 public void setPopup(JPopupMenu popup) { argument 302 this.popup = popup; 307 if (popup != null) { 308 popup.setVisible(false);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | PopupFactory.java | 48 * Popup popup = factory.getPopup(owner, contents, x, y); 49 * popup.show(); 51 * popup.hide(); 73 * Key used to indicate a light weight popup should be used. 170 Popup popup = getPopup(owner, contents, x, y, popupType); 172 if (popup == null) { 174 popup = getPopup(owner, contents, x, y, HEAVY_WEIGHT_POPUP); 176 return popup; 180 * Returns the popup type to use for the specified parameters. 196 // force a heavy weight popup i 399 recycleHeavyWeightPopup(HeavyWeightPopup popup) argument 681 recycleLightWeightPopup(LightWeightPopup popup) argument 838 recycleMediumWeightPopup(MediumWeightPopup popup) argument [all...] |
H A D | JPopupMenu.java | 51 * An implementation of a popup menu -- a small window that pops up 59 * For information and examples of using popup menus, see 111 transient Popup popup; field in class:JPopupMenu 184 * for the popup menu. 276 * description: The selection model for the popup menu 345 // Calculate the screen size that popup should fit 363 // Ensure that popup menu fits the screen 412 * Returns whether popup is allowed to be shown above the task bar. 459 * Removes the component at the specified index from this popup menu. 480 * By default, when a look and feel displays a popup, 1121 isSubPopupMenu(JPopupMenu popup) argument [all...] |
H A D | JComponent.java | 512 * If <code>popup</code> is null, and <code>getInheritsPopupMenu</code> 519 * @param popup - the popup that will be assigned to this component 528 public void setComponentPopupMenu(JPopupMenu popup) { argument 529 if(popup != null) { 533 this.popupMenu = popup; 534 firePropertyChange("componentPopupMenu", oldPopup, popup); 545 * or <code>null</code> if no popup assigned 556 // Search parents for its popup 3048 * Returns the preferred location to display the popup men [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | TrayIcon.java | 41 * <code>TrayIcon</code> can have a tooltip (text), an image, a popup 49 * displays the specified popup menu. When the mouse hovers 61 * will assign different gestures to showing a popup menu and 90 private PopupMenu popup; field in class:TrayIcon 203 * tooltip and popup menu. 208 * @param popup the menu to be used for the tray icon's popup 209 * menu; if the value is <code>null</code> no popup menu is shown 226 public TrayIcon(Image image, String tooltip, PopupMenu popup) { argument 228 setPopupMenu(popup); 302 setPopupMenu(PopupMenu popup) argument [all...] |
H A D | Component.java | 6909 PopupMenu popup = (PopupMenu)popups.elementAt(i); 6910 popup.addNotify(); 6979 PopupMenu popup = (PopupMenu)popups.elementAt(i); 6980 popup.removeNotify(); 8013 * Adds the specified popup menu to the component. 8014 * @param popup the popup menu to be added to the component. 8016 * @exception NullPointerException if {@code popup} is {@code null} 8019 public void add(PopupMenu popup) { argument 8021 if (popup 8044 remove(MenuComponent popup) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CTrayIcon.java | 42 private PopupMenu popup; field in class:CTrayIcon 62 this.popup = target.getPopupMenu(); 73 if (popup != null) { 75 menuPeer = (CPopupMenu)popup.getPeer(); 77 popup.addNotify(); 98 if(popup == null) {
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WTrayIconPeer.java | 49 PopupMenu popup; field in class:WTrayIconPeer 83 if (popup != newPopup) { 84 if (popup != null) { 85 popupParent.remove(popup); 90 popup = newPopup; 92 if (popup != null) { 93 ((WPopupMenuPeer)popup.getPeer()).show(popupParent, new Point(x, y));
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XTrayIconPeer.java | 52 PopupMenu popup; field in class:XTrayIconPeer 343 if (popup != newPopup) { 344 if (popup != null) { 345 eframe.remove(popup); 350 popup = newPopup; 353 if (popup != null) { 355 popup.show(eframe, loc.x, loc.y);
|
H A D | XWindow.java | 535 public void popup(int x, int y, int width, int height) { method in class:XWindow 712 Check for popup trigger !!
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicComboBoxUI.java | 81 // It doesn't have anything to do with the popup's rendering. 84 // The implementation of ComboPopup that is used to show the popup. 85 protected ComboPopup popup; field in class:BasicComboBoxUI 90 // The arrow button that invokes the popup. 251 popup = createPopup(); 252 listBox = popup.getList(); 288 popup.uninstallingUI(); 320 popup = null; 364 if ((popupMouseListener = popup.getMouseListener()) != null) { 367 if ((popupMouseMotionListener = popup [all...] |
H A D | BasicPopupMenuUI.java | 144 static InputMap getInputMap(JPopupMenu popup, JComponent c) { argument 149 if (!popup.getComponentOrientation().isLeftToRight()) { 219 JPopupMenu popup = null; 221 for(int i = p.length - 1; popup == null && i >= 0; i--) { 223 popup = (JPopupMenu)p[i]; 225 return popup; 475 // may not be selected, so submenu popup can be either the 494 JPopupMenu popup = menu.getPopupMenu(); 495 MenuElement[] subs = popup.getSubElements(); 506 newPath[len] = popup; [all...] |