Package org.eclipse.draw2d
Class ScrollBar.ThumbDragger
java.lang.Object
org.eclipse.draw2d.MouseMotionListener.Stub
org.eclipse.draw2d.ScrollBar.ThumbDragger
- All Implemented Interfaces:
MouseListener,MouseMotionListener
- Enclosing class:
ScrollBar
- Since:
- 3.6
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.draw2d.MouseListener
MouseListener.StubNested classes/interfaces inherited from interface org.eclipse.draw2d.MouseMotionListener
MouseMotionListener.Stub -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when a mouse button has been double clicked over the listened to object.voidCalled when the mouse has moved over the listened to object while a button was pressed.voidCalled when a mouse button has been pressed while over the listened to object.voidCalled when a pressed mouse button has been released.Methods inherited from class org.eclipse.draw2d.MouseMotionListener.Stub
mouseEntered, mouseExited, mouseHover, mouseMoved
-
Field Details
-
start
-
dragRange
protected int dragRange -
revertValue
protected int revertValue -
armed
protected boolean armed
-
-
Constructor Details
-
ThumbDragger
public ThumbDragger()
-
-
Method Details
-
mousePressed
Description copied from interface:MouseListenerCalled when a mouse button has been pressed while over the listened to object.- Specified by:
mousePressedin interfaceMouseListener- Parameters:
me- The MouseEvent object
-
mouseDragged
Description copied from interface:MouseMotionListenerCalled when the mouse has moved over the listened to object while a button was pressed.- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classMouseMotionListener.Stub- Parameters:
me- The MouseEvent object- See Also:
-
mouseReleased
Description copied from interface:MouseListenerCalled when a pressed mouse button has been released.- Specified by:
mouseReleasedin interfaceMouseListener- Parameters:
me- The MouseEvent object
-
mouseDoubleClicked
Description copied from interface:MouseListenerCalled when a mouse button has been double clicked over the listened to object.- Specified by:
mouseDoubleClickedin interfaceMouseListener- Parameters:
me- The MouseEvent object
-