Package net.minecraft.client.gui.widget
Class ElementListWidget.Entry<E extends ElementListWidget.Entry<E>>
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.ElementListWidget.Entry<E>
- All Implemented Interfaces:
Element
,ParentElement
- Direct Known Subclasses:
ButtonListWidget.ButtonEntry
,ControlsListWidget.Entry
,EditGameRulesScreen.AbstractRuleWidget
,SocialInteractionsPlayerListEntry
- Enclosing class:
- ElementListWidget<E extends ElementListWidget.Entry<E>>
@Environment(CLIENT) public abstract static class ElementListWidget.Entry<E extends ElementListWidget.Entry<E>> extends EntryListWidget.Entry<E> implements ParentElement
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Entry()
-
Method Summary
Modifier and Type Method Description Element
getFocused()
boolean
isDragging()
void
setDragging(boolean dragging)
void
setFocused(Element focused)
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
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.Element
isMouseOver, mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, children, focusOn, hoveredElement, keyPressed, keyReleased, 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 interfaceParentElement
-
setDragging
public void setDragging(boolean dragging)- Specified by:
setDragging
in interfaceParentElement
-
setFocused
- Specified by:
setFocused
in interfaceParentElement
-
getFocused
- Specified by:
getFocused
in interfaceParentElement
-