@Environment(value=CLIENT) public class RealmsPendingInvitesScreen extends RealmsScreen
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
RealmsPendingInvitesScreen.PendingInvitationSelectionList |
(package private) class |
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry |
| Modifier and Type | Field and Description |
|---|---|
private static Identifier |
ACCEPT_ICON |
private ButtonWidget |
acceptButton |
private boolean |
loaded |
private static Logger |
LOGGER |
private Screen |
parent |
private RealmsPendingInvitesScreen.PendingInvitationSelectionList |
pendingInvitationSelectionList |
private static Identifier |
REJECT_ICON |
private ButtonWidget |
rejectButton |
private int |
selectedInvite |
private RealmsLabel |
titleLabel |
private String |
toolTip |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
RealmsPendingInvitesScreen(Screen parent) |
| Modifier and Type | Method and Description |
|---|---|
private void |
accept(int slot) |
void |
init() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
private void |
reject(int slot) |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
protected void |
renderMousehoverTooltip(MatrixStack matrixStack,
String string,
int int2,
int int3) |
private boolean |
shouldAcceptAndRejectButtonBeVisible(int invite) |
private void |
updateButtonStates() |
private void |
updateList(int slot) |
narrateLabels, row, tickaddButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, method_29638, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Logger LOGGER
private static final Identifier ACCEPT_ICON
private static final Identifier REJECT_ICON
private final Screen parent
private String toolTip
private boolean loaded
private RealmsPendingInvitesScreen.PendingInvitationSelectionList pendingInvitationSelectionList
private RealmsLabel titleLabel
private int selectedInvite
private ButtonWidget acceptButton
private ButtonWidget rejectButton
public RealmsPendingInvitesScreen(Screen parent)
public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class Screenprivate void updateList(int slot)
private void reject(int slot)
private void accept(int slot)
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
protected void renderMousehoverTooltip(MatrixStack matrixStack, String string, int int2, int int3)
private void updateButtonStates()
private boolean shouldAcceptAndRejectButtonBeVisible(int invite)