@Environment(value=CLIENT) public abstract static class ElementListWidget.Entry<E extends ElementListWidget.Entry<E>> extends EntryListWidget.Entry<E> implements ParentElement
Modifier and Type | Field and Description |
---|---|
private boolean |
dragging |
private Element |
focused |
Constructor and Description |
---|
Entry() |
Modifier and Type | Method and Description |
---|---|
Element |
getFocused() |
boolean |
isDragging() |
void |
setDragging(boolean dragging) |
void |
setFocused(Element focused) |
isMouseOver, render
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, children, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
isMouseOver, mouseMoved
public boolean isDragging()
isDragging
in interface ParentElement
public void setDragging(boolean dragging)
setDragging
in interface ParentElement
public void setFocused(@Nullable Element focused)
setFocused
in interface ParentElement
@Nullable public Element getFocused()
getFocused
in interface ParentElement