Package ej.microui.event

## Interface EventHandler

- All Known Implementing Classes:
    `Desktop`, `Displayable`

      public interface EventHandler

  An event handler is intended to receive and handle events.

  In the MVC pattern it is the controller.

  Since:
    2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `handleEvent​(int event)` | Handles an event.

- - ### Method Detail

    - #### handleEvent

          boolean handleEvent​(int event)

      Handles an event.
      Parameters:
        `event` - the event to handle.
      Returns:
        `true` if the event is consumed, `false` otherwise.
      See Also:
        `Event`