protected class BasicScrollBarUI.TrackListener extends MouseAdapter implements MouseMotionListener
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentMouseX
The current X coordinate of the mouse.
|
protected int |
currentMouseY
The current Y coordinate of the mouse.
|
protected int |
offset
The offset between the current mouse cursor and the current value of
the scrollbar.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BasicScrollBarUI.TrackListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseDragged(MouseEvent e)
This method is called when the mouse is being dragged.
|
void |
mouseMoved(MouseEvent e)
This method is called when the mouse is moved.
|
void |
mousePressed(MouseEvent e)
This method is called when the mouse is pressed.
|
void |
mouseReleased(MouseEvent e)
This method is called when the mouse is released.
|
mouseClicked, mouseEntered, mouseExitedprotected int currentMouseX
protected int currentMouseY
protected int offset
protected BasicScrollBarUI.TrackListener()
public void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenere - The MouseEvent given.public void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenere - The MouseEvent given.public void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class MouseAdaptere - The MouseEvent given.public void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class MouseAdaptere - The MouseEvent given.