synergynetframework.jme.cursorsystem.fixutils
Class ClickOnCornersGesture

java.lang.Object
  extended by synergynetframework.jme.cursorsystem.fixutils.ClickOnCornersGesture
All Implemented Interfaces:
FixGesture

public class ClickOnCornersGesture
extends java.lang.Object
implements FixGesture

The Class ClickOnCornersGesture.


Field Summary
static int NO_CLICKS_TO_FIX
          The Constant NO_CLICKS_TO_FIX.
 
Constructor Summary
ClickOnCornersGesture()
          Instantiates a new click on corners gesture.
ClickOnCornersGesture(int noClicks)
          Instantiates a new click on corners gesture.
 
Method Summary
 boolean checkForFixGesture(MultiTouchElement element, ScreenCursor c, MultiTouchCursorEvent event)
          Check for fix gesture.
 boolean checkForUnfixGesture(MultiTouchElement element, ScreenCursor c, MultiTouchCursorEvent event)
          Check for unfix gesture.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_CLICKS_TO_FIX

public static final int NO_CLICKS_TO_FIX
The Constant NO_CLICKS_TO_FIX.

See Also:
Constant Field Values
Constructor Detail

ClickOnCornersGesture

public ClickOnCornersGesture()
Instantiates a new click on corners gesture.


ClickOnCornersGesture

public ClickOnCornersGesture(int noClicks)
Instantiates a new click on corners gesture.

Parameters:
noClicks - the no clicks
Method Detail

checkForFixGesture

public boolean checkForFixGesture(MultiTouchElement element,
                                  ScreenCursor c,
                                  MultiTouchCursorEvent event)
Description copied from interface: FixGesture
Check for fix gesture.

Specified by:
checkForFixGesture in interface FixGesture
Parameters:
element - the element
c - the c
event - the event
Returns:
true, if successful

checkForUnfixGesture

public boolean checkForUnfixGesture(MultiTouchElement element,
                                    ScreenCursor c,
                                    MultiTouchCursorEvent event)
Description copied from interface: FixGesture
Check for unfix gesture.

Specified by:
checkForUnfixGesture in interface FixGesture
Parameters:
element - the element
c - the c
event - the event
Returns:
true, if successful