X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2Fhumaninput%2FMouseInteractionController.java;h=75abbafdac900adc05929e602a32debca5ecdcee;hb=9dcd9d8a7d3bc16eb6fde3681cd32e02dc0707e9;hp=e0b84787c9aa37cfd82fefd8d3d5bad5fdbdefd4;hpb=03447008b8ee26a6463d2cd03005dc26464863db;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 e0b8478..75abbaf 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-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Sixth 3D engine. Copyright ©2012-2018, 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 @@ -13,17 +13,20 @@ public interface MouseInteractionController { /** * Called when mouse is clicked on component + * @return true if view update is needed. */ - void mouseClicked(); + boolean mouseClicked(); /** * Called when mouse gets over given component. + * @return true if view update is needed. */ - void mouseEntered(); + boolean mouseEntered(); /** * Called when mouse leaves screen area occupied by component. + * @return true if view update is needed. */ - void mouseExited(); + boolean mouseExited(); }