Searched defs:newX (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DDesktopManager.java94 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 DDefaultDesktopManager.java351 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());
413 * @param newX the new x-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, new
457 setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) argument
637 dragFrameFaster(JComponent f, int newX, int newY) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicDesktopIconUI.java247 int newX, newY, newW, newH;
264 newX = startingBounds.x - (_x - p.x);
267 if(newX + i.left <= -__x)
268 newX = -__x - i.left;
271 if(newX + __x + i.right > pWidth)
272 newX = pWidth - __x - i.right;
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, new
[all...]
H A DBasicSplitPaneDivider.java754 int newX = (e.getSource() == BasicSplitPaneDivider.this) ?
757 newX = Math.min(maxX, Math.max(minX, newX - offset));
758 return newX;
767 int newX;
769 newX = Math.min(maxX, Math.max(minX, x - offset));
770 return newX;
774 protected void continueDrag(int newX, int newY) { argument
775 dragDividerTo(getNeededLocation(newX, newY));
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthDesktopPaneUI.java416 public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) { argument
417 super.setBoundsForFrame(f, newX, newY, newWidth, newHeight);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifDesktopPaneUI.java92 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/solaris/native/sun/awt/
H A Dawt_GraphicsEnv.c593 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,
622 horiz = MIN(newX + newWidth, fbrects[i].x + fbrects[i].width) -
623 MAX(newX, fbrects[i].x);
592 checkNewXineramaScreen(JNIEnv* env, jobject peer, struct FrameData* wdata, int32_t newX, int32_t newY, int32_t newWidth, int32_t newHeight) argument

Completed in 33 milliseconds