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, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, children, func_212932_b, getEventListenerForPos, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefaultisMouseOver, mouseMoved@Nullable private IGuiEventListener focused
private boolean isDragging
public final boolean isDragging()
isDragging in interface INestedGuiEventHandlerpublic final void setDragging(boolean p_setDragging_1_)
setDragging in interface INestedGuiEventHandler@Nullable public IGuiEventListener getFocused()
getFocused in interface INestedGuiEventHandlerpublic void setFocused(@Nullable
IGuiEventListener p_setFocused_1_)
setFocused in interface INestedGuiEventHandler