public class DragControllerOptions extends Object
| Constructor and Description |
|---|
DragControllerOptions() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxSpeed()
Returns the Upper boundary of the speed of a gesture.
|
int |
getMinSpeed()
Returns the lower boundary of the speed of a gesture.
|
double |
getMinSwipeSpeed()
Returns the minimum speed of a gesture which is interpreted as swiping.
|
int |
getSuppressClickRadius()
REturns the minimum speed of a gesture which is interpreted as swiping.
|
boolean |
isEnableNativeEventPropagation()
Returns the enableNativeEventPropagation.
|
void |
setEnableNativeEventPropagation(boolean enableNativeEventPropagation)
enableNativeEventPropagation the enableNativeEventPropagation to set.
|
void |
setMaxSpeed(int maxSpeed)
Sets the upper boundary of the speed of a gesture.
|
void |
setMinSpeed(int minSpeed)
Sets the lower boundary of the speed of a gesture.
|
void |
setMinSwipeSpeed(double minSwipeSpeed)
Sets the minimum speed of a gesture which is interpreted as swiping.
|
void |
setSuppressClickRadius(int suppressClickRadius)
Sets the minimum speed of a gesture which is interpreted as swiping.
|
public boolean isEnableNativeEventPropagation()
public void setEnableNativeEventPropagation(boolean enableNativeEventPropagation)
enableNativeEventPropagation - the enableNativeEventPropagation to setpublic int getSuppressClickRadius()
public void setSuppressClickRadius(int suppressClickRadius)
suppressClickRadius - the radius.public double getMinSwipeSpeed()
public void setMinSwipeSpeed(double minSwipeSpeed)
minSwipeSpeed - the speed.public int getMinSpeed()
public void setMinSpeed(int minSpeed)
minSpeed - the speed.public int getMaxSpeed()
public void setMaxSpeed(int maxSpeed)
maxSpeed - .Copyright © 2011–2015 SWM. All rights reserved.