API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicScrollBarUI.TrackListener View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      MouseAdapter
          BasicScrollBarUI.TrackListener
Implements
 MouseMotionListener
Subclasses
Description
protected class BasicScrollBarUI.TrackListener
Track mouse drags.
See also:   
Constructors
protected BasicScrollBarUI.TrackListener ()
Methods
Hide/Show inherited methods
public void mouseClicked (MouseEvent e) [Inherited From MouseAdapter]
Invoked when the mouse button has been clicked (pressed and released) on a component.
public void mouseDragged (MouseEvent e) [Overrides MouseAdapter] [Specified in MouseMotionListener]
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.
public void mouseEntered (MouseEvent e) [Inherited From MouseAdapter]
Invoked when the mouse enters a component.
public void mouseExited (MouseEvent e) [Overrides MouseAdapter]
  Invoked when the mouse exits the scrollbar.
public void mouseMoved (MouseEvent e) [Overrides MouseAdapter] [Specified in MouseMotionListener]
public void mousePressed (MouseEvent e) [Overrides MouseAdapter]
  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.
public void mouseReleased (MouseEvent e) [Overrides MouseAdapter]
public void mouseWheelMoved (MouseWheelEvent e) [Inherited From MouseAdapter]
  Invoked when the mouse wheel is rotated.
Fields
Hide/Show inherited fields
protectedtransient int currentMouseX
protectedtransient int currentMouseY
protectedtransient int offset
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar