@Environment(value=CLIENT) class PresetsScreen.SuperflatPresetsListWidget extends AlwaysSelectedEntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
| Modifier and Type | Class and Description |
|---|---|
class |
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry |
AlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>bottom, centerListVertically, client, headerHeight, height, itemHeight, left, renderHeader, renderSelection, right, top, width, yDragBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
SuperflatPresetsListWidget() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isFocused() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
protected void |
moveSelection(int amount) |
void |
setSelected(PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry superflatPresetEntry) |
changeFocusaddEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getItemCount, getMaxPosition, getRowLeft, getRowTop, getRowWidth, getScrollAmount, getScrollbarPositionX, getSelected, isMouseOver, isSelectedItem, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderHoleBackground, renderList, replaceEntries, setLeftPos, setRenderHeader, setScrollAmount, updateScrollingState, updateSizeisDragging, 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, waitcharTyped, focusOn, hoveredElement, keyReleased, setInitialFocusmouseMovedpublic void setSelected(@Nullable PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry superflatPresetEntry)
setSelected in class EntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>protected void moveSelection(int amount)
moveSelection in class EntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>protected boolean isFocused()
isFocused in class EntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class EntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>