javax.swing.plaf.basic
protected class BasicScrollBarUI.TrackListener extends MouseAdapter implements MouseMotionListener
| Field Summary | |
|---|---|
| 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. |
| Method Summary | |
|---|---|
| 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. |
Parameters: e The MouseEvent given.
Parameters: e The MouseEvent given.
Parameters: e The MouseEvent given.
Parameters: e The MouseEvent given.