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

de.swm.commons.mobile.client.widgets.IconClickEvent Maven / Gradle / Ivy

package de.swm.commons.mobile.client.widgets;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.shared.GwtEvent;
import de.swm.commons.mobile.client.event.IconClickHandler;

public class IconClickEvent extends GwtEvent {
	 
	
	
	  private static final Type TYPE = new Type();

	  private final ClickEvent clickEvent;
	  
	  public IconClickEvent(ClickEvent clickEvent) {
		  this.clickEvent = clickEvent;
	  }
	  
	  public ClickEvent getClickEvent() {
		return clickEvent;
	}

	/**
	   * Gets the event type associated with click events.
	   * 
	   * @return the handler type
	   */
	  public static Type getType() {
	    return TYPE;
	  }

	  @Override
	  public final Type getAssociatedType() {
	    return TYPE;
	  }

	  
	  
	  @Override
	  protected void dispatch(IconClickHandler handler) {
	    handler.onIconClick(this);
	  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy