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, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, widthICONS, 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)
Called by the controls from the buttonList when activated.
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
drawToolTip(java.util.List<java.lang.String> stringList,
int x,
int y) |
void |
handleMouseInput()
Handles mouse input.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char eventChar,
int eventKey)
Fired when a key is typed (except F11 which toggles full screen).
|
protected void |
mouseClicked(int x,
int y,
int mouseEvent)
Called when the mouse is clicked.
|
protected void |
mouseReleased(int x,
int y,
int mouseEvent)
Called when a mouse button is released.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprotected 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)
public void initGui()
protected void actionPerformed(GuiButton button)
actionPerformed in class GuiScreenpublic void handleMouseInput()
throws java.io.IOException
handleMouseInput in class GuiScreenjava.io.IOExceptionprotected void mouseClicked(int x,
int y,
int mouseEvent)
throws java.io.IOException
mouseClicked in class GuiScreenjava.io.IOExceptionprotected void mouseReleased(int x,
int y,
int mouseEvent)
mouseReleased in class GuiScreenprotected void keyTyped(char eventChar,
int eventKey)
public void updateScreen()
updateScreen in class GuiScreenpublic void drawScreen(int par1,
int par2,
float par3)
drawScreen in class GuiScreenpublic void drawToolTip(java.util.List<java.lang.String> stringList,
int x,
int y)