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 |
protected GuiEditArray |
owningGui |
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, 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 |
mouseClickedPassThru(int x,
int y,
int mouseEvent) |
void |
recalculateState() |
void |
removeEntry(int index) |
protected void |
saveListChanges() |
protected void |
updateScreen() |
drawBackground, drawSlot, elementClicked, isSelected, mouseClicked, mouseReleased, updateItemPos
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEnabled, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
protected GuiEditArray owningGui
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 mouseClickedPassThru(int x, int y, int mouseEvent)
protected boolean isListSavable()
protected void saveListChanges()
protected void drawScreenPost(int mouseX, int mouseY, float f)