public class

InitializeEvent

extends GwtEvent<H extends EventHandler>
java.lang.Object
   ↳ com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler>
     ↳ com.google.gwt.event.logical.shared.InitializeEvent

Class Overview

Fired when the event source is initialized.

Summary

Protected Constructors
InitializeEvent()
Construct a new InitializeEvent.
Public Methods
static <S extends HasInitializeHandlers & HasHandlers> void fire(S source)
Fires a initialize event on all registered handlers in the handler source.
final Type<InitializeHandler> getAssociatedType()
Returns the type used to register this event.
static Type<InitializeHandler> getType()
Ensures the existence of the handler hook and then returns it.
Protected Methods
void dispatch(InitializeHandler handler)
Should only be called by HandlerManager.
[Expand]
Inherited Methods
From class com.google.gwt.event.shared.GwtEvent
From class java.lang.Object

Protected Constructors

protected InitializeEvent ()

Construct a new InitializeEvent.

Public Methods

public static void fire (S source)

Fires a initialize event on all registered handlers in the handler source.

Parameters
source the source of the handlers

public final Type<InitializeHandler> getAssociatedType ()

Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Returns
  • the type

public static Type<InitializeHandler> getType ()

Ensures the existence of the handler hook and then returns it.

Returns
  • returns a handler hook

Protected Methods

protected void dispatch (InitializeHandler handler)

Should only be called by HandlerManager. In other words, do not use or call.

Parameters
handler handler