Searched refs:popupBounds (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaPopupMenuUI.java59 final Rectangle popupBounds = popupMenu.getBounds(); // NB: origin is still at 0,0
60 paintRoundRect(g2d, popupBounds);
61 clipEdges(g2d, popupBounds);
68 protected void paintRoundRect(final Graphics2D g2d, final Rectangle popupBounds) { argument
76 g2d.drawRoundRect(-2, -2, popupBounds.width + 3, popupBounds.height + 3, 12, 12);
80 protected void clipEdges(final Graphics2D g2d, final Rectangle popupBounds) { argument
88 popupBounds.setLocation(popupMenu.getLocationOnScreen());
91 if (popupBounds.contains(invokerCenter)) {
100 final Point popupCenter = new Point((int)popupBounds
[all...]
H A DAquaComboBoxPopup.java123 final Rectangle popupBounds = adjustPopupAndGetBounds();
124 if (popupBounds == null) return; // null means don't show
127 show(comboBox, popupBounds.x, popupBounds.y);
168 final Rectangle popupBounds = computePopupBounds(0, comboBox.getBounds().height, popupSize.width, popupSize.height);
169 if (popupBounds == null) return null; // returning null means don't show anything
171 final Dimension realPopupSize = popupBounds.getSize();
185 return popupBounds;
343 final Rectangle popupBounds = new Rectangle(px, py, pw, ph);// Relative to comboBox
356 popupBounds
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicComboPopup.java1254 Rectangle popupBounds = computePopupBounds( 0, comboBox.getBounds().height,
1256 Dimension scrollSize = popupBounds.getSize();
1257 Point popupLocation = popupBounds.getLocation();

Completed in 27 milliseconds