/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DesktopManager.java | 94 void dragFrame(JComponent f, int newX, int newY); argument 110 void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight); argument 117 void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight); argument
|
H A D | DefaultDesktopManager.java | 351 public void dragFrame(JComponent f, int newX, int newY) { argument 363 g.drawRect( newX, newY, f.getWidth()-1, f.getHeight()-1); 377 currentLoc = new Point (newX, newY); 383 dragFrameFaster(f, newX, newY); 385 setBoundsForFrame(f, newX, newY, f.getWidth(), f.getHeight()); 414 * @param newY the new y-coordinate 418 public void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) { argument 421 setBoundsForFrame(f, newX, newY, newWidth, newHeight); 431 g.drawRect( newX, newY, newWidth-1, newHeight-1); 437 currentBounds = new Rectangle (newX, newY, newWidt 457 setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) argument 637 dragFrameFaster(JComponent f, int newX, int newY) argument [all...] |
H A D | JViewport.java | 1083 int newY = -y; 1085 if ((oldX != newX) || (oldY != newY)) { 1097 view.setLocation(newX, newY); 1114 view.setLocation(newX, newY); 1121 view.setLocation(newX, newY);
|
H A D | JMenu.java | 967 int newY; 971 newY = y; 974 newY = y - getSize().height; 977 return new Point(newX, newY);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicDesktopIconUI.java | 247 int newX, newY, newW, newH; 265 newY = startingBounds.y - (_y - p.y); 269 if(newY + i.top <= -__y) 270 newY = -__y - i.top; 273 if(newY + __y + i.bottom > pHeight) 274 newY = pHeight - __y - i.bottom; 279 dm.dragFrame(desktopIcon, newX, newY); 281 moveAndRepaint(desktopIcon, newX, newY, 287 public void moveAndRepaint(JComponent f, int newX, int newY, argument 290 f.setBounds(newX, newY, newWidt [all...] |
H A D | BasicSplitPaneDivider.java | 774 protected void continueDrag(int newX, int newY) { argument 775 dragDividerTo(getNeededLocation(newX, newY)); 867 int newY; 869 newY = Math.min(maxX, Math.max(minX, y - offset)); 870 return newY; 879 int newY = (e.getSource() == BasicSplitPaneDivider.this) ? 883 newY = Math.min(maxX, Math.max(minX, newY - offset)); 884 return newY;
|
H A D | BasicInternalFrameUI.java | 836 int newX, newY, newW, newH; 855 newY = startingBounds.y - deltaY; 860 if(newY + i.top <= -__y) 861 newY = -__y - i.top + 1; 864 if(newY + __y + i.bottom >= pHeight) 865 newY = pHeight - __y - i.bottom - 1; 867 getDesktopManager().dragFrame(frame, newX, newY); 876 newY = frame.getY(); 893 newY = startingBounds.y - deltaY; 915 newY [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifDesktopPaneUI.java | 92 public void setBoundsForFrame(JComponent f, int newX, int newY, argument 98 f.setBounds(newX, newY, newWidth, newHeight); 99 SwingUtilities.computeUnion(newX, newY, newWidth, newHeight, r); 106 dragPane.setBounds(newX, newY, newWidth, newHeight); 107 SwingUtilities.computeUnion(newX, newY, newWidth, newHeight, r); 125 public void dragFrame(JComponent f, int newX, int newY) { argument 126 setBoundsForFrame(f, newX, newY, f.getWidth(), f.getHeight()); 157 public void resizeFrame(JComponent f, int newX, int newY, argument 159 setBoundsForFrame(f, newX, newY, newWidth, newHeight);
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | AWTSurfaceLayers.m | 80 CGFloat newY = windowLayer.bounds.size.height - rect.origin.y - rect.size.height; 81 CGRect newRect = CGRectMake(rect.origin.x, newY, rect.size.width, rect.size.height);
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | CompositeCRenderer.java | 256 double newY = Math.floor(compositingBounds.getY() + sg2d.transY); 258 double newH = Math.ceil(compositingBounds.getHeight()) + (newY < compositingBounds.getY() ? 1 : 0); 259 compositingBounds.setRect(newX, newY, newW, newH); 264 double newY = Math.floor(compositingBounds.getY()); 266 double newH = Math.ceil(compositingBounds.getHeight()) + (newY < compositingBounds.getY() ? 1 : 0); 267 compositingBounds.setRect(newX, newY, newW, newH); 321 double newY = Math.floor(bounds.getY()); 323 double newH = Math.ceil(bounds.getHeight()) + (newY < bounds.getY() ? 1 : 0); 324 bounds.setRect(newX, newY, newW, newH);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTableHeaderBorder.java | 103 final int newY = y; 107 painter.paint(g, c, newX - 1, newY - 1, newWidth + 1, newHeight);
|
H A D | AquaInternalFrameUI.java | 550 int newX, newY; 567 newY = startingBounds.y - deltaY; 571 if (newY + i.top <= -__y) newY = -__y - i.top; 573 if (newY + __y + i.bottom > pHeight) newY = pHeight - __y - i.bottom; 575 getDesktopManager().dragFrame(frame, newX, newY); 840 final int newY = frame.getY(); 862 if (newY + originalSize.height - deltaY > parentBounds.height) { 863 deltaY = newY [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthDesktopPaneUI.java | 416 public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) { argument 417 super.setBoundsForFrame(f, newX, newY, newWidth, newHeight); 418 if (taskBar != null && newY >= taskBar.getY()) {
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_GraphicsEnv.c | 593 int32_t newX, int32_t newY, 611 DTRACE_PRINTLN4("checkNewXineramaScreen() x=%i y=%i w=%i h=%i\n",newX, newY, newWidth, newHeight); 617 if (INTERSECTS(newX, newX + newWidth, newY, newY + newHeight, 624 vert = MIN(newY + newHeight, fbrects[i].y + fbrects[i].height) - 625 MAX(newY, fbrects[i].y); 592 checkNewXineramaScreen(JNIEnv* env, jobject peer, struct FrameData* wdata, int32_t newX, int32_t newY, int32_t newWidth, int32_t newHeight) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | DefaultEditorKit.java | 1473 int newY = getAdjustedY(target, newVis, newIndex); 1475 if (direction == -1 && newY <= initialY || direction == 1 && newY >= initialY) { 1477 newVis.y = newY;
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Component.java | 4956 int newX, newY; 4958 newY = e.getY() + getY(); // the cursor's position relative to this 4976 newY += anc.getY(); 4999 newY, // y relative to new source
|