@Environment(value=CLIENT) class LanguageOptionsScreen.LanguageSelectionListWidget extends AlwaysSelectedEntryListWidget<LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry>
Modifier and Type | Class and Description |
---|---|
class |
LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry |
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 |
---|
LanguageSelectionListWidget(MinecraftClient client) |
Modifier and Type | Method and Description |
---|---|
int |
getRowWidth() |
protected int |
getScrollbarPositionX() |
protected boolean |
isFocused() |
protected void |
renderBackground() |
void |
setSelected(LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry languageEntry) |
changeFocus
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getItemCount, getMaxPosition, getRowLeft, getRowTop, getScrollAmount, getSelected, isMouseOver, isSelectedItem, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, remove, removeEntry, render, renderDecorations, renderHeader, renderHoleBackground, renderList, replaceEntries, 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 LanguageSelectionListWidget(MinecraftClient client)
protected int getScrollbarPositionX()
public int getRowWidth()
getRowWidth
in class EntryListWidget<LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry>
public void setSelected(@Nullable LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry languageEntry)
setSelected
in class EntryListWidget<LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry>
protected void renderBackground()
protected boolean isFocused()
isFocused
in class EntryListWidget<LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry>