public class GuiConfirmBackup extends GuiScreen
Modifier and Type | Class and Description |
---|---|
static interface |
GuiConfirmBackup.ICallback |
Modifier and Type | Field and Description |
---|---|
protected GuiConfirmBackup.ICallback |
callback |
protected java.lang.String |
cancelText |
protected java.lang.String |
confirmText |
protected java.lang.String |
skipBackupText |
protected java.lang.String |
title |
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiConfirmBackup(GuiScreen parent,
GuiConfirmBackup.ICallback callback,
java.lang.String title,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowCloseWithEscape() |
protected void |
initGui() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
addButton, close, confirmResult, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onGuiClosed, onResize, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolution, tick
focusNext, focusOn, getFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseScrolled
canFocus, focusChanged
protected GuiConfirmBackup.ICallback callback
protected java.lang.String title
protected java.lang.String confirmText
protected java.lang.String skipBackupText
protected java.lang.String cancelText
public GuiConfirmBackup(GuiScreen parent, GuiConfirmBackup.ICallback callback, java.lang.String title, java.lang.String message)
public void render(int mouseX, int mouseY, float partialTicks)
public boolean allowCloseWithEscape()
allowCloseWithEscape
in class GuiScreen
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
keyPressed
in interface IGuiEventListenerDeferred
keyPressed
in class GuiScreen