@Environment(value=CLIENT) public class ControlsListWidget extends ElementListWidget<ControlsListWidget.Entry>
| Modifier and Type | Class and Description |
|---|---|
class |
ControlsListWidget.CategoryEntry |
static class |
ControlsListWidget.Entry |
class |
ControlsListWidget.KeyBindingEntry |
| Modifier and Type | Field and Description |
|---|---|
private ControlsOptionsScreen |
gui |
private int |
maxKeyNameLength |
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, renderHeader, renderSelection, right, top, width, yDragBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
ControlsListWidget(ControlsOptionsScreen gui,
MinecraftClient client) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRowWidth() |
protected int |
getScrollbarPositionX() |
changeFocus, isSelectedItemaddEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getItemCount, getMaxPosition, getRowLeft, getRowTop, getScrollAmount, getSelected, isFocused, isMouseOver, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderHoleBackground, renderList, replaceEntries, setLeftPos, setRenderHeader, setScrollAmount, setSelected, 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, setInitialFocusmouseMovedprivate final ControlsOptionsScreen gui
private int maxKeyNameLength
public ControlsListWidget(ControlsOptionsScreen gui, MinecraftClient client)
protected int getScrollbarPositionX()
getScrollbarPositionX in class EntryListWidget<ControlsListWidget.Entry>public int getRowWidth()
getRowWidth in class EntryListWidget<ControlsListWidget.Entry>