Searched refs:currentMouseY (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaSliderUI.java317 protected transient int currentMouseX = -1, currentMouseY = -1; field in class:AquaSliderUI.TrackListener
323 currentMouseY = -1;
353 final boolean firstClick = (currentMouseX == -1) && (currentMouseY == -1);
356 currentMouseY = e.getY();
362 boolean isMouseEventInThumb = thumbRect.contains(currentMouseX, currentMouseY);
370 slider.setValue(valueForYPosition(currentMouseY));
386 offset = currentMouseY - thumbRect.y;
404 if (r.y + r.height <= currentMouseY) return false;
406 if (r.y >= currentMouseY) return false;
437 currentMouseY
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java1063 protected transient int currentMouseX, currentMouseY; field in class:BasicScrollBarUI.TrackListener
1114 currentMouseY = e.getY();
1117 if(getThumbBounds().contains(currentMouseX, currentMouseY)) {
1120 offset = currentMouseY - getThumbBounds().y;
1152 direction = (currentMouseY < scrollbarCenter) ? -1 : +1;
1155 direction = (currentMouseY < thumbY) ? -1 : +1;
1198 currentMouseY = e.getY();
1199 updateThumbState(currentMouseX, currentMouseY);
1315 if (tb.y + tb.height < trackListener.currentMouseY) {
1318 } else if (tb.y > trackListener.currentMouseY) {
[all...]
H A DBasicSliderUI.java1568 protected transient int currentMouseX, currentMouseY; field in class:BasicSliderUI.TrackListener
1602 currentMouseY = e.getY();
1609 if (thumbRect.contains(currentMouseX, currentMouseY)) {
1617 offset = currentMouseY - thumbRect.y;
1642 direction = (currentMouseY < scrollbarCenter) ?
1646 direction = (currentMouseY < scrollbarCenter) ?
1653 direction = (currentMouseY < thumbY) ?
1657 direction = (currentMouseY < thumbY) ?
1702 if (r.y <= currentMouseY) {
1706 else if (r.y + r.height >= currentMouseY) {
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthSliderUI.java941 currentMouseY = e.getY();

Completed in 191 milliseconds