EventListener

trait EventListener[E <: Event] extends EventListener

EventListener interface.

trait EventListener
class Object
trait Matchable
class Any

Value members

Abstract methods

def onEvent(event: E): Unit

Handle an application event.

Handle an application event.

def supportsEventType(eventType: Class[_ <: Event]): Boolean

Determine whether this listener actually supports the given event type.

Determine whether this listener actually supports the given event type.

def supportsSourceType(sourceType: Class[_]): Boolean

Determine whether this listener actually supports the given source type.

Determine whether this listener actually supports the given source type.