java.lang.Object | ||
↳ | java.awt.event.MouseAdapter | |
↳ | javax.swing.plaf.basic.BasicScrollBarUI.TrackListener |
Track mouse drags.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
currentMouseX | |||||||||||
currentMouseY | |||||||||||
offset |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set the models value to the position of the thumb's top of Vertical
scrollbar, or the left/right of Horizontal scrollbar in
left-to-right/right-to-left scrollbar relative to the origin of the
track.
| |||||||||||
Invoked when the mouse exits the scrollbar.
| |||||||||||
Invoked when the mouse cursor has been moved onto a component
but no buttons have been pushed.
| |||||||||||
If the mouse is pressed above the "thumb" component
then reduce the scrollbars value by one page ("page up"),
otherwise increase it by one page.
| |||||||||||
Invoked when a mouse button has been released on a component.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.awt.event.MouseAdapter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.awt.event.MouseListener
| |||||||||||
From interface
java.awt.event.MouseMotionListener
| |||||||||||
From interface
java.awt.event.MouseWheelListener
|
Set the models value to the position of the thumb's top of Vertical scrollbar, or the left/right of Horizontal scrollbar in left-to-right/right-to-left scrollbar relative to the origin of the track.
Invoked when the mouse exits the scrollbar.
e | MouseEvent further describing the event |
---|
Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.
If the mouse is pressed above the "thumb" component then reduce the scrollbars value by one page ("page up"), otherwise increase it by one page. If there is no thumb then page up if the mouse is in the upper half of the track.
Invoked when a mouse button has been released on a component.