public class ModListWidget extends ExtendedList<ModListWidget.ModEntry>
| Modifier and Type | Class and Description |
|---|---|
class |
ModListWidget.ModEntry |
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>| Modifier and Type | Field and Description |
|---|---|
private int |
listWidth |
private ModListScreen |
parent |
private static ResourceLocation |
VERSION_CHECK_ICONS |
centerListVertically, DRAG_OUTSIDE, headerHeight, height, itemHeight, minecraft, renderHeader, renderSelection, width, x0, x1, y0, y1, yDragBACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
ModListWidget(ModListScreen parent,
int listWidth,
int top,
int bottom) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRowWidth() |
protected int |
getScrollbarPosition() |
void |
refreshList() |
protected void |
renderBackground() |
private static java.lang.String |
stripControlCodes(java.lang.String value) |
changeFocusaddEntry, 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, renderDecorations, renderHeader, renderHoleBackground, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSizeisDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, func_212932_b, getEventListenerForPos, keyReleased, setFocusedDefaultmouseMovedprivate static final ResourceLocation VERSION_CHECK_ICONS
private final int listWidth
private ModListScreen parent
public ModListWidget(ModListScreen parent, int listWidth, int top, int bottom)
private static java.lang.String stripControlCodes(java.lang.String value)
protected int getScrollbarPosition()
getScrollbarPosition in class AbstractList<ModListWidget.ModEntry>public int getRowWidth()
getRowWidth in class AbstractList<ModListWidget.ModEntry>public void refreshList()
protected void renderBackground()
renderBackground in class AbstractList<ModListWidget.ModEntry>