net.minecraft.client.gui.widget.list

public abstract class AbstractList<E extends AbstractList$AbstractListEntry<E>>

extends FocusableGui implements IRenderable

All mapped superinterfaces:

INestedGuiEventHandler, IGuiEventListener, IRenderable

cwk
net.minecraft.class_350
net.minecraft.client.gui.widget.list.AbstractList

Field summary

Modifier and TypeField
protected static final int
DRAG_OUTSIDE
DRAG_OUTSIDE
protected final Minecraft
minecraft
minecraft
protected final int
itemHeight
itemHeight
private final List<E>
children
children
protected int
width
width
protected int
height
height
protected int
y0
field_19085
y0
protected int
y1
field_19086
y1
protected int
x1
field_19087
x1
protected int
x0
field_19088
x0
protected boolean
centerListVertically
centerListVertically
protected int
yDrag
yDrag
private double
scrollAmount
scrollAmount
protected boolean
renderSelection
renderSelection
protected boolean
renderHeader
renderHeader
protected int
headerHeight
headerHeight
private boolean
scrolling
scrolling
private E
selected
selected

Constructor summary

ModifierConstructor
public (Minecraft arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Method summary

Modifier and TypeMethod
public void
setRenderSelection(boolean arg0)
setRenderSelection(boolean arg0)
protected void
setRenderHeader(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
public int
getRowWidth()
getRowWidth()
public E
getSelected()
getSelected()
public void
setSelected(E arg0)
setSelected(E arg0)
public E
getFocused()
getFocused()
public final List<E>
children()
children()
protected final void
clearEntries()
clearEntries()
protected void
replaceEntries(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
protected E
getEntry(int arg0)
getEntry(int arg0)
protected int
addEntry(E arg0)
addEntry(E arg0)
protected int
getItemCount()
getItemCount()
protected boolean
isSelectedItem(int arg0)
isSelectedItem(int arg0)
protected final E
getEntryAtPosition(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
public void
updateSize(int arg0, int arg1, int arg2, int arg3)
updateSize(int arg0, int arg1, int arg2, int arg3)
public void
setLeftPos(int arg0)
setLeftPos(int arg0)
protected int
getMaxPosition()
getMaxPosition()
protected void
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
protected void
renderHeader(int arg0, int arg1, cum arg2)
renderHeader(int arg0, int arg1, Tessellator arg2)
protected void
renderBackground()
renderBackground()
protected void
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
protected void
centerScrollOn(E arg0)
centerScrollOn(E arg0)
protected void
ensureVisible(E arg0)
ensureVisible(E arg0)
private void
scroll(int arg0)
scroll(int arg0)
public double
getScrollAmount()
getScrollAmount()
public void
setScrollAmount(double arg0)
setScrollAmount(double arg0)
private int
getMaxScroll()
getMaxScroll()
public int
getScrollBottom()
getScrollBottom()
protected void
updateScrollingState(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
protected int
getScrollbarPosition()
getScrollbarPosition()
public boolean
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public boolean
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
public boolean
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
public boolean
mouseScrolled(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
public boolean
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
protected void
moveSelection(int arg0)
moveSelection(int arg0)
public boolean
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
protected void
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
protected int
getRowLeft()
getRowLeft()
protected int
getRowTop(int arg0)
getRowTop(int arg0)
private int
getRowBottom(int arg0)
getRowBottom(int arg0)
protected boolean
isFocused()
isFocused()
protected void
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
protected E
remove(int arg0)
remove(int arg0)
protected boolean
removeEntry(E arg0)
removeEntry(E arg0)