Package com.googlecode.gwt.charts.client.event

Examples of com.googlecode.gwt.charts.client.event.HandlerRef


   * @param <H>
   * @param handler the function to call when the event is fired
   * @return the new handler reference. Can be used for removing by calling {@link #removeHandler(HandlerRef)}.
   */
  protected final <H extends EventHandler> HandlerRef addHandler(H handler) {
    HandlerRef handlerRef = chartObject.addListener(handler.getEventName(), handler);
    eventMap.put(handlerRef, handler);
    return handlerRef;
  }
View Full Code Here


   * @param <H>
   * @param handler the function to call when the event is fired
   * @return the new handler reference. Can be used for removing by calling {@link #removeHandler(HandlerRef)}.
   */
  protected final <H extends EventHandler> HandlerRef addHandler(H handler) {
    HandlerRef handlerRef = chartObject.addListener(handler.getEventName(), handler);
    eventMap.put(handlerRef, handler);
    return handlerRef;
  }
View Full Code Here

TOP

Related Classes of com.googlecode.gwt.charts.client.event.HandlerRef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.