public class GuiConfirmOpenLink extends GuiYesNo
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
copyLinkButtonText |
private java.lang.String |
linkText |
private java.lang.String |
openLinkWarning |
private boolean |
showSecurityWarning |
cancelButtonText, confirmButtonText, messageLine1, parentButtonClickedId, parentScreen
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiConfirmOpenLink(GuiYesNoCallback parentScreenIn,
java.lang.String linkTextIn,
int parentButtonClickedIdIn,
boolean trusted) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
void |
copyLinkToClipboard() |
void |
disableSecurityWarning() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
initGui() |
setButtonDelay, 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
private final java.lang.String openLinkWarning
private final java.lang.String copyLinkButtonText
private final java.lang.String linkText
private boolean showSecurityWarning
public GuiConfirmOpenLink(GuiYesNoCallback parentScreenIn, java.lang.String linkTextIn, int parentButtonClickedIdIn, boolean trusted)
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiYesNo
java.io.IOException
public void copyLinkToClipboard()
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiYesNo
public void disableSecurityWarning()