protected class ScrollBar.ThumbDragger extends MouseMotionListener.Stub implements MouseListener
MouseListener.Stub
MouseMotionListener.Stub
Modifier and Type | Field and Description |
---|---|
protected boolean |
armed |
protected int |
dragRange |
protected int |
revertValue |
protected Point |
start |
Constructor and Description |
---|
ThumbDragger() |
Modifier and Type | Method and Description |
---|---|
void |
mouseDoubleClicked(MouseEvent me)
Called when a mouse button has been double clicked over the listened to
object.
|
void |
mouseDragged(MouseEvent me)
Called when the mouse has moved over the listened to object while a
button was pressed.
|
void |
mousePressed(MouseEvent me)
Called when a mouse button has been pressed while over the listened to
object.
|
void |
mouseReleased(MouseEvent me)
Called when a pressed mouse button has been released.
|
mouseEntered, mouseExited, mouseHover, mouseMoved
protected Point start
protected int dragRange
protected int revertValue
protected boolean armed
public void mousePressed(MouseEvent me)
MouseListener
mousePressed
in interface MouseListener
me
- The MouseEvent objectpublic void mouseDragged(MouseEvent me)
MouseMotionListener
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MouseMotionListener.Stub
me
- The MouseEvent objectMouseMotionListener.mouseDragged(MouseEvent)
public void mouseReleased(MouseEvent me)
MouseListener
mouseReleased
in interface MouseListener
me
- The MouseEvent objectpublic void mouseDoubleClicked(MouseEvent me)
MouseListener
mouseDoubleClicked
in interface MouseListener
me
- The MouseEvent objectCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.