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;
7 public interface MouseInteractionController {
10 * Called when mouse is clicked on component.
11 * @return <code>true</code> if view update is needed as a consequence of this mouse click.
13 boolean mouseClicked(int button);
16 * Called when mouse gets over given component.
17 * @return <code>true</code> if view update is needed as a consequence of this mouse enter.
19 boolean mouseEntered();
22 * Called when mouse leaves screen area occupied by component.
23 * @return <code>true</code> if view update is needed as a consequence of this mouse exit.
25 boolean mouseExited();