Class ContainerObjectSelectionList.Entry<E extends ContainerObjectSelectionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<E>
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, TabOrderedElement, LayoutElement
- Direct Known Subclasses:
AbstractGameRulesScreen.RuleEntry, DebugOptionsScreen.AbstractOptionEntry, KeyBindsList.Entry, OptionsList.AbstractEntry, PlayerEntry, RealmsBackupScreen.Entry, RealmsPendingInvitesScreen.Entry, RealmsPlayersTab.Entry, StatsScreen.ItemStatisticsList.Entry
- Enclosing class:
ContainerObjectSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
public abstract static class ContainerObjectSelectionList.Entry<E extends ContainerObjectSelectionList.Entry<E>>
extends AbstractSelectionList.Entry<E>
implements ContainerEventHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate @Nullable GuiEventListenerprivate @Nullable NarratableEntryFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ComponentPathfocusPathAtIndex(FocusNavigationEvent navigationEvent, int currentIndex) @Nullable GuiEventListenerbooleanbooleanmouseClicked(MouseButtonEvent event, boolean doubleClick) abstract List<? extends NarratableEntry> @Nullable ComponentPathnextFocusPath(FocusNavigationEvent navigationEvent) voidsetDragging(boolean dragging) voidsetFocused(@Nullable GuiEventListener focused) (package private) voidMethods inherited from class AbstractSelectionList.Entry
extractContent, getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, children, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, preeditUpdated, setFocusedMethods inherited from interface GuiEventListener
getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
focused
-
lastNarratable
-
dragging
private boolean dragging
-
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
isDragging
public boolean isDragging()- Specified by:
isDraggingin interfaceContainerEventHandler
-
setDragging
public void setDragging(boolean dragging) - Specified by:
setDraggingin interfaceContainerEventHandler
-
mouseClicked
- Specified by:
mouseClickedin interfaceContainerEventHandler- Specified by:
mouseClickedin interfaceGuiEventListener
-
setFocused
- Specified by:
setFocusedin interfaceContainerEventHandler
-
getFocused
- Specified by:
getFocusedin interfaceContainerEventHandler
-
narratables
-
updateNarration
-