Package com.google.gwt.event.dom.client
Class HandlesAllFocusEvents
java.lang.Object
com.google.gwt.event.dom.client.HandlesAllFocusEvents
- All Implemented Interfaces:
BlurHandler
,FocusHandler
,EventHandler
Receiver used to handle all focus events at once.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(HasAllFocusHandlers source) Convenience method to handle both focus and blur events from an event source.static <H extends BlurHandler & FocusHandler>
voidhandle
(HasAllFocusHandlers eventSource, H reciever) Convenience method used to handle both focus and blur events from an event source.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.gwt.event.dom.client.BlurHandler
onBlur
Methods inherited from interface com.google.gwt.event.dom.client.FocusHandler
onFocus
-
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 bothFocusHandler
andBlurHandler
handlers- Parameters:
eventSource
- the event sourcereciever
- the receiver implementing both focus and blur handlers
-
handle
Convenience method to handle both focus and blur events from an event source.- Parameters:
source
- the event source
-