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 Modifier and Type Field Description private boolean
dragging
private IGuiEventListener
focused
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
-
Constructor Summary
Constructors Constructor Description Entry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IGuiEventListener
getFocused()
boolean
isDragging()
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 Detail
-
focused
@Nullable private IGuiEventListener focused
-
dragging
private boolean dragging
-
-
Method Detail
-
isDragging
public boolean isDragging()
- Specified by:
isDragging
in interfaceINestedGuiEventHandler
-
setDragging
public void setDragging(boolean p_231037_1_)
- Specified by:
setDragging
in interfaceINestedGuiEventHandler
-
setFocused
public void setFocused(@Nullable IGuiEventListener p_231035_1_)
- Specified by:
setFocused
in interfaceINestedGuiEventHandler
-
getFocused
@Nullable public IGuiEventListener getFocused()
- Specified by:
getFocused
in interfaceINestedGuiEventHandler
-
-