public class GuiEditArrayEntries extends GuiListExtended
Modifier and Type | Class and Description |
---|---|
static class |
GuiEditArrayEntries.BaseEntry |
static class |
GuiEditArrayEntries.BooleanEntry |
static class |
GuiEditArrayEntries.DoubleEntry
IGuiListEntry Inner Classes
|
static interface |
GuiEditArrayEntries.IArrayEntry |
static class |
GuiEditArrayEntries.IntegerEntry |
static class |
GuiEditArrayEntries.StringEntry |
GuiListExtended.IGuiListEntry
Modifier and Type | Field and Description |
---|---|
java.lang.Object[] |
beforeValues |
boolean |
canAddMoreEntries |
IConfigElement |
configElement |
int |
controlWidth |
java.lang.Object[] |
currentValues |
boolean |
isChanged |
boolean |
isDefault |
java.util.List<GuiEditArrayEntries.IArrayEntry> |
listEntries |
Minecraft |
mc |
bottom, field_148163_i, headerPadding, height, left, mouseX, mouseY, right, slotHeight, top, width
Constructor and Description |
---|
GuiEditArrayEntries(GuiEditArray parent,
Minecraft mc,
IConfigElement configElement,
java.lang.Object[] beforeValues,
java.lang.Object[] currentValues) |
Modifier and Type | Method and Description |
---|---|
void |
addNewEntry(int index) |
protected void |
drawScreenPost(int mouseX,
int mouseY,
float f) |
GuiEditArrayEntries.IArrayEntry |
getListEntry(int index) |
int |
getListWidth()
Gets the width of the list
|
protected int |
getScrollBarX() |
protected int |
getSize() |
boolean |
isChanged() |
boolean |
isDefault() |
protected boolean |
isListSavable() |
protected void |
keyTyped(char eventChar,
int eventKey) |
protected void |
mouseClicked(int x,
int y,
int mouseEvent) |
void |
recalculateState() |
void |
removeEntry(int index) |
protected void |
saveListChanges() |
protected void |
updateScreen() |
drawBackground, drawSlot, elementClicked, func_148179_a, func_148181_b, isSelected
actionPerformed, drawListHeader, drawScreen, drawSelectionBox, func_148122_a, func_148124_c, func_148125_i, func_148132_a, func_148135_f, func_148141_e, func_148142_b, func_148143_b, getAmountScrolled, getContentHeight, getSlotHeight, registerScrollButtons, scrollBy, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
public Minecraft mc
public IConfigElement configElement
public java.util.List<GuiEditArrayEntries.IArrayEntry> listEntries
public boolean isDefault
public boolean isChanged
public boolean canAddMoreEntries
public final int controlWidth
public final java.lang.Object[] beforeValues
public java.lang.Object[] currentValues
public GuiEditArrayEntries(GuiEditArray parent, Minecraft mc, IConfigElement configElement, java.lang.Object[] beforeValues, java.lang.Object[] currentValues)
protected int getScrollBarX()
getScrollBarX
in class GuiSlot
public int getListWidth()
getListWidth
in class GuiSlot
public GuiEditArrayEntries.IArrayEntry getListEntry(int index)
getListEntry
in class GuiListExtended
public void addNewEntry(int index)
public void removeEntry(int index)
public boolean isChanged()
public boolean isDefault()
public void recalculateState()
protected void keyTyped(char eventChar, int eventKey)
protected void updateScreen()
protected void mouseClicked(int x, int y, int mouseEvent)
protected boolean isListSavable()
protected void saveListChanges()
protected void drawScreenPost(int mouseX, int mouseY, float f)