API Reference 0.3.24dart_web_toolkit_eventHasHandlers

HasHandlers abstract class

An object that implements this interface has a collection of event handlers associated with it.

abstract class 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
  */
 void fireEvent(DwtEvent event);
}

Subclasses

HasAttachHandlers, HasBeforeSelectionHandlers<T>, HasBlurHandlers, HasChangeHandlers, HasClickHandlers, HasCloseHandlers<T>, HasDoubleClickHandlers, HasDragEndHandlers, HasDragEnterHandlers, HasDragHandlers, HasDragLeaveHandlers, HasDragOverHandlers, HasDragStartHandlers, HasDropHandlers, HasErrorHandlers, HasFocusHandlers, HasGestureChangeHandlers, HasGestureEndHandlers, HasGestureStartHandlers, HasKeyDownHandlers, HasKeyPressHandlers, HasKeyUpHandlers, HasLoadHandlers, HasMouseDownHandlers, HasMouseMoveHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseUpHandlers, HasMouseWheelHandlers, HasOpenHandlers<T>, HasResizeHandlers, HasScrollHandlers, HasSelectionHandlers<T>, HasTouchCancelHandlers, HasTouchEndHandlers, HasTouchMoveHandlers, HasTouchStartHandlers, HasValueChangeHandlers<T>

Methods

abstract void fireEvent(DwtEvent event) #

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