public static class

ListenerWrapper.WrappedFocusListener

extends ListenerWrapper<T>
implements BlurHandler FocusHandler
java.lang.Object
   ↳ com.google.gwt.user.client.BaseListenerWrapper<T>
     ↳ com.google.gwt.user.client.ui.ListenerWrapper<T>
       ↳ com.google.gwt.user.client.ui.ListenerWrapper.WrappedFocusListener

Class Overview

Wrapper for a FocusListener.

Summary

Public Methods
static ListenerWrapper.WrappedFocusListener add(HasAllFocusHandlers eventSource, FocusListener listener)
This method is deprecated. will be removed in GWT 2.0 along with the listener classes
void onBlur(BlurEvent event)
Called when BlurEvent is fired.
void onFocus(FocusEvent event)
Called when FocusEvent is fired.
static void remove(Widget eventSource, FocusListener listener)
This method is deprecated. will be removed in GWT 2.0 along with the listener classes
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.ListenerWrapper
From class com.google.gwt.user.client.BaseListenerWrapper
From class java.lang.Object
From interface com.google.gwt.event.dom.client.BlurHandler
From interface com.google.gwt.event.dom.client.FocusHandler

Public Methods

public static ListenerWrapper.WrappedFocusListener add (HasAllFocusHandlers eventSource, FocusListener listener)

This method is deprecated.
will be removed in GWT 2.0 along with the listener classes

Adds the wrapped listener.

Parameters
eventSource the event source
listener the listener
Returns
  • the wrapped listener

public void onBlur (BlurEvent event)

Called when BlurEvent is fired.

Parameters
event the BlurEvent that was fired

public void onFocus (FocusEvent event)

Called when FocusEvent is fired.

Parameters
event the FocusEvent that was fired

public static void remove (Widget eventSource, FocusListener listener)

This method is deprecated.
will be removed in GWT 2.0 along with the listener classes

Removes the wrapped listener.

Parameters
eventSource the event source from which to remove the wrapped listener
listener the listener to remove