net.minecraft.client.gui.font

public class TextFieldHelper

deg
net.minecraft.client.gui.font.TextFieldHelper
net.minecraft.class_3728
net.minecraft.client.util.SelectionManager
net.minecraft.client.gui.fonts.TextInputUtil

Field summary

Modifier and TypeField
private final Minecraft
a
minecraft
field_16454
client
field_216900_a
private final Font
b
font
field_16457
fontRenderer
field_216901_b
private final Supplier<String>
c
getMessageFn
field_16456
stringGetter
field_216902_c
private final Consumer<String>
d
setMessageFn
field_16458
stringSetter
field_216903_d
private final int
e
maxWidth
field_16455
maxLength
field_216904_e
private int
f
cursorPos
field_16453
selectionStart
field_216905_f
private int
g
selectionPos
field_16452
selectionEnd
field_216906_g

Constructor summary

ModifierConstructor
public (Minecraft client, Supplier<String> getter, Consumer<String> setter, int maxLength)

Method summary

Modifier and TypeMethod
public boolean
a(char arg0)
charTyped(char arg0)
method_16199(char arg0)
insert(char arg0)
func_216894_a(char arg0)
private void
a(String arg0)
insertText(String arg0)
method_16197(String arg0)
insert(String arg0)
func_216892_a(String arg0)
public boolean
a(int arg0)
keyPressed(int arg0)
method_16202(int arg0)
handleSpecialKey(int keyCode)
func_216897_a(int arg0)
private String
e()
getSelected()
method_16200()
getSelectedText()
func_216895_e()
private void
f()
deleteSelection()
method_16198()
deleteSelectedText()
func_216893_f()
public void
b()
setEnd()
method_16204()
moveCaretToEnd()
func_216899_b()
public int
c()
getCursorPos()
method_16201()
getSelectionStart()
func_216896_c()
public int
d()
getSelectionPos()
method_16203()
getSelectionEnd()
func_216898_d()