Package com.hp.lft.sdk.mobile
Class SwipeArgs
java.lang.Object
com.hp.lft.sdk.mobile.SwipeArgs
Arguments that define additional behavior for Swipe operations.
This class can be initialized using the builder pattern.
This class can be initialized using the builder pattern.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the SwipeArgs class with default arguments (from the leading edge of the element or device). -
Method Summary
Modifier and TypeMethodDescriptionReturns the gesture class designed by the mobile application developer to handle this gesture on this object.Returns the location to perform the swipe.setGesture
(String gesture) Sets the gesture class designed by the mobile application developer to handle this gesture on this object.setLocation
(Location location) Sets the location to perform the swipe.
-
Constructor Details
-
SwipeArgs
public SwipeArgs()Initializes a new instance of the SwipeArgs class with default arguments (from the leading edge of the element or device).
-
-
Method Details
-
getGesture
Returns the gesture class designed by the mobile application developer to handle this gesture on this object. (iOS Only)
Needed only if the application developer overrode the default iOS gesture class.- Returns:
- the gesture class designed by the mobile application developer.
-
setGesture
Sets the gesture class designed by the mobile application developer to handle this gesture on this object. (iOS Only)
Needed only if the application developer overrode the default iOS gesture class.- Parameters:
gesture
- the gesture class designed by the mobile application developer.- Returns:
- the SwipeArgs instance with the updated state (builder pattern).
-
getLocation
Returns the location to perform the swipe.
Default = center of the object- Returns:
- the location to perform the swipe.
-
setLocation
Sets the location to perform the swipe.- Parameters:
location
- the location to perform the swipe.- Returns:
- the SwipeArgs instance with the updated state (builder pattern).
-