public class

MouseListenerCollection

extends ArrayList<E>
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.ArrayList<E>
         ↳ com.google.gwt.user.client.ui.MouseListenerCollection

This class is deprecated.
Widgets should now manage their own handlers via addDomHandler(H, DomEvent.Type)

Class Overview

A helper class for implementers of the SourcesMouseEvents interface. This subclass of ArrayList assumes that all objects added to it will be of type MouseListener.

Summary

[Expand]
Inherited Fields
From class java.util.AbstractList
Public Constructors
MouseListenerCollection()
Public Methods
void fireMouseDown(Widget sender, int x, int y)
Fires a mouse down event to all listeners.
void fireMouseEnter(Widget sender)
Fires a mouse enter event to all listeners.
void fireMouseEvent(Widget sender, Event event)
A helper for widgets that source mouse events.
void fireMouseLeave(Widget sender)
Fires a mouse leave event to all listeners.
void fireMouseMove(Widget sender, int x, int y)
Fires a mouse move event to all listeners.
void fireMouseUp(Widget sender, int x, int y)
Fires a mouse up event to all listeners.
[Expand]
Inherited Methods
From class java.util.ArrayList
From class java.util.AbstractList
From class java.util.AbstractCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.List

Public Constructors

public MouseListenerCollection ()

Public Methods

public void fireMouseDown (Widget sender, int x, int y)

Fires a mouse down event to all listeners.

Parameters
sender the widget sending the event
x the x coordinate of the mouse
y the y coordinate of the mouse

public void fireMouseEnter (Widget sender)

Fires a mouse enter event to all listeners.

Parameters
sender the widget sending the event

public void fireMouseEvent (Widget sender, Event event)

A helper for widgets that source mouse events.

Parameters
sender the widget sending the event
event the Event received by the widget

public void fireMouseLeave (Widget sender)

Fires a mouse leave event to all listeners.

Parameters
sender the widget sending the event

public void fireMouseMove (Widget sender, int x, int y)

Fires a mouse move event to all listeners.

Parameters
sender the widget sending the event
x the x coordinate of the mouse
y the y coordinate of the mouse

public void fireMouseUp (Widget sender, int x, int y)

Fires a mouse up event to all listeners.

Parameters
sender the widget sending the event
x the x coordinate of the mouse
y the y coordinate of the mouse