Class AbstractOptionList.Entry<E extends AbstractOptionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry<E>
net.minecraft.client.gui.widget.list.AbstractOptionList.Entry<E>
- All Implemented Interfaces:
IGuiEventListener,INestedGuiEventHandler
- Direct Known Subclasses:
EditGamerulesScreen.Gamerule,FilterListEntry,KeyBindingList.Entry,OptionsRowList.Row
- Enclosing class:
- AbstractOptionList<E extends AbstractOptionList.Entry<E>>
public abstract static class AbstractOptionList.Entry<E extends AbstractOptionList.Entry<E>>
extends AbstractList.AbstractListEntry<E>
implements INestedGuiEventHandler
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetDragging(boolean p_231037_1_) voidsetFocused(IGuiEventListener p_231035_1_) Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
isMouseOver, renderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.IGuiEventListener
isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
changeFocus, charTyped, children, getChildAt, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
focused
-
dragging
private boolean dragging
-
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
isDragging
public boolean isDragging()- Specified by:
isDraggingin interfaceINestedGuiEventHandler
-
setDragging
public void setDragging(boolean p_231037_1_) - Specified by:
setDraggingin interfaceINestedGuiEventHandler
-
setFocused
- Specified by:
setFocusedin interfaceINestedGuiEventHandler
-
getFocused
- Specified by:
getFocusedin interfaceINestedGuiEventHandler
-