public class GuiLanguage extends GuiScreen
Modifier and Type | Class and Description |
---|---|
(package private) class |
GuiLanguage.List |
Modifier and Type | Field and Description |
---|---|
private GuiOptionButton |
confirmSettingsBtn
The button to confirm the current settings.
|
private GuiOptionButton |
forceUnicodeFontBtn
A button which allows the user to determine if the Unicode font should be forced.
|
private GameSettings |
game_settings_3
Reference to the GameSettings object.
|
private LanguageManager |
languageManager
Reference to the LanguageManager object.
|
private GuiLanguage.List |
list
The List GuiSlot object reference.
|
protected GuiScreen |
parentScreen
The parent Gui screen
|
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiLanguage(GuiScreen screen,
GameSettings gameSettingsObj,
LanguageManager manager) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
void |
handleMouseInput()
Handles mouse input.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
protected GuiScreen parentScreen
private GuiLanguage.List list
private final GameSettings game_settings_3
private final LanguageManager languageManager
private GuiOptionButton forceUnicodeFontBtn
private GuiOptionButton confirmSettingsBtn
public GuiLanguage(GuiScreen screen, GameSettings gameSettingsObj, LanguageManager manager)
public void initGui()
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen