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
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setDragging
(boolean p_231037_1_) void
setFocused
(IGuiEventListener p_231035_1_) Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
isMouseOver, render
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.IGuiEventListener
isMouseOver, mouseMoved
Methods 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:
isDragging
in interfaceINestedGuiEventHandler
-
setDragging
public void setDragging(boolean p_231037_1_) - Specified by:
setDragging
in interfaceINestedGuiEventHandler
-
setFocused
- Specified by:
setFocused
in interfaceINestedGuiEventHandler
-
getFocused
- Specified by:
getFocused
in interfaceINestedGuiEventHandler
-