public abstract class AbstractFilteredEventHandler<T extends Event> extends Object implements FilteredEventHandler<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
filterId |
NULL_EVENTHANDLER| Constructor and Description |
|---|
AbstractFilteredEventHandler() |
AbstractFilteredEventHandler(int filterId) |
| Modifier and Type | Method and Description |
|---|---|
int |
filterId() |
abstract void |
onEvent(T e)
Called when a new event e is ready to be processed.
|
void |
setFilterId(int filterId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterEvent, eventClasspublic AbstractFilteredEventHandler(int filterId)
public AbstractFilteredEventHandler()
public final int filterId()
filterId in interface FilteredEventHandler<T extends Event>public void setFilterId(int filterId)
public abstract void onEvent(T e)
EventHandleronEvent in interface EventHandler<T extends Event>e - the Event to process.Copyright © 2019. All rights reserved.