|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.plaf.basic.BasicScrollBarUI.TrackListener
protected class BasicScrollBarUI.TrackListener
Helper class that listens for movement on the track.
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. |
Constructor Summary | |
---|---|
protected |
BasicScrollBarUI.TrackListener()
|
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. |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseClicked, mouseEntered, mouseExited |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int currentMouseX
protected int currentMouseY
protected int offset
Constructor Detail |
---|
protected BasicScrollBarUI.TrackListener()
Method Detail |
---|
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
e
- The MouseEvent given.public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
e
- The MouseEvent given.public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
e
- The MouseEvent given.public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseAdapter
e
- The MouseEvent given.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |