Class HandlesAllFocusEvents

    • Constructor Detail

      • HandlesAllFocusEvents

        public HandlesAllFocusEvents()
        Constructor.
    • Method Detail

      • 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