Class AbstractContainerEventHandler
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
- Direct Known Subclasses:
AbstractSelectionList
,Screen
,ScrollPanel
public abstract class AbstractContainerEventHandler
extends GuiComponent
implements ContainerEventHandler
-
Field Summary
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setDragging(boolean p_94681_)
void
setFocused(GuiEventListener p_94677_)
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
changeFocus, charTyped, children, getChildAt, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
isMouseOver, mouseMoved
-
Field Details
-
focused
-
isDragging
private boolean isDragging
-
-
Constructor Details
-
AbstractContainerEventHandler
public AbstractContainerEventHandler()
-
-
Method Details
-
isDragging
public final boolean isDragging()- Specified by:
isDragging
in interfaceContainerEventHandler
-
setDragging
public final void setDragging(boolean p_94681_)- Specified by:
setDragging
in interfaceContainerEventHandler
-
getFocused
- Specified by:
getFocused
in interfaceContainerEventHandler
-
setFocused
- Specified by:
setFocused
in interfaceContainerEventHandler
-