public interface EventHandler
In the MVC pattern it is the controller.
Modifier and Type | Method and Description |
---|---|
boolean |
handleEvent(int event)
Handles an event.
|
boolean handleEvent(int event)
event
- the event to handle.true
if the event is consumed, false
otherwise.Event