Class RealmsBackupScreen.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsBackupScreen.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<RealmsBackupScreen.Entry>
com.mojang.realmsclient.gui.screens.configuration.RealmsBackupScreen.Entry
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, TabOrderedElement, LayoutElement
- Enclosing class:
RealmsBackupScreen
private class RealmsBackupScreen.Entry
extends ContainerObjectSelectionList.Entry<RealmsBackupScreen.Entry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Backupprivate @Nullable Buttonprivate final List<AbstractWidget> private @Nullable Buttonprivate static final intFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddToChangeList(String key) List<? extends GuiEventListener> children()List<? extends NarratableEntry> private MutableComponentnarrationForBackupEntry(Supplier<MutableComponent> defaultNarrationSupplier) private voidpopulateChangeList(Backup backup) voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) private voidMethods inherited from class ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface GuiEventListener
getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
Y_PADDING
private static final int Y_PADDING- See Also:
-
backup
-
restoreButton
-
changesButton
-
children
-
-
Constructor Details
-
Entry
-
-
Method Details
-
narrationForBackupEntry
private MutableComponent narrationForBackupEntry(Supplier<MutableComponent> defaultNarrationSupplier) -
populateChangeList
-
addToChangeList
-
restoreClicked
private void restoreClicked() -
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<RealmsBackupScreen.Entry>
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<RealmsBackupScreen.Entry>
-