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

com.sencha.gxt.data.shared.loader.LoadHandler Maven / Gradle / Ivy

/**
 * Ext GWT 3.0.0-beta2 - Ext for GWT
 * Copyright(c) 2007-2011, Sencha, Inc.
 * [email protected]
 *
 * http://sencha.com/license
 */
package com.sencha.gxt.data.shared.loader;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.HandlerRegistration;

/**
 * Handler class for {@link LoadEvent} events.
 */
public interface LoadHandler extends EventHandler {

  /**
   * Called after a load operation.
   */
  void onLoad(LoadEvent event);

  /**
   * A loader that implements this interface is a public source of
   * {@link LoadEvent} events.
   * 
   * @param  the type of data to be loaded
   * @param  the type of config to request the data
   */
  public interface HasLoadHandlers {

    /**
     * Adds a {@link LoadEvent} handler.
     * 
     * @param handler the handler
     * @return the registration for the event
     */
    public HandlerRegistration addLoadHandler(LoadHandler handler);

  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy