net.minecraft.client.gui.components

public class MultilineTextField

fpb
net.minecraft.client.gui.components.MultilineTextField
net.minecraft.class_7530
net.minecraft.client.gui.EditBox

Field summary

Modifier and TypeField
public static final int
a
NO_CHARACTER_LIMIT
field_39511
UNLIMITED_LENGTH
private static final int
b
LINE_SEEK_PIXEL_BIAS
field_39512
CURSOR_WIDTH
private final Font
c
font
field_39513
textRenderer
private final List<MultilineTextField$StringView>
d
displayLines
field_39514
lines
private String
e
value
field_39515
text
private int
f
cursor
field_39516
cursor
private int
g
selectCursor
field_39517
selectionEnd
private boolean
h
selecting
field_39518
selecting
private int
i
characterLimit
field_39519
maxLength
private final int
j
width
field_39520
width
private Consumer<String>
k
valueListener
field_39521
changeListener
private Runnable
l
cursorListener
field_39522
cursorChangeListener

Constructor summary

ModifierConstructor
public (Font textRenderer, int width)

Method summary

Modifier and TypeMethod
public int
a()
characterLimit()
method_44409()
getMaxLength()
public void
a(int arg0)
setCharacterLimit(int arg0)
method_44411(int arg0)
setMaxLength(int maxLength)
public boolean
b()
hasCharacterLimit()
method_44418()
hasMaxLength()
public void
a(Consumer<String> arg0)
setValueListener(Consumer<String> arg0)
method_44415(Consumer<String> arg0)
setChangeListener(Consumer<String> changeListener)
public void
a(Runnable arg0)
setCursorListener(Runnable arg0)
method_44413(Runnable arg0)
setCursorChangeListener(Runnable cursorChangeListener)
public void
a(String arg0)
setValue(String arg0)
method_44414(String arg0)
setText(String text)
public String
c()
value()
method_44421()
getText()
public void
b(String arg0)
insertText(String arg0)
method_44420(String arg0)
replaceSelection(String string)
public void
b(int arg0)
deleteText(int arg0)
method_44419(int arg0)
delete(int offset)
public int
d()
cursor()
method_44424()
getCursor()
public void
a(boolean arg0)
setSelecting(boolean arg0)
method_44417(boolean arg0)
setSelecting(boolean selecting)
public MultilineTextField$StringView
e()
getSelected()
method_44427()
getSelection()
public int
f()
getLineCount()
method_44430()
getLineCount()
public int
g()
getLineAtCursor()
method_44432()
getCurrentLineIndex()
public MultilineTextField$StringView
c(int arg0)
getLineView(int arg0)
method_44422(int arg0)
getLine(int index)
public void
a(fps arg0, int arg1)
seekCursor(Whence arg0, int arg1)
method_44412(class_7533 arg0, int arg1)
moveCursor(CursorMovement movement, int amount)
public void
d(int arg0)
seekCursorLine(int arg0)
method_44425(int arg0)
moveCursorLine(int offset)
public void
a(double arg0, double arg1)
seekCursorToPoint(double arg0, double arg1)
method_44410(double arg0, double arg1)
moveCursor(double x, double y)
public boolean
e(int arg0)
keyPressed(int arg0)
method_44428(int arg0)
handleSpecialKey(int keyCode)
public Iterable<MultilineTextField$StringView>
h()
iterateLines()
method_44434()
getLines()
public boolean
i()
hasSelection()
method_44435()
hasSelection()
public String
j()
getSelectedText()
method_44436()
getSelectedText()
private MultilineTextField$StringView
m()
getCursorLineView()
method_44439()
getCurrentLine()
private MultilineTextField$StringView
f(int arg0)
getCursorLineView(int arg0)
method_44431(int arg0)
getOffsetLine(int offsetFromCurrent)
public MultilineTextField$StringView
k()
getPreviousWord()
method_44437()
getPreviousWordAtCursor()
public MultilineTextField$StringView
l()
getNextWord()
method_44438()
getNextWordAtCursor()
private int
g(int arg0)
getWordEndPosition(int arg0)
method_44433(int arg0)
getWordEndIndex(int startIndex)
private void
n()
onValueChange()
method_44440()
onChange()
private void
o()
reflowDisplayLines()
method_44441()
rewrap()
private String
c(String arg0)
truncateFullText(String arg0)
method_44423(String arg0)
truncateForReplacement(String value)
private String
d(String arg0)
truncateInsertionText(String arg0)
method_44426(String arg0)
truncate(String value)