Searched defs:newY (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());
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...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicDesktopIconUI.java247 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 DBasicSplitPaneDivider.java774 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;
/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);
418 if (taskBar != null && newY >= taskBar.getY()) {
/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,
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

Completed in 54 milliseconds