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

/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/
H A DImageDecoratedDnDInOut.java93 Point sourcePoint = dragSource.getLocationOnScreen();
95 sourcePoint.translate(d.width / 2, d.height / 2);
98 robot.mouseMove(sourcePoint.x, sourcePoint.y);
103 sourcePoint.x + d.width / 2 + 10,
104 sourcePoint.y + d.height);
107 robot.mouseMove(sourcePoint.x, sourcePoint.y);
111 sourcePoint.x,
112 sourcePoint
[all...]
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/
H A DImageDecoratedDnDNegative.java122 Point sourcePoint = dragSource.getLocationOnScreen();
124 sourcePoint.translate(d.width / 2, d.height / 2);
128 robot.mouseMove(sourcePoint.x, sourcePoint.y);
130 sourcePoint.x,
131 sourcePoint.y);
133 sourcePoint.x + d.width / 2 + 10,
134 sourcePoint.y + d.height);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DMenuSelectionManager.java361 * which contains sourcePoint.
363 * @param source The component in whose coordinate space sourcePoint
365 * @param sourcePoint The point which is being tested
367 * contains sourcePoint (relative to the source component's
368 * coordinate space. If sourcePoint is not inside a component
371 public Component componentForPoint(Component source, Point sourcePoint) { argument
373 Point p = sourcePoint;

Completed in 49 milliseconds