public static class GuiEditArrayEntries.BooleanEntry extends GuiEditArrayEntries.BaseEntry
Modifier and Type | Field and Description |
---|---|
protected GuiButtonExt |
btnValue |
private boolean |
value |
btnAddNewEntryAbove, btnRemoveEntry, configElement, isValidated, isValidValue, owningEntryList, owningScreen
Constructor and Description |
---|
BooleanEntry(GuiEditArray owningScreen,
GuiEditArrayEntries owningEntryList,
IConfigElement configElement,
boolean 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,
float partial) |
java.lang.Object |
getValue() |
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) |
drawToolTip, isValueSavable, keyTyped, mouseClicked, updateCursorCounter, updatePosition
protected final GuiButtonExt btnValue
private boolean value
public BooleanEntry(GuiEditArray owningScreen, GuiEditArrayEntries owningEntryList, IConfigElement configElement, boolean value)
public void drawEntry(int slotIndex, int x, int y, int listWidth, int slotHeight, int mouseX, int mouseY, boolean isSelected, float partial)
drawEntry
in interface GuiListExtended.IGuiListEntry
drawEntry
in class GuiEditArrayEntries.BaseEntry
public boolean mousePressed(int index, int x, int y, int mouseEvent, int relativeX, int relativeY)
mousePressed
in interface GuiListExtended.IGuiListEntry
mousePressed
in class GuiEditArrayEntries.BaseEntry
public void mouseReleased(int index, int x, int y, int mouseEvent, int relativeX, int relativeY)
mouseReleased
in interface GuiListExtended.IGuiListEntry
mouseReleased
in class GuiEditArrayEntries.BaseEntry
public java.lang.Object getValue()
getValue
in interface GuiEditArrayEntries.IArrayEntry
getValue
in class GuiEditArrayEntries.BaseEntry