public class GuiYesNo extends GuiScreen
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cancelButtonText |
protected java.lang.String |
confirmButtonText |
protected java.lang.String |
messageLine1 |
protected int |
parentButtonClickedId |
protected GuiYesNoCallback |
parentScreen |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiYesNo(GuiYesNoCallback parentScreenIn,
java.lang.String messageLine1In,
java.lang.String messageLine2In,
int parentButtonClickedIdIn) |
GuiYesNo(GuiYesNoCallback parentScreenIn,
java.lang.String messageLine1In,
java.lang.String messageLine2In,
java.lang.String confirmButtonTextIn,
java.lang.String cancelButtonTextIn,
int parentButtonClickedIdIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
initGui() |
void |
setButtonDelay(int ticksUntilEnableIn) |
void |
updateScreen() |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
protected GuiYesNoCallback parentScreen
protected java.lang.String messageLine1
protected java.lang.String confirmButtonText
protected java.lang.String cancelButtonText
protected int parentButtonClickedId
public GuiYesNo(GuiYesNoCallback parentScreenIn, java.lang.String messageLine1In, java.lang.String messageLine2In, int parentButtonClickedIdIn)
public GuiYesNo(GuiYesNoCallback parentScreenIn, java.lang.String messageLine1In, java.lang.String messageLine2In, java.lang.String confirmButtonTextIn, java.lang.String cancelButtonTextIn, int parentButtonClickedIdIn)
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 setButtonDelay(int ticksUntilEnableIn)
public void updateScreen()
updateScreen
in class GuiScreen