@Environment(value=CLIENT) public class ConfirmChatLinkScreen extends ConfirmScreen
Modifier and Type | Field and Description |
---|---|
private String |
copy |
private boolean |
drawWarning |
private String |
link |
private String |
warning |
callback, noTranslated, yesTranslated
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
ConfirmChatLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback,
String link,
boolean trusted) |
Modifier and Type | Method and Description |
---|---|
void |
copyToClipboard() |
protected void |
init() |
void |
render(int mouseX,
int mouseY,
float delta) |
disableButtons, getNarrationMessage, keyPressed, shouldCloseOnEsc, tick
addButton, addChild, children, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, removed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, wrapScreenError
getFocused, isDragging, setDragging, setFocused
drawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
mouseMoved
private final String warning
private final String copy
private final String link
private final boolean drawWarning
public ConfirmChatLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, String link, boolean trusted)
protected void init()
init
in class ConfirmScreen
public void copyToClipboard()
public void render(int mouseX, int mouseY, float delta)
render
in interface Drawable
render
in class ConfirmScreen