/openjdk7/jdk/test/javax/swing/JPopupMenu/6675802/ |
H A D | bug6675802.java | 38 final JPopupMenu popupMenu = new JPopupMenu(); 39 popupMenu.add(new JMenuItem("Click")); 40 popupMenu.show(null, 0, 0);
|
/openjdk7/jdk/test/javax/swing/JPopupMenu/6691503/ |
H A D | bug6691503.java | 40 private JPopupMenu popupMenu; field in class:bug6691503 59 popupMenu = new JPopupMenu(); 61 popupMenu.add(click); 69 popupMenu.show(frame, 0, 0); 71 (popupMenu.getParent().getParent().getParent().getParent()); 75 popupMenu.setVisible(false); 84 popupMenu.show(frame, 0, 0); 86 (popupMenu.getParent().getParent().getParent().getParent()); 90 popupMenu.setVisible(false);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | DefaultMenuLayout.java | 50 JPopupMenu popupMenu = (JPopupMenu) target; 51 sun.swing.MenuItemLayoutHelper.clearUsedClientProperties(popupMenu); 52 if (popupMenu.getComponentCount() == 0) {
|
H A D | BasicPopupMenuUI.java | 69 protected JPopupMenu popupMenu = null; field in class:BasicPopupMenuUI 89 popupMenu = (JPopupMenu) c; 97 if (popupMenu.getLayout() == null || 98 popupMenu.getLayout() instanceof UIResource) 99 popupMenu.setLayout(new DefaultMenuLayout(popupMenu, BoxLayout.Y_AXIS)); 101 LookAndFeel.installProperty(popupMenu, "opaque", Boolean.TRUE); 102 LookAndFeel.installBorder(popupMenu, "PopupMenu.border"); 103 LookAndFeel.installColorsAndFont(popupMenu, 113 popupMenu [all...] |
H A D | BasicMenuUI.java | 611 JPopupMenu popupMenu = ((JMenu)menuItem).getPopupMenu(); 613 newList.add(popupMenu); 614 MenuElement subs[] = popupMenu.getSubElements();
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthPopupMenuUI.java | 63 if (popupMenu.getLayout() == null || 64 popupMenu.getLayout() instanceof UIResource) { 65 popupMenu.setLayout(new SynthMenuLayout(popupMenu, BoxLayout.Y_AXIS)); 67 updateStyle(popupMenu); 89 popupMenu.addPropertyChangeListener(this); 97 SynthContext context = getContext(popupMenu, ENABLED); 103 if (popupMenu.getLayout() instanceof UIResource) { 104 popupMenu.setLayout(null); 114 popupMenu [all...] |
H A D | SynthMenuLayout.java | 46 JPopupMenu popupMenu = (JPopupMenu) target; 47 popupMenu.putClientProperty(
|
/openjdk7/jdk/test/javax/swing/JPopupMenu/7156657/ |
H A D | bug7156657.java | 43 private static JPopupMenu popupMenu; field in class:bug7156657 64 popupMenu = new JPopupMenu(); 65 popupMenu.setOpaque(false); 66 popupMenu.add(new TransparentMenuItem("1111")); 67 popupMenu.add(new TransparentMenuItem("2222")); 68 popupMenu.add(new TransparentMenuItem("3333")); 89 popupMenu.show(frame, 0, 0); 98 return popupMenu.getBounds(); 122 popupMenu.setVisible(false);
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWChoicePeer.java | 169 JPopupMenu popupMenu = getPopupMenu(); 170 if (popupMenu != null) { 171 if (popupMenu.getInvoker() != LWChoicePeer.this.getTarget()) { 172 popupMenu.setVisible(false); 173 popupMenu.show(LWChoicePeer.this.getTarget(), 0, 0);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JMenu.java | 123 private JPopupMenu popupMenu; field in class:JMenu 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); 1162 JPopupMenu popupMenu; field in class:JMenu.WinListener [all...] |
H A D | JComponent.java | 322 private JPopupMenu popupMenu; field in class:JComponent 532 JPopupMenu oldPopup = this.popupMenu; 533 this.popupMenu = popup; 552 return popupMenu; 555 if(popupMenu == null) { 572 return popupMenu;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaPopupMenuUI.java | 59 final Rectangle popupBounds = popupMenu.getBounds(); // NB: origin is still at 0,0 81 final Component invoker = popupMenu.getInvoker(); 88 popupBounds.setLocation(popupMenu.getLocationOnScreen()); 98 g2d.setColor(popupMenu.getBackground());
|
/openjdk7/jdk/test/javax/swing/JPopupMenu/6800513/ |
H A D | bug6800513.java | 47 private static JPopupMenu popupMenu; field in class:bug6800513 70 Popup popup = (Popup) getPopup.get(popupMenu); 86 popupMenu = null; 115 popupMenu = (JPopupMenu) evt.getSource();
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | PopupMenu.java | 55 public boolean isTrayIconPopup(PopupMenu popupMenu) { 56 return popupMenu.isTrayIconPopup;
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_PopupMenu.cpp | 74 AwtPopupMenu* popupMenu = NULL; local 84 popupMenu = new AwtPopupMenu(); 95 popupMenu->SetHMenu(hMenu); 97 popupMenu->LinkObjects(env, self); 98 popupMenu->SetParent(parent); 106 return popupMenu;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsPopupMenuUI.java | 84 * @param popupMenu JPopupMenu requesting Popup 90 public Popup getPopup(JPopupMenu popupMenu, int x, int y) { argument 92 return popupFactory.getPopup(popupMenu.getInvoker(), popupMenu, x, y);
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | Plotter.java | 108 private JPopupMenu popupMenu; field in class:Plotter 232 if (popupMenu != null) { 246 if (popupMenu == null) { 247 popupMenu = new JPopupMenu(Messages.CHART_COLON); 250 popupMenu.add(timeRangeMenu); 263 popupMenu.addSeparator(); 268 popupMenu.add(saveAsMI); 270 return popupMenu;
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | AWTAccessor.java | 496 boolean isTrayIconPopup(PopupMenu popupMenu); argument
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | FilePane.java | 1766 JPopupMenu popupMenu = getFileChooser().getComponentPopupMenu(); 1767 if (popupMenu != null) { 1768 return popupMenu;
|