package de.lessvoid.nifty.screen; import de.lessvoid.nifty.input.NiftyInputEvent; import javax.annotation.Nonnull; /** * KeyInputHandler. * * @author void */ public interface KeyInputHandler { /** * handle a key event. * * @param inputEvent key event to handle * @return true when the event has been consumend and false if not */ boolean keyEvent(@Nonnull NiftyInputEvent inputEvent); }