public class GuiYesNo extends GuiScreen
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cancelButtonText |
protected java.lang.String |
confirmButtonText |
private java.util.List<java.lang.String> |
listLines |
protected java.lang.String |
messageLine1 |
private java.lang.String |
messageLine2 |
protected int |
parentButtonClickedId |
protected GuiYesNoCallback |
parentScreen |
private int |
ticksUntilEnable |
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
private final java.lang.String messageLine2
private final java.util.List<java.lang.String> listLines
protected java.lang.String confirmButtonText
protected java.lang.String cancelButtonText
protected int parentButtonClickedId
private int ticksUntilEnable
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