public class GuiControls extends GuiScreen
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
screenTitle
The title string that is displayed in the top-center of the screen.
|
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiControls(GuiScreen par1GuiScreen,
GameSettings par2GameSettings) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton par1GuiButton)
Fired when a control is clicked.
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char par1,
int par2)
Fired when a key is typed.
|
protected void |
mouseClicked(int par1,
int par2,
int par3)
Called when the mouse is clicked.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, mouseClickMove, mouseMovedOrUp, onGuiClosed, setClipboardString, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
protected java.lang.String screenTitle
public GuiControls(GuiScreen par1GuiScreen, GameSettings par2GameSettings)
public void initGui()
protected void actionPerformed(GuiButton par1GuiButton)
actionPerformed
in class GuiScreen
protected void mouseClicked(int par1, int par2, int par3)
mouseClicked
in class GuiScreen
protected void keyTyped(char par1, int par2)
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen