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