Package net.minecraft.src
Class GuiEditSign
java.lang.Object
net.minecraft.src.Gui
net.minecraft.src.GuiScreen
net.minecraft.src.GuiEditSign
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe title string that is displayed in the top-center of the screen.Fields inherited from class net.minecraft.src.GuiScreen
allowUserInput, buttonList, fontRenderer, height, mc, widthFields inherited from class net.minecraft.src.Gui
icons, optionsBackground, statIcons, zLevel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactionPerformed(GuiButton par1GuiButton) Fired when a control is clicked.voiddrawScreen(int par1, int par2, float par3) Draws the screen and all the components in it.voidinitGui()Adds the buttons (and other controls) to the screen in question.protected voidkeyTyped(char par1, int par2) Fired when a key is typed.voidCalled when the screen is unloaded.voidCalled from the main game loop to update the screen.Methods inherited from class net.minecraft.src.GuiScreen
confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, mouseClicked, mouseClickMove, mouseMovedOrUp, setClipboardString, setWorldAndResolutionMethods inherited from class net.minecraft.src.Gui
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
-
Field Details
-
screenTitle
The title string that is displayed in the top-center of the screen.
-
-
Constructor Details
-
GuiEditSign
-
-
Method Details
-
initGui
public void initGui()Adds the buttons (and other controls) to the screen in question. -
onGuiClosed
public void onGuiClosed()Called when the screen is unloaded. Used to disable keyboard repeat events- Overrides:
onGuiClosedin classGuiScreen
-
updateScreen
public void updateScreen()Called from the main game loop to update the screen.- Overrides:
updateScreenin classGuiScreen
-
actionPerformed
Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).- Overrides:
actionPerformedin classGuiScreen
-
keyTyped
protected void keyTyped(char par1, int par2) Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e). -
drawScreen
public void drawScreen(int par1, int par2, float par3) Draws the screen and all the components in it.- Overrides:
drawScreenin classGuiScreen
-