@Environment(value=CLIENT) class RealmsBackupScreen.BackupObjectSelectionList extends RealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
AlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, renderHeader, renderSelection, right, top, width, yDrag
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
BackupObjectSelectionList() |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(Backup backup) |
int |
getMaxPosition() |
int |
getRowWidth() |
int |
getScrollbarPositionX() |
boolean |
isFocused() |
void |
itemClicked(int cursorY,
int selectionIndex,
double mouseX,
double mouseY,
int listWidth) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
renderBackground() |
void |
selectInviteListItem(int item) |
void |
setSelected(int index) |
void |
setSelected(RealmsBackupScreen.BackupObjectSelectionListEntry backupObjectSelectionListEntry) |
addEntry, clear, getItemCount, getRowLeft, getRowTop, replaceEntries, setSelectedItem
changeFocus
centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getScrollAmount, getSelected, isMouseOver, isSelectedItem, keyPressed, mouseDragged, mouseReleased, mouseScrolled, moveSelection, remove, removeEntry, render, renderDecorations, renderHeader, renderHoleBackground, renderList, setLeftPos, setRenderHeader, setScrollAmount, updateScrollingState, updateSize
isDragging, setDragging, setFocused
drawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, focusOn, hoveredElement, keyReleased, setInitialFocus
mouseMoved
public void addEntry(Backup backup)
public int getRowWidth()
getRowWidth
in class RealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
public boolean isFocused()
isFocused
in class EntryListWidget<RealmsBackupScreen.BackupObjectSelectionListEntry>
public int getMaxPosition()
getMaxPosition
in class RealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
public void renderBackground()
renderBackground
in class EntryListWidget<RealmsBackupScreen.BackupObjectSelectionListEntry>
public boolean mouseClicked(double mouseX, double mouseY, int button)
mouseClicked
in interface Element
mouseClicked
in interface ParentElement
mouseClicked
in class EntryListWidget<RealmsBackupScreen.BackupObjectSelectionListEntry>
public int getScrollbarPositionX()
public void itemClicked(int cursorY, int selectionIndex, double mouseX, double mouseY, int listWidth)
itemClicked
in class RealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
public void setSelected(int index)
setSelected
in class RealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
public void selectInviteListItem(int item)
public void setSelected(@Nullable RealmsBackupScreen.BackupObjectSelectionListEntry backupObjectSelectionListEntry)
setSelected
in class EntryListWidget<RealmsBackupScreen.BackupObjectSelectionListEntry>