Class GestureWrapper<I>
- java.lang.Object
-
- com.metsci.glimpse.core.event.touch.GestureWrapper<I>
-
- Type Parameters:
I- The input event
public abstract class GestureWrapper<I> extends Object
Dispatches touch events and converts them into GlimpseGestureEvents. This class closely mirrors the mouse equivalent.
-
-
Constructor Summary
Constructors Constructor Description GestureWrapper(GlimpseCanvas canvas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GlimpseTargetStack>getContainingTargets(I e)booleanlongPressDetected0(I event)booleanpanDetected0(I event)booleanpinchDetected0(I event)booleanswipeDetected0(I event)booleantapDetected0(I event)
-
-
-
Constructor Detail
-
GestureWrapper
public GestureWrapper(GlimpseCanvas canvas)
-
-
Method Detail
-
getContainingTargets
public List<GlimpseTargetStack> getContainingTargets(I e)
-
panDetected0
public boolean panDetected0(I event)
-
pinchDetected0
public boolean pinchDetected0(I event)
-
swipeDetected0
public boolean swipeDetected0(I event)
-
tapDetected0
public boolean tapDetected0(I event)
-
longPressDetected0
public boolean longPressDetected0(I event)
-
-