public abstract class HandlesAllFocusEvents extends java.lang.Object implements FocusHandler, BlurHandler
Constructor and Description |
---|
HandlesAllFocusEvents()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(HasAllFocusHandlers source)
Convenience method to handle both focus and blur events from an event
source.
|
static <H extends BlurHandler & FocusHandler> |
handle(HasAllFocusHandlers eventSource,
H reciever)
Convenience method used to handle both focus and blur events from an event
source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onFocus
onBlur
public static <H extends BlurHandler & FocusHandler> void handle(HasAllFocusHandlers eventSource, H reciever)
H
- receiver type, must implement both FocusHandler
and
BlurHandler
handlerseventSource
- the event sourcereciever
- the receiver implementing both focus and blur handlerspublic void handle(HasAllFocusHandlers source)
source
- the event source