com.google.gwt.user.client.ui
Class FocusListenerAdapter

java.lang.Object
  extended bycom.google.gwt.user.client.ui.FocusListenerAdapter
All Implemented Interfaces:
EventListener, FocusListener

public abstract class FocusListenerAdapter
extends Object
implements FocusListener

An adapter to simplify focus event listeners that do not need all events defined on the FocusListener interface.


Field Summary
 
Fields inherited from class java.lang.Object
typeId, typeName
 
Constructor Summary
FocusListenerAdapter()
           
 
Method Summary
 void onFocus(Widget sender)
          Fired when a widget receives keyboard focus.
 void onLostFocus(Widget sender)
          Fired when a widget loses keyboard focus.
 
Methods inherited from class java.lang.Object
equals, finalize, hashCode, toString
 

Constructor Detail

FocusListenerAdapter

public FocusListenerAdapter()
Method Detail

onFocus

public void onFocus(Widget sender)
Description copied from interface: FocusListener
Fired when a widget receives keyboard focus.

Specified by:
onFocus in interface FocusListener
Parameters:
sender - the widget receiving focus.

onLostFocus

public void onLostFocus(Widget sender)
Description copied from interface: FocusListener
Fired when a widget loses keyboard focus.

Specified by:
onLostFocus in interface FocusListener
Parameters:
sender - the widget losing focus.


This javadoc distribution was not produced by Google. The official documentation is here.