Class HandlesAllFocusEvents

java.lang.Object
com.google.gwt.event.dom.client.HandlesAllFocusEvents
All Implemented Interfaces:
BlurHandler, FocusHandler, EventHandler

public abstract class HandlesAllFocusEvents extends Object implements FocusHandler, BlurHandler
Receiver used to handle all focus events at once.
  • Constructor Details

    • HandlesAllFocusEvents

      public HandlesAllFocusEvents()
      Constructor.
  • Method Details

    • handle

      public static <H extends BlurHandler & FocusHandler> void handle(HasAllFocusHandlers eventSource, H reciever)
      Convenience method used to handle both focus and blur events from an event source.
      Type Parameters:
      H - receiver type, must implement both FocusHandler and BlurHandler handlers
      Parameters:
      eventSource - the event source
      reciever - the receiver implementing both focus and blur handlers
    • handle

      public void handle(HasAllFocusHandlers source)
      Convenience method to handle both focus and blur events from an event source.
      Parameters:
      source - the event source