public class SWTMouseWheelEventForwarder extends AbstractSWTMouseEventForwarder<TICMouseWheelListener> implements org.eclipse.swt.events.MouseWheelListener
TICMouseWheelListeners and delegates all SWT events to the entries in this list.
Warning: This class in meant for internal use by TICComponent and is not guaranteed to have an unchanged
API in future releases with the same major version number.
| Constructor and Description |
|---|
SWTMouseWheelEventForwarder(TICListenerSet<TICMouseWheelListener> listenerSet,
ScrollingTICComponent scrolledComponent)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
mouseScrolled(org.eclipse.swt.events.MouseEvent event) |
transformMouseX, transformMouseYforwardMouseEventToParent, getListenerSetpublic SWTMouseWheelEventForwarder(TICListenerSet<TICMouseWheelListener> listenerSet, ScrollingTICComponent scrolledComponent)
listenerSet - the set of TIC listeners for forward events toscrolledComponent - Optional parameter that allows to specify a scrolled component that will be the
receiver of forwarded events. If the receiver is not a scrolled component and no mouse coordinate
transformation shall be performed, null can be specified here.public void mouseScrolled(org.eclipse.swt.events.MouseEvent event)
mouseScrolled in interface org.eclipse.swt.events.MouseWheelListener