public interface INestedGuiEventHandler extends IGuiEventListener
Modifier and Type | Method and Description |
---|---|
default boolean |
changeFocus(boolean p_changeFocus_1_) |
default boolean |
charTyped(char p_charTyped_1_,
int p_charTyped_2_) |
java.util.List<? extends IGuiEventListener> |
children() |
default void |
func_212932_b(IGuiEventListener eventListener) |
default java.util.Optional<IGuiEventListener> |
getEventListenerForPos(double mouseX,
double mouseY) |
IGuiEventListener |
getFocused() |
boolean |
isDragging() |
default boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
default boolean |
keyReleased(int keyCode,
int scanCode,
int modifiers) |
default boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
default boolean |
mouseDragged(double p_mouseDragged_1_,
double p_mouseDragged_3_,
int p_mouseDragged_5_,
double p_mouseDragged_6_,
double p_mouseDragged_8_) |
default boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
default boolean |
mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
void |
setDragging(boolean p_setDragging_1_) |
void |
setFocused(IGuiEventListener p_setFocused_1_) |
default void |
setFocusedDefault(IGuiEventListener eventListener) |
isMouseOver, mouseMoved
java.util.List<? extends IGuiEventListener> children()
default java.util.Optional<IGuiEventListener> getEventListenerForPos(double mouseX, double mouseY)
default boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
default boolean mouseReleased(double p_mouseReleased_1_, double p_mouseReleased_3_, int p_mouseReleased_5_)
mouseReleased
in interface IGuiEventListener
default boolean mouseDragged(double p_mouseDragged_1_, double p_mouseDragged_3_, int p_mouseDragged_5_, double p_mouseDragged_6_, double p_mouseDragged_8_)
mouseDragged
in interface IGuiEventListener
boolean isDragging()
void setDragging(boolean p_setDragging_1_)
default boolean mouseScrolled(double p_mouseScrolled_1_, double p_mouseScrolled_3_, double p_mouseScrolled_5_)
mouseScrolled
in interface IGuiEventListener
default boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
default boolean keyReleased(int keyCode, int scanCode, int modifiers)
keyReleased
in interface IGuiEventListener
default boolean charTyped(char p_charTyped_1_, int p_charTyped_2_)
charTyped
in interface IGuiEventListener
@Nullable IGuiEventListener getFocused()
void setFocused(@Nullable IGuiEventListener p_setFocused_1_)
default void setFocusedDefault(@Nullable IGuiEventListener eventListener)
default void func_212932_b(@Nullable IGuiEventListener eventListener)
default boolean changeFocus(boolean p_changeFocus_1_)
changeFocus
in interface IGuiEventListener