projects
/
sixth-3d.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated copyright info
[sixth-3d.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
sixth
/
e3d
/
gui
/
humaninput
/
MouseInteractionController.java
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
36913ec
..
dc86b52
100644
(file)
--- 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,10
+1,10
@@
/*
/*
- * Sixth - System for data storage, computation, exploration and interaction.
- * Copyright ©2012-2016, 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
* or later as published by the Free Software Foundation.
* 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
* or later as published by the Free Software Foundation.
+ *
*/
package eu.svjatoslav.sixth.e3d.gui.humaninput;
*/
package eu.svjatoslav.sixth.e3d.gui.humaninput;
@@
-12,18
+12,21
@@
package eu.svjatoslav.sixth.e3d.gui.humaninput;
public interface MouseInteractionController {
/**
public interface MouseInteractionController {
/**
- * Called when mouse is clicked on component
+ * Called when mouse is clicked on component.
+ * @return <code>true</code> if view update is needed as a consequence of this mouse click.
*/
*/
-
void
mouseClicked();
+
boolean
mouseClicked();
/**
* Called when mouse gets over given component.
/**
* Called when mouse gets over given component.
+ * @return <code>true</code> 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.
/**
* Called when mouse leaves screen area occupied by component.
+ * @return <code>true</code> if view update is needed as a consequence of this mouse exit.
*/
*/
-
void
mouseExited();
+
boolean
mouseExited();
}
}