@Environment(value=CLIENT) public class RealmsLongRunningMcoTaskScreen extends RealmsScreen
| Modifier and Type | Field and Description |
|---|---|
private boolean |
aborted |
private int |
animTicks |
private int |
buttonLength |
private boolean |
error |
private String |
errorMessage |
private static Logger |
LOGGER |
private Screen |
parent |
static String[] |
symbols |
private LongRunningTask |
task |
private String |
title |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
RealmsLongRunningMcoTaskScreen(Screen parent,
LongRunningTask task) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
aborted() |
private void |
cancelOrBackButtonClicked() |
void |
init() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
void |
onError() |
void |
render(int mouseX,
int mouseY,
float delta) |
void |
setError(String error) |
void |
setTitle(String title) |
void |
tick() |
narrateLabels, rowaddButton, addChild, children, getNarrationMessage, 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, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Logger LOGGER
public static final String[] symbols
private final Screen parent
private volatile String title
private volatile boolean error
private volatile String errorMessage
private volatile boolean aborted
private int animTicks
private final LongRunningTask task
private final int buttonLength
public RealmsLongRunningMcoTaskScreen(Screen parent, LongRunningTask task)
public void tick()
tick in class RealmsScreenpublic boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class Screenprivate void cancelOrBackButtonClicked()
public void render(int mouseX,
int mouseY,
float delta)
public void setError(String error)
public void onError()
public void setTitle(String title)
public boolean aborted()