public class GuiScreenCustomizePresets extends GuiScreen
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GuiScreenCustomizePresets.Info |
(package private) class |
GuiScreenCustomizePresets.ListPreset |
Modifier and Type | Field and Description |
---|---|
private GuiTextField |
export |
private GuiScreenCustomizePresets.ListPreset |
list |
private java.lang.String |
listText |
private GuiCustomizeWorldScreen |
parent |
private static java.util.List<GuiScreenCustomizePresets.Info> |
PRESETS |
private GuiButton |
select |
private java.lang.String |
shareText |
protected java.lang.String |
title |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiScreenCustomizePresets(GuiCustomizeWorldScreen parentIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
handleMouseInput() |
private boolean |
hasValidSelection() |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onGuiClosed() |
void |
updateButtonValidity() |
void |
updateScreen() |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final java.util.List<GuiScreenCustomizePresets.Info> PRESETS
private GuiScreenCustomizePresets.ListPreset list
private GuiButton select
private GuiTextField export
private final GuiCustomizeWorldScreen parent
protected java.lang.String title
private java.lang.String shareText
private java.lang.String listText
public GuiScreenCustomizePresets(GuiCustomizeWorldScreen parentIn)
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
public void onGuiClosed()
onGuiClosed
in class GuiScreen
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiScreen
java.io.IOException
protected void keyTyped(char typedChar, int keyCode) throws 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
public void updateScreen()
updateScreen
in class GuiScreen
public void updateButtonValidity()
private boolean hasValidSelection()