2 * Sixth 3D engine. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
5 package eu.svjatoslav.sixth.e3d.gui.humaninput;
8 * Interface that allows to handle mouse events.
10 public interface MouseInteractionController {
13 * Called when mouse is clicked on component.
14 * @return <code>true</code> if view update is needed as a consequence of this mouse click.
16 boolean mouseClicked(int button);
19 * Called when mouse gets over given component.
20 * @return <code>true</code> if view update is needed as a consequence of this mouse enter.
22 boolean mouseEntered();
25 * Called when mouse leaves screen area occupied by component.
26 * @return <code>true</code> if view update is needed as a consequence of this mouse exit.
28 boolean mouseExited();