public enum GestureOptions extends Enum<GestureOptions>
GestureOptions
enum houses the gesture specifications for mobile web drivers. Contains most of the
gestures as stated in
https://developer.apple.com/library/prerelease/ios/documentation/DeveloperTools/Reference/UIAutomationRef/index.htmlModifier and Type | Class and Description |
---|---|
static class |
GestureOptions.TapOffset
The
TapOffset acts as a utility class for converting cartesion coordinates (x, y) to JSON
representation. |
static class |
GestureOptions.TapOptions
The
TapOption class serves as a utility class to convert value based GestureOptions to JSON
objects. |
Enum Constant and Description |
---|
CENTER_OFFSET
Center offset.
|
DURATION
Duration.
|
END_OFFSET
End offset.
|
RADIUS
Radius.
|
ROTATION
Rotation.
|
START_OFFSET
Start offset.
|
TAP_COUNT
Tap count.
|
TAP_OFFSET
Tap offset.
|
TOUCH_COUNT
Touch count.
|
X
X coordinate, or offset in the range 0 to 1 inclusive
|
Y
Y coordinate, or offset in the range 0 to 1 inclusive
|
Modifier and Type | Method and Description |
---|---|
String |
getOptionName() |
static GestureOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GestureOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GestureOptions TAP_COUNT
public static final GestureOptions TOUCH_COUNT
public static final GestureOptions START_OFFSET
public static final GestureOptions END_OFFSET
public static final GestureOptions CENTER_OFFSET
public static final GestureOptions TAP_OFFSET
public static final GestureOptions RADIUS
public static final GestureOptions ROTATION
public static final GestureOptions DURATION
public static final GestureOptions X
public static final GestureOptions Y
public static GestureOptions[] values()
for (GestureOptions c : GestureOptions.values()) System.out.println(c);
public static GestureOptions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getOptionName()
Copyright © 2016 PayPal Open Source. All rights reserved.