@Environment(value=CLIENT)
public interface Element
Modifier and Type | Method and Description |
---|---|
default boolean |
changeFocus(boolean lookForwards) |
default boolean |
charTyped(char chr,
int keyCode) |
default boolean |
isMouseOver(double mouseX,
double mouseY) |
default boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
default boolean |
keyReleased(int keyCode,
int scanCode,
int modifiers) |
default boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
default boolean |
mouseDragged(double mouseX,
double mouseY,
int button,
double deltaX,
double deltaY) |
default void |
mouseMoved(double mouseX,
double mouseY) |
default boolean |
mouseReleased(double mouseX,
double mouseY,
int button) |
default boolean |
mouseScrolled(double mouseX,
double mouseY,
double amount) |
default void mouseMoved(double mouseX, double mouseY)
default boolean mouseClicked(double mouseX, double mouseY, int button)
default boolean mouseReleased(double mouseX, double mouseY, int button)
default boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY)
default boolean mouseScrolled(double mouseX, double mouseY, double amount)
default boolean keyPressed(int keyCode, int scanCode, int modifiers)
default boolean keyReleased(int keyCode, int scanCode, int modifiers)
default boolean charTyped(char chr, int keyCode)
default boolean changeFocus(boolean lookForwards)
default boolean isMouseOver(double mouseX, double mouseY)