Package com.l2fprod.gui.plaf.xtra
Class XTraScrollBarUI.MyTrackListener
java.lang.Object
java.awt.event.MouseAdapter
javax.swing.plaf.basic.BasicScrollBarUI.TrackListener
com.l2fprod.gui.plaf.xtra.XTraScrollBarUI.MyTrackListener
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
- Enclosing class:
XTraScrollBarUI
Track mouse drags.
- Author:
- fred
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicScrollBarUI.TrackListener
currentMouseX, currentMouseY, offset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set the models value to the position of the top/left of the thumb relative to the origin of the track.Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI.TrackListener
mouseExited, mouseMoved, mousePressed, mouseReleased
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseWheelMoved
-
Constructor Details
-
MyTrackListener
public MyTrackListener()
-
-
Method Details
-
mouseDragged
Set the models value to the position of the top/left of the thumb relative to the origin of the track.- Specified by:
mouseDragged
in interfaceMouseMotionListener
- Overrides:
mouseDragged
in classBasicScrollBarUI.TrackListener
- Parameters:
e
- Description of Parameter
-