public class JRangeSlider.JRangeSliderWindowsUI.RangeTrackListener extends BasicSliderUI.TrackListener
currentMouseX, currentMouseY, offset| Constructor and Description |
|---|
RangeTrackListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseDragged(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
private void |
moveLowerThumb()
Moves the location of the lower thumb, and sets its corresponding
value in the slider.
|
private void |
moveUpperThumb()
Moves the location of the upper thumb, and sets its corresponding
value in the slider.
|
boolean |
shouldScroll(int direction) |
mouseMovedmouseClicked, mouseEntered, mouseExited, mouseWheelMovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmouseClicked, mouseEntered, mouseExitedpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class BasicSliderUI.TrackListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class BasicSliderUI.TrackListenerpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenermouseDragged in class BasicSliderUI.TrackListenerpublic boolean shouldScroll(int direction)
shouldScroll in class BasicSliderUI.TrackListenerprivate void moveLowerThumb()
private void moveUpperThumb()
Copyright © 2007–2017 Gephi Consortium. All rights reserved.