@Environment(value=CLIENT) public abstract class AbstractParentElement extends DrawableHelper implements ParentElement
| Modifier and Type | Field and Description |
|---|---|
private Element |
focused |
private boolean |
isDragging |
BACKGROUND_TEXTURE, GUI_ICONS_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, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, 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