EventHandler

public interface EventHandler<T>

Defines interface of an event handler.

Methods

Method Description
invoke(Object sender, T args) Starts handling of the event.

invoke(Object sender, T args)

public abstract void invoke(Object sender, T args)

Starts handling of the event.

Parameters:

Parameter Type Description
sender java.lang.Object The sender of the event.
args T Arguments of the event.