Class AbstractContainerEventHandler
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,TabOrderedElement
- Direct Known Subclasses:
Screen
,ScrollPanel
,TabNavigationBar
-
Field Summary
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final void
setDragging
(boolean p_94681_) void
setFocused
(GuiEventListener p_94677_) 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
charTyped, children, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, isMouseOver, mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
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
-