public abstract class HandlesAllFocusEvents extends 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.
|
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 sourceCopyright © 2018. All rights reserved.