public class GuiEditArray extends GuiScreen
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object[] |
beforeValues |
protected GuiButtonExt |
btnDefault |
protected GuiButtonExt |
btnDone |
protected GuiButtonExt |
btnUndoChanges |
protected IConfigElement |
configElement |
protected java.lang.Object[] |
currentValues |
protected boolean |
enabled |
protected GuiEditArrayEntries |
entryList |
protected GuiScreen |
parentScreen |
protected int |
slotIndex |
protected java.lang.String |
title |
protected java.lang.String |
titleLine2 |
protected java.lang.String |
titleLine3 |
protected java.util.List<java.lang.String> |
toolTip |
protected HoverChecker |
tooltipHoverChecker |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiEditArray(GuiScreen parentScreen,
IConfigElement configElement,
int slotIndex,
java.lang.Object[] currentValues,
boolean enabled) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
protected GuiEditArrayEntries |
createEditArrayEntries() |
void |
drawScreen(int par1,
int par2,
float par3) |
void |
drawToolTip(java.util.List<java.lang.String> stringList,
int x,
int y) |
void |
handleMouseInput() |
void |
initGui() |
protected void |
keyTyped(char eventChar,
int eventKey) |
protected void |
mouseClicked(int x,
int y,
int mouseEvent) |
protected void |
mouseReleased(int x,
int y,
int mouseEvent) |
void |
updateScreen() |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
protected GuiScreen parentScreen
protected IConfigElement configElement
protected GuiEditArrayEntries entryList
protected GuiButtonExt btnUndoChanges
protected GuiButtonExt btnDefault
protected GuiButtonExt btnDone
protected java.lang.String title
protected java.lang.String titleLine2
protected java.lang.String titleLine3
protected int slotIndex
protected final java.lang.Object[] beforeValues
protected java.lang.Object[] currentValues
protected HoverChecker tooltipHoverChecker
protected java.util.List<java.lang.String> toolTip
protected boolean enabled
public GuiEditArray(GuiScreen parentScreen, IConfigElement configElement, int slotIndex, java.lang.Object[] currentValues, boolean enabled)
protected void actionPerformed(GuiButton button)
actionPerformed
in class GuiScreen
protected GuiEditArrayEntries createEditArrayEntries()
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
protected void mouseClicked(int x, int y, int mouseEvent) throws java.io.IOException
mouseClicked
in class GuiScreen
java.io.IOException
protected void mouseReleased(int x, int y, int mouseEvent)
mouseReleased
in class GuiScreen
protected void keyTyped(char eventChar, int eventKey)
public void updateScreen()
updateScreen
in class GuiScreen
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen
public void drawToolTip(java.util.List<java.lang.String> stringList, int x, int y)