@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 ButtonWidget |
acceptButton |
private static Identifier |
field_22702 |
private static Identifier |
field_22703 |
private Screen |
lastScreen |
private boolean |
loaded |
private static Logger |
LOGGER |
private RealmsPendingInvitesScreen.PendingInvitationSelectionList |
pendingInvitationSelectionList |
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 screen) |
| 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(int mouseX,
int mouseY,
float delta) |
protected void |
renderMousehoverTooltip(String msg,
int x,
int y) |
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, 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
private static final Identifier field_22702
private static final Identifier field_22703
private final Screen lastScreen
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 screen)
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(int mouseX,
int mouseY,
float delta)
protected void renderMousehoverTooltip(String msg, int x, int y)
private void updateButtonStates()
private boolean shouldAcceptAndRejectButtonBeVisible(int invite)