@Environment(value=CLIENT) public abstract class AbstractParentElement extends DrawableHelper implements ParentElement
| Modifier and Type | Field and Description |
|---|---|
private boolean |
dragging |
private Element |
focused |
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
AbstractParentElement() |
| Modifier and Type | Method and Description |
|---|---|
Element |
getFocused() |
boolean |
isDragging() |
void |
setDragging(boolean dragging) |
void |
setFocused(Element focused) |
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, children, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusisMouseOver, mouseMovedpublic final boolean isDragging()
isDragging in interface ParentElementpublic final void setDragging(boolean dragging)
setDragging in interface ParentElement@Nullable public Element getFocused()
getFocused in interface ParentElementpublic void setFocused(@Nullable Element focused)
setFocused in interface ParentElement