public class GuiTextField extends Gui
Modifier and Type | Field and Description |
---|---|
int |
height |
int |
width |
int |
xPosition |
int |
yPosition |
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiTextField(FontRenderer p_i1032_1_,
int p_i1032_2_,
int p_i1032_3_,
int p_i1032_4_,
int p_i1032_5_) |
Modifier and Type | Method and Description |
---|---|
void |
deleteFromCursor(int p_146175_1_) |
void |
deleteWords(int p_146177_1_) |
void |
drawTextBox() |
int |
func_146197_a(int p_146197_1_,
int p_146197_2_,
boolean p_146197_3_) |
int |
getCursorPosition() |
boolean |
getEnableBackgroundDrawing() |
int |
getMaxStringLength() |
int |
getNthWordFromCursor(int p_146187_1_) |
int |
getNthWordFromPos(int p_146183_1_,
int p_146183_2_) |
java.lang.String |
getSelectedText() |
int |
getSelectionEnd() |
java.lang.String |
getText() |
boolean |
getVisible() |
int |
getWidth() |
boolean |
isFocused() |
void |
mouseClicked(int p_146192_1_,
int p_146192_2_,
int p_146192_3_) |
void |
moveCursorBy(int p_146182_1_) |
void |
setCanLoseFocus(boolean p_146205_1_) |
void |
setCursorPosition(int p_146190_1_) |
void |
setCursorPositionEnd() |
void |
setCursorPositionZero() |
void |
setDisabledTextColour(int p_146204_1_) |
void |
setEnableBackgroundDrawing(boolean p_146185_1_) |
void |
setEnabled(boolean p_146184_1_) |
void |
setFocused(boolean p_146195_1_) |
void |
setMaxStringLength(int p_146203_1_) |
void |
setSelectionPos(int p_146199_1_) |
void |
setText(java.lang.String p_146180_1_) |
void |
setTextColor(int p_146193_1_) |
void |
setVisible(boolean p_146189_1_) |
boolean |
textboxKeyTyped(char p_146201_1_,
int p_146201_2_) |
void |
updateCursorCounter() |
void |
writeText(java.lang.String p_146191_1_) |
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine, func_146110_a, func_152125_a
public int xPosition
public int yPosition
public int width
public int height
public GuiTextField(FontRenderer p_i1032_1_, int p_i1032_2_, int p_i1032_3_, int p_i1032_4_, int p_i1032_5_)
public void updateCursorCounter()
public void setText(java.lang.String p_146180_1_)
public java.lang.String getText()
public java.lang.String getSelectedText()
public void writeText(java.lang.String p_146191_1_)
public void deleteWords(int p_146177_1_)
public void deleteFromCursor(int p_146175_1_)
public int getNthWordFromCursor(int p_146187_1_)
public int getNthWordFromPos(int p_146183_1_, int p_146183_2_)
public int func_146197_a(int p_146197_1_, int p_146197_2_, boolean p_146197_3_)
public void moveCursorBy(int p_146182_1_)
public void setCursorPosition(int p_146190_1_)
public void setCursorPositionZero()
public void setCursorPositionEnd()
public boolean textboxKeyTyped(char p_146201_1_, int p_146201_2_)
public void mouseClicked(int p_146192_1_, int p_146192_2_, int p_146192_3_)
public void drawTextBox()
public void setMaxStringLength(int p_146203_1_)
public int getMaxStringLength()
public int getCursorPosition()
public boolean getEnableBackgroundDrawing()
public void setEnableBackgroundDrawing(boolean p_146185_1_)
public void setTextColor(int p_146193_1_)
public void setDisabledTextColour(int p_146204_1_)
public void setFocused(boolean p_146195_1_)
public boolean isFocused()
public void setEnabled(boolean p_146184_1_)
public int getSelectionEnd()
public int getWidth()
public void setSelectionPos(int p_146199_1_)
public void setCanLoseFocus(boolean p_146205_1_)
public boolean getVisible()
public void setVisible(boolean p_146189_1_)