HasAttachHandlers abstract class
abstract class HasAttachHandlers extends HasHandlers { /** * Adds an {@link AttachEvent} handler. * * @param handler the handler * @return the handler registration */ HandlerRegistration addAttachHandler(AttachEventHandler handler); /** * Returns whether or not the receiver is attached to the * {@link com.google.gwt.dom.client.Document Document}'s * {@link com.google.gwt.dom.client.BodyElement BodyElement}. * * @return true if attached, false otherwise */ bool isAttached(); }
Extends
HasHandlers > HasAttachHandlers
Subclasses
Methods
abstract HandlerRegistration addAttachHandler(AttachEventHandler handler) #
Adds an {@link AttachEvent} handler.
@param handler the handler @return the handler registration
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
abstract bool isAttached() #
Returns whether or not the receiver is attached to the {@link com.google.gwt.dom.client.Document Document}'s {@link com.google.gwt.dom.client.BodyElement BodyElement}.
@return true if attached, false otherwise