X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2Fhumaninput%2FMouseInteractionController.java;h=dc86b525b5f5fa7b42a672b892d43f3b0dda1471;hb=4aed7dc533afbe984df90d25d9055a5c75d62dc5;hp=f2c84b26928851c897a6017be3a8e3ca74c1644c;hpb=dcdff57f0bab42387b2e4e215778d9e8efc60221;p=sixth-3d.git
diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/MouseInteractionController.java b/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/MouseInteractionController.java
index f2c84b2..dc86b52 100644
--- a/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/MouseInteractionController.java
+++ b/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/MouseInteractionController.java
@@ -1,5 +1,5 @@
/*
- * Sixth 3D engine. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Sixth 3D engine. Copyright ©2012-2020, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 3 of the GNU Lesser General Public License
@@ -12,18 +12,21 @@ package eu.svjatoslav.sixth.e3d.gui.humaninput;
public interface MouseInteractionController {
/**
- * Called when mouse is clicked on component
+ * Called when mouse is clicked on component.
+ * @return true
if view update is needed as a consequence of this mouse click.
*/
- void mouseClicked();
+ boolean mouseClicked();
/**
* Called when mouse gets over given component.
+ * @return true
if view update is needed as a consequence of this mouse enter.
*/
- void mouseEntered();
+ boolean mouseEntered();
/**
* Called when mouse leaves screen area occupied by component.
+ * @return true
if view update is needed as a consequence of this mouse exit.
*/
- void mouseExited();
+ boolean mouseExited();
}