net.minecraft.client.gui.components

public abstract class AbstractSelectionList<E extends AbstractSelectionList$Entry<E>>

extends AbstractContainerEventHandler implements Widget

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

dcp
net.minecraft.client.gui.components.AbstractSelectionList
net.minecraft.class_350
net.minecraft.unmapped.C_nmdfcqgq
net.minecraft.client.gui.widget.EntryListWidget
net.minecraft.client.gui.widget.list.AbstractList

Field summary

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

Constructor summary

ModifierConstructor
public (Minecraft client, int width, int height, int top, int bottom, int itemHeight)

Method summary

Modifier and TypeMethod
public void
setRenderSelection(boolean arg0)
setRenderSelection(boolean arg0)
setRenderSelection(boolean arg0)
setRenderSelection(boolean renderSelection)
setRenderSelection(boolean arg0)
protected void
setRenderHeader(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
setRenderHeader(boolean renderHeader, int headerHeight)
setRenderHeader(boolean arg0, int arg1)
public int
getRowWidth()
getRowWidth()
getRowWidth()
getRowWidth()
public E
getSelected()
getSelected()
getSelected()
getSelected()
public void
setSelected(E arg0)
setSelected(E arg0)
setSelected(E arg0)
setSelected(E entry)
setSelected(E arg0)
public E
getFocused()
getFocused()
getFocused()
getFocused()
getFocused()
public final List<E>
children()
children()
children()
children()
protected final void
clearEntries()
clearEntries()
clearEntries()
clearEntries()
protected void
replaceEntries(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
replaceEntries(Collection<E> newEntries)
replaceEntries(Collection<E> arg0)
protected E
getEntry(int arg0)
getEntry(int arg0)
getEntry(int arg0)
getEntry(int index)
getEntry(int arg0)
protected int
addEntry(E arg0)
addEntry(E arg0)
addEntry(E arg0)
addEntry(E entry)
addEntry(E arg0)
protected int
getItemCount()
getItemCount()
getItemCount()
getItemCount()
protected boolean
isSelectedItem(int arg0)
isSelectedItem(int arg0)
isSelectedItem(int arg0)
isSelectedItem(int index)
isSelectedItem(int arg0)
protected final E
getEntryAtPosition(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
getEntryAtPosition(double x, double y)
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)
updateSize(int arg0, int arg1, int arg2, int arg3)
updateSize(int width, int height, int top, int bottom)
updateSize(int arg0, int arg1, int arg2, int arg3)
public void
setLeftPos(int arg0)
setLeftPos(int arg0)
setLeftPos(int arg0)
setLeftPos(int left)
setLeftPos(int arg0)
protected int
getMaxPosition()
getMaxPosition()
getMaxPosition()
getMaxPosition()
protected void
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
clickedHeader(int x, int y)
clickedHeader(int arg0, int arg1)
protected void
renderHeader(int arg0, int arg1, cyj arg2)
renderHeader(int arg0, int arg1, Tesselator arg2)
renderHeader(int arg0, int arg1, class_289 arg2)
renderHeader(int x, int y, Tessellator tessellator)
renderHeader(int arg0, int arg1, Tessellator arg2)
protected void
renderBackground()
renderBackground()
renderBackground()
renderBackground()
protected void
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
renderDecorations(int mouseX, int mouseY)
renderDecorations(int arg0, int arg1)
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
protected void
centerScrollOn(E arg0)
centerScrollOn(E arg0)
centerScrollOn(E arg0)
centerScrollOn(E entry)
centerScrollOn(E arg0)
protected void
ensureVisible(E arg0)
ensureVisible(E arg0)
ensureVisible(E arg0)
ensureVisible(E entry)
ensureVisible(E arg0)
private void
scroll(int arg0)
scroll(int arg0)
scroll(int arg0)
scroll(int amount)
scroll(int arg0)
public double
getScrollAmount()
getScrollAmount()
getScrollAmount()
getScrollAmount()
public void
setScrollAmount(double arg0)
setScrollAmount(double arg0)
setScrollAmount(double arg0)
setScrollAmount(double amount)
setScrollAmount(double arg0)
private int
getMaxScroll()
getMaxScroll()
getMaxScroll()
getMaxScroll()
public int
getScrollBottom()
getScrollBottom()
getScrollBottom()
getScrollBottom()
protected void
updateScrollingState(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
protected int
getScrollbarPosition()
getScrollbarPosition()
getScrollbarPosition()
getScrollbarPosition()
public boolean
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
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)
mouseReleased(double arg0, double arg1, int arg2)
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)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
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)
mouseScrolled(double arg0, double arg1, double arg2)
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)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
protected void
moveSelection(int arg0)
moveSelection(int arg0)
moveSelection(int arg0)
moveSelection(int amount)
moveSelection(int arg0)
public boolean
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
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)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
renderList(int x, int y, int mouseX, int mouseY, float delta)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
protected int
getRowLeft()
getRowLeft()
getRowLeft()
getRowLeft()
protected int
getRowTop(int arg0)
getRowTop(int arg0)
getRowTop(int arg0)
getRowTop(int index)
getRowTop(int arg0)
private int
getRowBottom(int arg0)
getRowBottom(int arg0)
getRowBottom(int arg0)
getRowBottom(int arg0)
protected boolean
isFocused()
isFocused()
isFocused()
isFocused()
protected void
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
renderHoleBackground(int top, int bottom, int alphaTop, int alphaBottom)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
protected E
remove(int arg0)
remove(int arg0)
remove(int arg0)
remove(int index)
remove(int arg0)
protected boolean
removeEntry(E arg0)
removeEntry(E arg0)
removeEntry(E arg0)
removeEntry(E entry)
removeEntry(E arg0)