Class MouseWheelListenerCollection

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<MouseWheelListener>
com.google.gwt.user.client.ui.MouseWheelListenerCollection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<MouseWheelListener>, Collection<MouseWheelListener>, List<MouseWheelListener>, RandomAccess

@Deprecated public class MouseWheelListenerCollection extends ArrayList<MouseWheelListener>
Deprecated.
Widgets should now manage their own handlers via Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)
A helper class for implementers of the SourcesMouseWheelEvents interface. This subclass of ArrayList assumes that all objects added to it will be of type MouseWheelListener.
See Also:
  • Constructor Details

    • MouseWheelListenerCollection

      public MouseWheelListenerCollection()
      Deprecated.
  • Method Details

    • fireMouseWheel

      public void fireMouseWheel(Widget sender, MouseWheelVelocity velocity)
      Deprecated.
      Fires a mouse wheel event to all listeners.
      Parameters:
      sender - the widget sending the event
      velocity - the velocity information for the event
    • fireMouseWheelEvent

      public void fireMouseWheelEvent(Widget sender, Event event)
      Deprecated.
      A helper for widgets that source mouse events.
      Parameters:
      sender - the widget sending the event
      event - the Event received by the widget