public class

FocusListenerCollection

extends ArrayList<E>
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.ArrayList<E>
         ↳ com.google.gwt.user.client.ui.FocusListenerCollection
Known Direct Subclasses

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 SourcesFocusEvents interface. This subclass of ArrayList assumes that all objects added to it will be of type FocusListener

Summary

[Expand]
Inherited Fields
From class java.util.AbstractList
Public Constructors
FocusListenerCollection()
Public Methods
void fireFocus(Widget sender)
Fires a focus event to all listeners.
void fireFocusEvent(Widget sender, Event event)
A helper for widgets that source focus events.
void fireLostFocus(Widget sender)
Fires a lost-focus 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 FocusListenerCollection ()

Public Methods

public void fireFocus (Widget sender)

Fires a focus event to all listeners.

Parameters
sender the widget sending the event.

public void fireFocusEvent (Widget sender, Event event)

A helper for widgets that source focus events.

Parameters
sender the widget sending the event.
event the DOM event received by the widget.

public void fireLostFocus (Widget sender)

Fires a lost-focus event to all listeners.

Parameters
sender the widget sending the event.