Class ListenerWrapper.WrappedFocusListener

All Implemented Interfaces:
BlurHandler, FocusHandler, EventHandler
Enclosing class:
ListenerWrapper<T>

public static class ListenerWrapper.WrappedFocusListener extends ListenerWrapper<FocusListener> implements FocusHandler, BlurHandler
Wrapper for a FocusListener.
  • Method Details

    • add

      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
    • remove

      @Deprecated public static void remove(Widget eventSource, FocusListener listener)
      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
    • onBlur

      public void onBlur(BlurEvent event)
      Description copied from interface: BlurHandler
      Called when BlurEvent is fired.
      Specified by:
      onBlur in interface BlurHandler
      Parameters:
      event - the BlurEvent that was fired
    • onFocus

      public void onFocus(FocusEvent event)
      Description copied from interface: FocusHandler
      Called when FocusEvent is fired.
      Specified by:
      onFocus in interface FocusHandler
      Parameters:
      event - the FocusEvent that was fired