Class RealmsBackupScreen.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<RealmsBackupScreen.Entry>
com.mojang.realmsclient.gui.screens.RealmsBackupScreen.Entry
- All Implemented Interfaces:
GuiEventListener,TabOrderedElement,NarrationSupplier
- Enclosing class:
- RealmsBackupScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Backupprivate static final WidgetSpritesprivate ImageButtonprivate final List<AbstractWidget>private static final WidgetSpritesprivate ImageButtonprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate voidaddToChangeList(String p_279195_) private StringgetMediumDatePresentation(Date p_88276_) booleanmouseClicked(double p_279279_, double p_279118_, int p_279445_) private voidpopulateChangeList(Backup p_279365_) voidrender(GuiGraphics p_281408_, int p_281974_, int p_282495_, int p_282463_, int p_281562_, int p_282782_, int p_281638_, int p_283190_, boolean p_283105_, float p_282066_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
Y_PADDING
private static final int Y_PADDING- See Also:
-
X_PADDING
private static final int X_PADDING- See Also:
-
CHANGES_BUTTON_SPRITES
-
RESTORE_BUTTON_SPRITES
-
backup
-
children
-
restoreButton
-
changesButton
-
-
Constructor Details
-
Entry
-
-
Method Details
-
populateChangeList
-
addToChangeList
-
addChangesButton
private void addChangesButton() -
addRestoreButton
private void addRestoreButton() -
mouseClicked
public boolean mouseClicked(double p_279279_, double p_279118_, int p_279445_) -
render
public void render(GuiGraphics p_281408_, int p_281974_, int p_282495_, int p_282463_, int p_281562_, int p_282782_, int p_281638_, int p_283190_, boolean p_283105_, float p_282066_) - Specified by:
renderin classAbstractSelectionList.Entry<RealmsBackupScreen.Entry>
-
getMediumDatePresentation
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<RealmsBackupScreen.Entry>
-