net.minecraft.client.gui.components

public class MultilineTextField

fjh
net.minecraft.client.gui.components.MultilineTextField
net.minecraft.class_7530
net.minecraft.unmapped.C_krhsyzys
net.minecraft.client.gui.EditBox
net.minecraft.client.gui.MultilineTextField
net.minecraft.src.C_238452_

Field summary

Modifier and TypeField
public static final int
a
NO_CHARACTER_LIMIT
field_39511
f_fwmsxqxf
UNLIMITED_LENGTH
UNLIMITED_LENGTH
f_238667_
private static final int
b
LINE_SEEK_PIXEL_BIAS
field_39512
f_ifbtgjss
CURSOR_WIDTH
CURSOR_WIDTH
f_238620_
private final Font
c
font
field_39513
f_qgyketko
textRenderer
textRenderer
f_238538_
private final List<MultilineTextField$StringView>
d
displayLines
field_39514
f_burfhmzf
lines
displayLines
f_238722_
private String
e
value
field_39515
f_qgvgvylv
text
text
f_238645_
private int
f
cursor
field_39516
f_enhzgdct
cursor
cursor
f_238566_
private int
g
selectCursor
field_39517
f_lfsvsgee
selectionEnd
selectionEnd
f_238550_
private boolean
h
selecting
field_39518
f_llwocfvd
selecting
selecting
f_238557_
private int
i
characterLimit
field_39519
f_zcjwhirv
maxLength
maxLength
f_238569_
private final int
j
width
field_39520
f_xrmbhutf
width
maxWidth
f_238603_
private Consumer<String>
k
valueListener
field_39521
f_srcnjbvv
changeListener
changeListener
f_238527_
private Runnable
l
cursorListener
field_39522
f_vgvoinsh
cursorChangeListener
cursorChangeListener
f_238625_

Constructor summary

ModifierConstructor
public (Font textRenderer, int width)

Method summary

Modifier and TypeMethod
public int
a()
characterLimit()
method_44409()
m_vuhkjybg()
getMaxLength()
getMaxLength()
m_239390_()
public void
a(int arg0)
setCharacterLimit(int arg0)
method_44411(int arg0)
m_lbeblyle(int arg0)
setMaxLength(int maxLength)
setMaxLength(int maxLength)
m_240162_(int arg0)
public boolean
b()
hasCharacterLimit()
method_44418()
m_zabiisny()
hasMaxLength()
hasMaxLength()
m_239629_()
public void
a(Consumer<String> arg0)
setValueListener(Consumer<String> arg0)
method_44415(Consumer<String> arg0)
m_aaieuflj(Consumer<String> arg0)
setChangeListener(Consumer<String> changeListener)
setChangeListener(Consumer<String> listener)
m_239919_(Consumer<String> arg0)
public void
a(Runnable arg0)
setCursorListener(Runnable arg0)
method_44413(Runnable arg0)
m_uecuspsi(Runnable arg0)
setCursorChangeListener(Runnable cursorChangeListener)
setCursorMoveListener(Runnable listener)
m_239257_(Runnable arg0)
public void
a(String arg0)
setValue(String arg0)
method_44414(String arg0)
m_eimodopl(String arg0)
setText(String text)
setText(String text)
m_239677_(String arg0)
public String
c()
value()
method_44421()
m_aeleahst()
getText()
getText()
m_239618_()
public void
b(String arg0)
insertText(String arg0)
method_44420(String arg0)
m_gwqmzqpf(String arg0)
replaceSelection(String string)
insertText(String text)
m_240015_(String arg0)
public void
b(int arg0)
deleteText(int arg0)
method_44419(int arg0)
m_hdroibsh(int arg0)
delete(int offset)
deleteText(int length)
m_239474_(int arg0)
public int
d()
cursor()
method_44424()
m_qlrljnzk()
getCursor()
getCursor()
m_239456_()
public void
a(boolean arg0)
setSelecting(boolean arg0)
method_44417(boolean arg0)
m_qgrxeglv(boolean arg0)
setSelecting(boolean selecting)
setSelecting(boolean selecting)
m_239950_(boolean arg0)
public MultilineTextField$StringView
e()
getSelected()
method_44427()
m_gfzwtmzm()
getSelection()
getSelection()
m_239982_()
public int
f()
getLineCount()
method_44430()
m_lttufteo()
getLineCount()
getLineCount()
m_239340_()
public int
g()
getLineAtCursor()
method_44432()
m_snbipear()
getCurrentLineIndex()
getCurrentLineIndex()
m_239268_()
public MultilineTextField$StringView
c(int arg0)
getLineView(int arg0)
method_44422(int arg0)
m_sbsgitud(int arg0)
getLine(int index)
getLine(int index)
m_239144_(int arg0)
public void
a(fjy arg0, int arg1)
seekCursor(Whence arg0, int arg1)
method_44412(class_7533 arg0, int arg1)
m_tzncxvou(C_rvckgptc arg0, int arg1)
moveCursor(CursorMovement movement, int amount)
moveCursor(CursorMovement movement, int amount)
m_239797_(C_238491_ p_239799_, int arg1)
public void
d(int arg0)
seekCursorLine(int arg0)
method_44425(int arg0)
m_jvpnsyqh(int arg0)
moveCursorLine(int offset)
moveCursorLine(int offset)
m_239393_(int arg0)
public void
a(double arg0, double arg1)
seekCursorToPoint(double arg0, double arg1)
method_44410(double arg0, double arg1)
m_mfzpzsee(double arg0, double arg1)
moveCursor(double x, double y)
moveCursor(double x, double y)
m_239578_(double p_239580_, double arg1)
public boolean
e(int arg0)
keyPressed(int arg0)
method_44428(int arg0)
m_lqcozpuk(int arg0)
handleSpecialKey(int keyCode)
handleSpecialKey(int keyCode)
m_239711_(int arg0)
public Iterable<MultilineTextField$StringView>
h()
iterateLines()
method_44434()
m_opbgamoe()
getLines()
getLines()
m_239290_()
public boolean
i()
hasSelection()
method_44435()
m_uhklhrmz()
hasSelection()
hasSelection()
m_239344_()
public String
j()
getSelectedText()
method_44436()
m_mbgonxgy()
getSelectedText()
getSelectionText()
m_240059_()
private MultilineTextField$StringView
m()
getCursorLineView()
method_44439()
m_mevmgzdh()
getCurrentLine()
getCurrentLine()
m_240043_()
private MultilineTextField$StringView
f(int arg0)
getCursorLineView(int arg0)
method_44431(int arg0)
m_zhdliovu(int arg0)
getOffsetLine(int offsetFromCurrent)
getOffsetLine(int offset)
m_239854_(int arg0)
public MultilineTextField$StringView
k()
getPreviousWord()
method_44437()
m_satfxbxr()
getPreviousWordAtCursor()
getPreviousWordAtCursor()
m_239637_()
public MultilineTextField$StringView
l()
getNextWord()
method_44438()
m_bjsskcwq()
getNextWordAtCursor()
getNextWordAtCursor()
m_239361_()
private int
g(int arg0)
getWordEndPosition(int arg0)
method_44433(int arg0)
m_wtqoabei(int arg0)
getWordEndIndex(int startIndex)
getWordEndIndex(int startIndex)
m_240092_(int arg0)
private void
n()
onValueChange()
method_44440()
m_xwekzcbx()
onChange()
onChange()
m_239743_()
private void
o()
reflowDisplayLines()
method_44441()
m_uwuewaqs()
rewrap()
rewrap()
m_239915_()
private String
c(String arg0)
truncateFullText(String arg0)
method_44423(String arg0)
m_cpqvtsxt(String arg0)
truncateForReplacement(String value)
truncateFullText(String text)
m_239842_(String arg0)
private String
d(String arg0)
truncateInsertionText(String arg0)
method_44426(String arg0)
m_wbcaxtdn(String arg0)
truncate(String value)
truncate(String text)
m_239417_(String arg0)