public static class GuiEditArrayEntries.StringEntry extends GuiEditArrayEntries.BaseEntry
Modifier and Type | Field and Description |
---|---|
protected GuiTextField |
textFieldValue |
btnAddNewEntryAbove, btnRemoveEntry, configElement, isValidated, isValidValue, owningEntryList, owningScreen
Constructor and Description |
---|
StringEntry(GuiEditArray owningScreen,
GuiEditArrayEntries owningEntryList,
IConfigElement configElement,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
void |
drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected) |
java.lang.Object |
getValue() |
void |
keyTyped(char eventChar,
int eventKey) |
void |
mouseClicked(int x,
int y,
int mouseEvent) |
void |
updateCursorCounter() |
drawToolTip, isValueSavable, mousePressed, mouseReleased, setSelected
protected final GuiTextField textFieldValue
public StringEntry(GuiEditArray owningScreen, GuiEditArrayEntries owningEntryList, IConfigElement configElement, java.lang.Object value)
public void drawEntry(int slotIndex, int x, int y, int listWidth, int slotHeight, int mouseX, int mouseY, boolean isSelected)
drawEntry
in interface GuiListExtended.IGuiListEntry
drawEntry
in class GuiEditArrayEntries.BaseEntry
public void keyTyped(char eventChar, int eventKey)
keyTyped
in interface GuiEditArrayEntries.IArrayEntry
keyTyped
in class GuiEditArrayEntries.BaseEntry
public void updateCursorCounter()
updateCursorCounter
in interface GuiEditArrayEntries.IArrayEntry
updateCursorCounter
in class GuiEditArrayEntries.BaseEntry
public void mouseClicked(int x, int y, int mouseEvent)
mouseClicked
in interface GuiEditArrayEntries.IArrayEntry
mouseClicked
in class GuiEditArrayEntries.BaseEntry
public java.lang.Object getValue()
getValue
in interface GuiEditArrayEntries.IArrayEntry
getValue
in class GuiEditArrayEntries.BaseEntry