All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sencha.gxt.legacy.client.mvc.AfterAppEvent Maven / Gradle / Ivy

/**
 * Sencha GXT 3.1.1 - Sencha for GWT
 * Copyright(c) 2007-2014, Sencha, Inc.
 * [email protected]
 *
 * http://www.sencha.com/products/gxt/license/
 */
package com.sencha.gxt.legacy.client.mvc;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.sencha.gxt.legacy.client.mvc.AfterAppEvent.AfterAppEventHandler;

public class AfterAppEvent extends GwtEvent {
  private static GwtEvent.Type TYPE;

  public static GwtEvent.Type getType() {
    if (TYPE == null) {
      TYPE = new GwtEvent.Type();
    }
    return TYPE;
  }

  private final AppEvent appEvent;

  public AfterAppEvent(AppEvent appEvent) {
    this.appEvent = appEvent;
  }

  public AppEvent getAppEvent() {
    return appEvent;
  }

  @Override
  public GwtEvent.Type getAssociatedType() {
    return getType();
  }

  @Override
  protected void dispatch(AfterAppEventHandler handler) {
    handler.afterDispatch(this);
  }

  public interface AfterAppEventHandler extends EventHandler {
    void afterDispatch(AfterAppEvent event);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy