public abstract class FocusableGui extends AbstractGui implements INestedGuiEventHandler
Modifier and Type | Field and Description |
---|---|
private IGuiEventListener |
focused |
private boolean |
isDragging |
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
FocusableGui() |
Modifier and Type | Method and Description |
---|---|
IGuiEventListener |
getFocused() |
boolean |
isDragging() |
void |
setDragging(boolean p_setDragging_1_) |
void |
setFocused(IGuiEventListener p_setFocused_1_) |
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, children, func_212932_b, getEventListenerForPos, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
isMouseOver, mouseMoved
@Nullable private IGuiEventListener focused
private boolean isDragging
public final boolean isDragging()
isDragging
in interface INestedGuiEventHandler
public final void setDragging(boolean p_setDragging_1_)
setDragging
in interface INestedGuiEventHandler
@Nullable public IGuiEventListener getFocused()
getFocused
in interface INestedGuiEventHandler
public void setFocused(@Nullable IGuiEventListener p_setFocused_1_)
setFocused
in interface INestedGuiEventHandler