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 ElementgetFocused()booleanisDragging()voidsetDragging(boolean dragging)voidsetFocused(Element focused)Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
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.Element
isMouseOver, mouseMovedMethods 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:
isDraggingin interfaceParentElement
-
setDragging
public void setDragging(boolean dragging)- Specified by:
setDraggingin interfaceParentElement
-
setFocused
- Specified by:
setFocusedin interfaceParentElement
-
getFocused
- Specified by:
getFocusedin interfaceParentElement
-