protected static final BeforeUnloadEvent beforeUnloadEvent = new BeforeUnloadEvent();
public static class UnloadEvent extends GwtEvent<UnloadHandler> {
private static Type TYPE;
public static Type<UnloadHandler> getType() {
return TYPE != null ? TYPE : (TYPE = new Type());
}