aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt')
-rw-r--r--src/newt/classes/com/jogamp/newt/event/MouseListener.java34
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java2
2 files changed, 18 insertions, 18 deletions
diff --git a/src/newt/classes/com/jogamp/newt/event/MouseListener.java b/src/newt/classes/com/jogamp/newt/event/MouseListener.java
index 6e5142044..5e62306f3 100644
--- a/src/newt/classes/com/jogamp/newt/event/MouseListener.java
+++ b/src/newt/classes/com/jogamp/newt/event/MouseListener.java
@@ -43,23 +43,23 @@ import com.jogamp.newt.event.MouseEvent.PointerType;
*/
public interface MouseListener extends NEWTEventListener
{
- public void mouseClicked(MouseEvent e);
- /** Only generated for {@link PointerType#Mouse} */
- public void mouseEntered(MouseEvent e);
- /** Only generated for {@link PointerType#Mouse} */
- public void mouseExited(MouseEvent e);
- public void mousePressed(MouseEvent e);
- public void mouseReleased(MouseEvent e);
- public void mouseMoved(MouseEvent e);
- public void mouseDragged(MouseEvent e);
+ public void mouseClicked(MouseEvent e);
+ /** Only generated for {@link PointerType#Mouse} */
+ public void mouseEntered(MouseEvent e);
+ /** Only generated for {@link PointerType#Mouse} */
+ public void mouseExited(MouseEvent e);
+ public void mousePressed(MouseEvent e);
+ public void mouseReleased(MouseEvent e);
+ public void mouseMoved(MouseEvent e);
+ public void mouseDragged(MouseEvent e);
- /**
- * Traditional event name originally produced by a {@link PointerType#Mouse mouse} pointer type.
- * <p>
- * Triggered for any rotational pointer events, see
- * {@link MouseEvent#getRotation()} and {@link MouseEvent#getRotationScale()}.
- * </p>
- */
- public void mouseWheelMoved(MouseEvent e);
+ /**
+ * Traditional event name originally produced by a {@link PointerType#Mouse mouse} pointer type.
+ * <p>
+ * Triggered for any rotational pointer events, see
+ * {@link MouseEvent#getRotation()} and {@link MouseEvent#getRotationScale()}.
+ * </p>
+ */
+ public void mouseWheelMoved(MouseEvent e);
}
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java
index 9593d4faa..d3f835e58 100644
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -3250,7 +3250,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
private final void dispatchMouseEvent(MouseEvent e) {
for(int i = 0; !e.isConsumed() && i < mouseListeners.size(); i++ ) {
- MouseListener l = mouseListeners.get(i);
+ final MouseListener l = mouseListeners.get(i);
switch(e.getEventType()) {
case MouseEvent.EVENT_MOUSE_CLICKED:
l.mouseClicked(e);