Screen Keyboard Events
public final class ScreenKeyboardEvents
Content copied to clipboard
Events related to use of the keyboard in a Screen.
All of these events work on top of a specific screen instance. Subscriptions will only last as long as the screen itself, they'll disappear once the screen gets refreshed, closed or replaced. Use BEFORE_INIT to register the desired events every time it is necessary.
Events are fired in the following order:
{@code AllowX -> BeforeX -> AfterX}
See also
Types
AfterKeyPress
Link copied to clipboard
public interface AfterKeyPress
Content copied to clipboard
AfterKeyRelease
Link copied to clipboard
public interface AfterKeyRelease
Content copied to clipboard
AllowKeyPress
Link copied to clipboard
public interface AllowKeyPress
Content copied to clipboard
AllowKeyRelease
Link copied to clipboard
public interface AllowKeyRelease
Content copied to clipboard
BeforeKeyPress
Link copied to clipboard
public interface BeforeKeyPress
Content copied to clipboard
BeforeKeyRelease
Link copied to clipboard
public interface BeforeKeyRelease
Content copied to clipboard
Functions
afterKeyPress
Link copied to clipboard
static Event<ScreenKeyboardEvents.AfterKeyPress> afterKeyPress(Screen screen)
Content copied to clipboard
afterKeyRelease
Link copied to clipboard
static Event<ScreenKeyboardEvents.AfterKeyRelease> afterKeyRelease(Screen screen)
Content copied to clipboard
allowKeyPress
Link copied to clipboard
static Event<ScreenKeyboardEvents.AllowKeyPress> allowKeyPress(Screen screen)
Content copied to clipboard
allowKeyRelease
Link copied to clipboard
static Event<ScreenKeyboardEvents.AllowKeyRelease> allowKeyRelease(Screen screen)
Content copied to clipboard
beforeKeyPress
Link copied to clipboard
static Event<ScreenKeyboardEvents.BeforeKeyPress> beforeKeyPress(Screen screen)
Content copied to clipboard
beforeKeyRelease
Link copied to clipboard
static Event<ScreenKeyboardEvents.BeforeKeyRelease> beforeKeyRelease(Screen screen)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard