public class GuiEditArray extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
protected IConfigElement |
configElement |
protected boolean |
enabled |
protected GuiScreen |
parentScreen |
protected int |
slotIndex |
protected java.lang.String |
titleLine2 |
protected java.lang.String |
titleLine3 |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, 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) |
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
drawToolTip(java.util.List stringList,
int x,
int y) |
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.
|
protected void |
mouseClicked(int x,
int y,
int mouseEvent)
Called when the mouse is clicked.
|
protected void |
mouseMovedOrUp(int x,
int y,
int mouseEvent)
Called when the mouse is moved or a mouse button is released.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, func_146283_a, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, mouseClickMove, onGuiClosed, renderToolTip, setClipboardString, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine, func_146110_a, func_152125_aprotected GuiScreen parentScreen
protected IConfigElement configElement
protected java.lang.String titleLine2
protected java.lang.String titleLine3
protected int slotIndex
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 GuiScreenprotected void mouseClicked(int x,
int y,
int mouseEvent)
mouseClicked in class GuiScreenprotected void mouseMovedOrUp(int x,
int y,
int mouseEvent)
mouseMovedOrUp 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 stringList,
int x,
int y)