| Package | Description |
|---|---|
| be.yildizgames.module.graphic |
Contains the logic to build and manipulate graphic data.
|
| be.yildizgames.module.graphic.gui |
Contains All the element to build and manage the GUI.
|
| be.yildizgames.module.graphic.gui.button | |
| be.yildizgames.module.graphic.gui.container | |
| be.yildizgames.module.graphic.gui.internal | |
| be.yildizgames.module.graphic.gui.internal.impl | |
| be.yildizgames.module.window.input |
Contains the classes to manage the inputs.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ScreenPart |
ScreenPart.getFromPosition(Size res,
MousePosition position) |
Retrieve the screen part containing the given position.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
View.contains(MousePosition position) |
Compute if the point is in the view.
|
boolean |
Widget.contains(MousePosition position) |
Check if a point in contained in this container.
|
void |
OnMouseOverListener.notify(boolean over,
MousePosition position) |
The mouse over state changed.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
Button.contains(MousePosition position) |
|
void |
Button.mouseLeftClick(MousePosition position) |
| Modifier and Type | Method | Description |
|---|---|---|
Optional<Widget> |
Container.getWidgetAt(MousePosition position) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
BaseWidget.contains(MousePosition position) |
|
void |
EventBubblingDispatcher.mouseDoubleClick(MousePosition position) |
|
void |
EventBubblingDispatcher.mouseDragLeft(MousePosition position,
MousePosition delta) |
|
void |
EventBubblingDispatcher.mouseDragRight(MousePosition position,
MousePosition delta) |
|
void |
EventBubblingDispatcher.mouseDragWheel(MousePosition position,
MousePosition delta) |
|
void |
BaseWidget.mouseLeftClick(MousePosition position) |
Called when the mouse left button is pressed.
|
void |
EventBubblingDispatcher.mouseLeftClick(MousePosition position) |
|
void |
EventBubblingDispatcher.mouseLeftReleased(MousePosition position) |
|
void |
EventBubblingDispatcher.mouseMove(MousePosition position) |
|
void |
EventBubblingDispatcher.mouseRightClick(MousePosition position) |
|
void |
EventBubblingDispatcher.mouseRightReleased(MousePosition position) |
|
void |
EventBubblingDispatcher.mouseWheel(MousePosition cursorPosition,
int count) |
|
Element |
BaseWidget.setMouseOver(boolean over,
MousePosition position) |
Called when the mouse enter or get out of a widget.
|
| Modifier and Type | Method | Description |
|---|---|---|
Optional<Widget> |
SimpleContainer.getWidgetAt(MousePosition position) |
| Modifier and Type | Field | Description |
|---|---|---|
static MousePosition |
MousePosition.ZERO |
| Modifier and Type | Method | Description |
|---|---|---|
void |
MouseDoubleLeftClickListener.click(MousePosition position) |
Called when the left button of the mouse is pressed twice.
|
void |
MouseRightClickListener.click(MousePosition position) |
Called when the right button of the mouse is pressed.
|
default void |
MouseLeftClickListener.clickAt(MousePosition position) |
Called when the left button of the mouse is pressed.
|
default void |
WindowInputListener.mouseDoubleClick(MousePosition position) |
Dispatch a left double click from the mouse to all listeners in the current Widget.
|
void |
MouseDragListener.mouseDragLeft(MousePosition position,
MousePosition delta) |
Called when the mouse is dragged holding the left button.
|
default void |
WindowInputListener.mouseDragLeft(MousePosition position,
MousePosition delta) |
Dispatch a drag from the mouse with the left button to all listeners in the current Widget.
|
default void |
MouseDragListener.mouseDragLeftReleased(MousePosition position) |
Called when the mouse left button is released.
|
default void |
MouseDragListener.mouseDragRight(MousePosition position,
MousePosition delta) |
Called when the mouse is dragged holding the right button.
|
default void |
WindowInputListener.mouseDragRight(MousePosition position,
MousePosition delta) |
Dispatch a drag from the mouse with the right button to all listeners in the current Widget.
|
default void |
MouseDragListener.mouseDragRightReleased(MousePosition position) |
Called when the mouse right button is released.
|
default void |
MouseDragListener.mouseDragWheel(MousePosition position,
MousePosition delta) |
Called when the mouse is dragged holding the wheel button.
|
default void |
WindowInputListener.mouseDragWheel(MousePosition position,
MousePosition delta) |
Dispatch a drag from the mouse with the middle button to all listeners in the current Widget.
|
default void |
WindowInputListener.mouseLeftClick(MousePosition position) |
Dispatch a left click from the mouse to all listeners in the current Widget.
|
default void |
MouseReleaseListener.mouseLeftReleased(MousePosition position) |
Called when a button of the mouse is released.
|
default void |
WindowInputListener.mouseLeftReleased(MousePosition position) |
Dispatch a left button release from the mouse to all listeners in the current Widget.
|
default void |
WindowInputListener.mouseMove(MousePosition cursorPosition) |
Dispatch a move from the mouse to all listeners in the current Widget.
|
default void |
WindowInputListener.mouseRightClick(MousePosition position) |
Dispatch a right click from the mouse to all listeners in the current Widget.
|
default void |
MouseReleaseListener.mouseRightReleased(MousePosition position) |
Called when a button of the mouse is released.
|
default void |
WindowInputListener.mouseRightReleased(MousePosition position) |
Dispatch a right button release from the mouse to all listeners in the current Widget.
|
default void |
WindowInputListener.mouseWheel(MousePosition cursorPosition,
int count) |
Dispatch a roll from the mouse wheel to all listeners in the current Widget.
|
void |
MouseMoveListener.move(MousePosition position) |
Called when the mouse is moved.
|
void |
MouseWheelListener.scroll(MousePosition mousePosition,
int count) |
Method called when the wheel is scrolled.
|
Copyright © 2014–2018. All rights reserved.