public abstract class ScrollableList<T extends net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry<T>>
extends net.minecraft.client.gui.widget.list.ExtendedList<T>
Modifier and Type | Field and Description |
---|---|
protected int |
listWidth |
protected int |
scrollbarPos |
Constructor and Description |
---|
ScrollableList(int width,
int height,
int top,
int bottom,
int left,
int right,
int slotHeight,
int listWidth,
int scrollbarPos) |
Modifier and Type | Method and Description |
---|---|
int |
getRowWidth() |
protected int |
getScrollbarPosition() |
void |
updateSettings(int width,
int height,
int top,
int bottom,
int left,
int right) |
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getRight, getRowLeft, getRowTop, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isFocused, isMouseOver, isSelectedItem, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderHoleBackground, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSize
isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ScrollableList(int width, int height, int top, int bottom, int left, int right, int slotHeight, int listWidth, int scrollbarPos)