API Reference 0.3.24dart_web_toolkit_eventHasAllFocusHandlers

HasAllFocusHandlers abstract class

This is a convenience interface that includes all focus handlers defined by the core GWT system.

WARNING, PLEASE READ: As this interface is intended for developers who wish to handle all focus events in GWT, in the unlikely event that a new focus event is added, this interface will change.

abstract class HasAllFocusHandlers implements HasFocusHandlers, HasBlurHandlers {

}

Subclasses

FocusPanel, FocusWidget, Tree

Implements

HasBlurHandlers, HasFocusHandlers

Methods

abstract HandlerRegistration addBlurHandler(BlurHandler handler) #

inherited from HasBlurHandlers

Adds a {@link BlurEvent} handler.

@param handler the blur handler @return {@link HandlerRegistration} used to remove this handler

abstract HandlerRegistration addFocusHandler(FocusHandler handler) #

inherited from HasFocusHandlers

Adds a {@link FocusEvent} handler.

@param handler the focus handler @return {@link HandlerRegistration} used to remove this handler

abstract void fireEvent(DwtEvent event) #

inherited from HasHandlers

Fires the given event to the handlers listening to the event's type.

Any exceptions thrown by handlers will be bundled into a UmbrellaException and then re-thrown after all handlers have completed. An exception thrown by a handler will not prevent other handlers from executing.

@param event the event