X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2Fhumaninput%2FMouseInteractionController.java;h=5b6d4707dc17e5222cf24b59961e6d894928dfcd;hp=d5f1f0868885d6a0b364f71feed1385de566b6a7;hb=a3ff3683bd0a025061667b26b6fcf56fe20f0afc;hpb=3f589bbc56ebfb1bd35b538b8a77d4019396b5aa 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 d5f1f08..5b6d470 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. Author: Svjatoslav Agejenko. + * Sixth 3D engine. Author: Svjatoslav Agejenko. * This project is released under Creative Commons Zero (CC0) license. */ package eu.svjatoslav.sixth.e3d.gui.humaninput; @@ -11,18 +11,21 @@ public interface MouseInteractionController { /** * Called when mouse is clicked on component. + * * @return true if view update is needed as a consequence of this mouse click. */ boolean mouseClicked(int button); /** * Called when mouse gets over given component. + * * @return true if view update is needed as a consequence of this mouse enter. */ 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. */ boolean mouseExited();