类 RealmsObjectSelectionList<E extends ObjectSelectionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<E>
net.minecraft.realms.RealmsObjectSelectionList<E>
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
- 直接已知子类:
RealmsBackupScreen.BackupObjectSelectionList
,RealmsMainScreen.RealmSelectionList
,RealmsPendingInvitesScreen.PendingInvitationSelectionList
,RealmsPlayerScreen.InvitedObjectSelectionList
,RealmsSelectFileToUploadScreen.WorldSelectionList
,RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList
public abstract class RealmsObjectSelectionList<E extends ObjectSelectionList.Entry<E>>
extends ObjectSelectionList<E>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.components.ObjectSelectionList
ObjectSelectionList.Entry<E extends ObjectSelectionList.Entry<E>>
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器限定符构造器说明protected
RealmsObjectSelectionList
(int pWidth, int pHeight, int pY0, int pY1, int pItemHeight) -
方法概要
修饰符和类型方法说明int
void
clear()
int
int
int
int
getRowTop
(int pIndex) int
int
void
itemClicked
(int p_120751_, int pIndex, double pMouseX, double pMouseY, int p_120755_, int pButton) void
replaceEntries
(Collection<E> pEntries) void
selectItem
(int pIndex) void
setSelectedItem
(int pIndex) 从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList
nextFocusPath, updateNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getLeft, getMaxScroll, getRectangle, getRight, getRowBottom, getRowRight, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderBackground, renderDecorations, renderHeader, renderItem, renderList, renderSelection, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSize
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, magicalSpecialHackyFocus, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
isActive
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
构造器详细资料
-
RealmsObjectSelectionList
protected RealmsObjectSelectionList(int pWidth, int pHeight, int pY0, int pY1, int pItemHeight)
-
-
方法详细资料
-
setSelectedItem
public void setSelectedItem(int pIndex) -
selectItem
public void selectItem(int pIndex) -
itemClicked
public void itemClicked(int p_120751_, int pIndex, double pMouseX, double pMouseY, int p_120755_, int pButton) -
getMaxPosition
public int getMaxPosition()- 覆盖:
getMaxPosition
在类中AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
-
getScrollbarPosition
public int getScrollbarPosition()- 覆盖:
getScrollbarPosition
在类中AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
-
getRowWidth
public int getRowWidth()- 覆盖:
getRowWidth
在类中AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
-
replaceEntries
- 覆盖:
replaceEntries
在类中AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
-
getItemCount
public int getItemCount()- 覆盖:
getItemCount
在类中AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
-
getRowTop
public int getRowTop(int pIndex) - 覆盖:
getRowTop
在类中AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
-
getRowLeft
public int getRowLeft()- 覆盖:
getRowLeft
在类中AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
-
addEntry
- 覆盖:
addEntry
在类中AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
-
clear
public void clear()
-