API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicSliderUI.TrackListener View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      MouseAdapter
          MouseInputAdapter
              BasicSliderUI.TrackListener
Implements
Subclasses
Description
public class BasicSliderUI.TrackListener
  Track mouse movements.
See also:   
Constructors
public BasicSliderUI.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]
Set the models value to the position of the top/left of the thumb 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) [Inherited From MouseAdapter]
Invoked when the mouse exits a component.
public void mouseMoved (MouseEvent e) [Overrides MouseAdapter]
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.
public boolean shouldScroll (int direction)
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