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

fr.lteconsulting.hexa.client.event.InputEvent Maven / Gradle / Ivy

The newest version!
package fr.lteconsulting.hexa.client.event;

import com.google.gwt.event.dom.client.DomEvent;
import com.google.gwt.event.shared.EventHandler;

import fr.lteconsulting.hexa.client.event.InputEvent.InputHandler;

public class InputEvent extends DomEvent
{
	private static Type TYPE = new Type<>( "input", new InputEvent() );
	
	public interface InputHandler extends EventHandler
	{
		void onInput( InputEvent event );
	}
	
	@Override
	public Type getAssociatedType()
	{
		return TYPE;
	}
	
	public static Type getType()
	{
		return TYPE;
	}

	@Override
	protected void dispatch( InputHandler handler )
	{
		handler.onInput( this );
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy