public abstract static class GuiScreenEvent.KeyboardKeyPressedEvent extends GuiScreenEvent.KeyboardKeyEvent
Modifier and Type | Class and Description |
---|---|
static class |
GuiScreenEvent.KeyboardKeyPressedEvent.Post
This event fires after
IGuiEventListener.keyPressed(int, int, int) if the key was not already handled. |
static class |
GuiScreenEvent.KeyboardKeyPressedEvent.Pre
This event fires when keyboard input is detected for a GuiScreen, before it is handled.
|
GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent
Constructor and Description |
---|
KeyboardKeyPressedEvent(Screen gui,
int keyCode,
int scanCode,
int modifiers) |
getKeyCode, getModifiers, getScanCode
getGui
public KeyboardKeyPressedEvent(Screen gui, int keyCode, int scanCode, int modifiers)