public static class GuiScreenEvent.KeyboardCharTypedEvent extends GuiScreenEvent
Modifier and Type | Class and Description |
---|---|
static class |
GuiScreenEvent.KeyboardCharTypedEvent.Post
This event fires after
IGuiEventListener.charTyped(char, int) if the character was not already handled. |
static class |
GuiScreenEvent.KeyboardCharTypedEvent.Pre
This event fires when keyboard character 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
Modifier and Type | Field and Description |
---|---|
private char |
codePoint |
private int |
modifiers |
Constructor and Description |
---|
KeyboardCharTypedEvent(Screen gui,
char codePoint,
int modifiers) |
Modifier and Type | Method and Description |
---|---|
char |
getCodePoint()
The code point typed, used for text entry.
|
int |
getModifiers()
Bit field representing the modifier keys pressed.
|
getGui
public KeyboardCharTypedEvent(Screen gui, char codePoint, int modifiers)