public class RealmsObjectSelectionListProxy<E extends ExtendedList.AbstractListEntry<E>> extends ExtendedList<E>
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>
Modifier and Type | Field and Description |
---|---|
private RealmsObjectSelectionList |
realmsObjectSelectionList |
centerListVertically, DRAG_OUTSIDE, headerHeight, height, itemHeight, minecraft, renderHeader, renderSelection, width, x0, x1, y0, y1, yDrag
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
RealmsObjectSelectionListProxy(RealmsObjectSelectionList p_i50681_1_,
int p_i50681_2_,
int p_i50681_3_,
int p_i50681_4_,
int p_i50681_5_,
int p_i50681_6_) |
Modifier and Type | Method and Description |
---|---|
protected int |
addEntry(E p_addEntry_1_) |
void |
clear() |
int |
getItemCount() |
int |
getMaxPosition() |
int |
getRowLeft() |
int |
getRowTop(int p_getRowTop_1_) |
int |
getRowWidth() |
int |
getScrollbarPosition() |
int |
getWidth() |
int |
headerHeight() |
boolean |
isFocused() |
int |
itemHeight() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseDragged(double p_mouseDragged_1_,
double p_mouseDragged_3_,
int p_mouseDragged_5_,
double p_mouseDragged_6_,
double p_mouseDragged_8_) |
boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
boolean |
mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
E |
remove(int p_remove_1_) |
boolean |
removeEntry(E p_removeEntry_1_) |
void |
renderBackground() |
void |
replaceEntries(java.util.Collection<E> p_replaceEntries_1_) |
void |
setScrollAmount(double p_setScrollAmount_1_) |
void |
setSelected(E p_setSelected_1_) |
protected void |
setSelectedItem(int p_setSelectedItem_1_) |
int |
y0() |
int |
y1() |
changeFocus
centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getLeft, getRight, getScrollAmount, getScrollBottom, getSelected, getTop, isMouseOver, isSelectedItem, moveSelection, render, renderDecorations, renderHeader, renderHoleBackground, renderList, setLeftPos, setRenderHeader, setRenderSelection, 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
charTyped, func_212932_b, getEventListenerForPos, keyReleased, setFocusedDefault
mouseMoved
private final RealmsObjectSelectionList realmsObjectSelectionList
public RealmsObjectSelectionListProxy(RealmsObjectSelectionList p_i50681_1_, int p_i50681_2_, int p_i50681_3_, int p_i50681_4_, int p_i50681_5_, int p_i50681_6_)
public int getItemCount()
getItemCount
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public void clear()
public boolean isFocused()
isFocused
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
protected void setSelectedItem(int p_setSelectedItem_1_)
public void setSelected(@Nullable E p_setSelected_1_)
setSelected
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public void renderBackground()
renderBackground
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public int getWidth()
getWidth
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public int getMaxPosition()
getMaxPosition
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public int getScrollbarPosition()
getScrollbarPosition
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public boolean mouseScrolled(double p_mouseScrolled_1_, double p_mouseScrolled_3_, double p_mouseScrolled_5_)
mouseScrolled
in interface IGuiEventListener
mouseScrolled
in interface INestedGuiEventHandler
mouseScrolled
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public int getRowWidth()
getRowWidth
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
mouseClicked
in interface INestedGuiEventHandler
mouseClicked
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public boolean mouseReleased(double p_mouseReleased_1_, double p_mouseReleased_3_, int p_mouseReleased_5_)
mouseReleased
in interface IGuiEventListener
mouseReleased
in interface INestedGuiEventHandler
mouseReleased
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public boolean mouseDragged(double p_mouseDragged_1_, double p_mouseDragged_3_, int p_mouseDragged_5_, double p_mouseDragged_6_, double p_mouseDragged_8_)
mouseDragged
in interface IGuiEventListener
mouseDragged
in interface INestedGuiEventHandler
mouseDragged
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
protected final int addEntry(E p_addEntry_1_)
addEntry
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public E remove(int p_remove_1_)
remove
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public boolean removeEntry(E p_removeEntry_1_)
removeEntry
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public void setScrollAmount(double p_setScrollAmount_1_)
setScrollAmount
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public int y0()
public int y1()
public int headerHeight()
public int itemHeight()
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
keyPressed
in interface INestedGuiEventHandler
keyPressed
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public void replaceEntries(java.util.Collection<E> p_replaceEntries_1_)
replaceEntries
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public int getRowTop(int p_getRowTop_1_)
getRowTop
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>
public int getRowLeft()
getRowLeft
in class AbstractList<E extends ExtendedList.AbstractListEntry<E>>