synergynetframework.mtinput
Class RightClickDetector

java.lang.Object
  extended by synergynetframework.mtinput.RightClickDetector

public class RightClickDetector
extends java.lang.Object

The Class RightClickDetector.


Constructor Summary
RightClickDetector()
           
 
Method Summary
static boolean isDoubleClick(java.util.Vector<ScreenCursor> screenCursors, ScreenCursor rightCursor, float distance)
          Checks if is double click.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RightClickDetector

public RightClickDetector()
Method Detail

isDoubleClick

public static boolean isDoubleClick(java.util.Vector<ScreenCursor> screenCursors,
                                    ScreenCursor rightCursor,
                                    float distance)
Checks if is double click.

Parameters:
screenCursors - the screen cursors
rightCursor - the right cursor
distance - the distance
Returns:
true, if is double click