Package gov.nasa.worldwind.gesture
Class PanRecognizer
- java.lang.Object
-
- gov.nasa.worldwind.gesture.GestureRecognizer
-
- gov.nasa.worldwind.gesture.PanRecognizer
-
- Direct Known Subclasses:
MousePanRecognizer
public class PanRecognizer extends GestureRecognizer
Gesture recognizer implementation that detects touch panning gestures.
-
-
Constructor Summary
Constructors Constructor Description PanRecognizer()
PanRecognizer(GestureListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getInterpretDistance()
int
getMaxNumberOfPointers()
int
getMinNumberOfPointers()
void
setInterpretDistance(float distance)
void
setMaxNumberOfPointers(int count)
void
setMinNumberOfPointers(int count)
-
Methods inherited from class gov.nasa.worldwind.gesture.GestureRecognizer
addListener, getListeners, getState, getTranslationX, getTranslationY, getX, getY, isEnabled, onTouchEvent, removeListener, setEnabled, setTranslationX, setTranslationY
-
-
-
-
Constructor Detail
-
PanRecognizer
public PanRecognizer()
-
PanRecognizer
public PanRecognizer(GestureListener listener)
-
-
Method Detail
-
getMinNumberOfPointers
public int getMinNumberOfPointers()
-
setMinNumberOfPointers
public void setMinNumberOfPointers(int count)
-
getMaxNumberOfPointers
public int getMaxNumberOfPointers()
-
setMaxNumberOfPointers
public void setMaxNumberOfPointers(int count)
-
getInterpretDistance
public float getInterpretDistance()
-
setInterpretDistance
public void setInterpretDistance(float distance)
-
-