java.lang.Object | ||
↳ | com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler> | |
↳ | com.google.gwt.event.logical.shared.AttachEvent |
Fired when the event source is attached to the browser's document or detached from it.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AttachEvent.Handler | Implemented by objects that handle AttachEvent . |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new
AttachEvent . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fires an
AttachEvent on all registered handlers in the handler
source. | |||||||||||
Returns the type used to register this event.
| |||||||||||
Ensures the existence of the handler hook and then returns it.
| |||||||||||
Returns true if this event announces that the source has been attached,
false if it has been detached.
| |||||||||||
This is a method used primarily for debugging.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Should only be called by
HandlerManager . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.google.gwt.event.shared.GwtEvent | |||||||||||
From class
java.lang.Object
|
Construct a new AttachEvent
.
attached | true if the source has been attached |
---|
Fires an AttachEvent
on all registered handlers in the handler
source.
source | the source of the handlers |
---|---|
attached | whether to announce an attach or detach |
Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.
Ensures the existence of the handler hook and then returns it.
Returns true if this event announces that the source has been attached, false if it has been detached.
This is a method used primarily for debugging. It gives a string representation of the event details. This does not override the toString method because the compiler cannot always optimize toString out correctly. Event types should override as desired.
Should only be called by HandlerManager
. In other words, do not use
or call.
handler | handler |
---|