Eclipse Platform
Release 3.3

org.eclipse.swt.events
Interface MouseWheelListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener

public interface MouseWheelListener
extends org.eclipse.swt.internal.SWTEventListener

Classes which implement this interface provide a method that deals with the event that is generated as the mouse wheel is scrolled.

After creating an instance of a class that implements this interface it can be added to a control using the addMouseWheelListener method and removed using the removeMouseWheelListener method. When the mouse wheel is scrolled the mouseScrolled method will be invoked.

Since:
3.3
See Also:
MouseEvent

Method Summary
 void mouseScrolled(MouseEvent e)
          Sent when the mouse wheel is scrolled.
 

Method Detail

mouseScrolled

public void mouseScrolled(MouseEvent e)
Sent when the mouse wheel is scrolled.

Parameters:
e - an event containing information about the mouse wheel action

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.