EventClassListener instead. This class uses isAssignableFrom to compare the event class with the desired event classes, so if the return array of eventClassesToConsume contains a superclass, events of that class and all subclasses will be consumed.
@author deronj
| |