@Environment(value=CLIENT) class RealmsBackupScreen.BackupObjectSelectionListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>
| Constructor and Description |
|---|
BackupObjectSelectionListEntry(Backup backup) |
| Modifier and Type | Method and Description |
|---|---|
private void |
drawInfo(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5) |
private void |
drawRestore(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5) |
private String |
getMediumDatePresentation(Date lastModifiedDate) |
void |
render(MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean hovered,
float tickDelta)
Renders an entry in a list.
|
private void |
renderBackupItem(MatrixStack matrixStack,
Backup backup,
int int2,
int int3,
int int4,
int int5) |
changeFocusisMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolledprivate final Backup mBackup
public BackupObjectSelectionListEntry(Backup backup)
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
render in class EntryListWidget.Entry<RealmsBackupScreen.BackupObjectSelectionListEntry>matrices - the matrix stack used for renderingindex - the index of the entryy - the Y coordinate of the entryx - the X coordinate of the entryentryWidth - the width of the entryentryHeight - the height of the entrymouseX - the X coordinate of the mousemouseY - the Y coordinate of the mousehovered - whether the mouse is hovering over the entryprivate void renderBackupItem(MatrixStack matrixStack, Backup backup, int int2, int int3, int int4, int int5)
private void drawRestore(MatrixStack matrixStack, int int2, int int3, int int4, int int5)
private void drawInfo(MatrixStack matrixStack, int int2, int int3, int int4, int int5)