Package com.hp.lft.sdk.mobile
Class TapArgs
java.lang.Object
com.hp.lft.sdk.mobile.TapArgs
Arguments that define additional behavior for Tap operations.
This class can be initialized using the builder pattern.
This class can be initialized using the builder pattern.
- 
Constructor SummaryConstructorsConstructorDescriptionTapArgs()Initializes a new instance of the TapArgs class with default arguments (tap the center of the object once at one touch point).
- 
Method SummaryModifier and TypeMethodDescriptionReturns the gesture class designed by the mobile application developer to handle this gesture on this object.Returns the location to tap.intReturns the number of times to tap the object.intThe number of points to tap, similar to the number of fingers you would use for the gesture on a real device.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 tap.setNumberOfTaps(int numberOfTaps) Sets the number of times to tap the object.setNumberOfTouchPoints(int numberOfTouchPoints) Sets the number of points to tap, similar to the number of fingers you would use for the gesture on a real device.
- 
Constructor Details- 
TapArgspublic TapArgs()Initializes a new instance of the TapArgs class with default arguments (tap the center of the object once at one touch point).
 
- 
- 
Method Details- 
getGestureReturns 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.
 
- 
setGestureSets 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 TapArgs instance with the updated state (builder pattern).
 
- 
getLocationReturns the location to tap.
 Default = center of the object- Returns:
- the location to tap.
 
- 
setLocationSets the location to tap.- Parameters:
- location- the location to tap.
- Returns:
- the TapArgs instance with the updated state (builder pattern).
 
- 
getNumberOfTouchPointspublic int getNumberOfTouchPoints()The number of points to tap, similar to the number of fingers you would use for the gesture on a real device. (iOS Only)
 Default = 1- Returns:
- the number of points to tap.
 
- 
setNumberOfTouchPointsSets the number of points to tap, similar to the number of fingers you would use for the gesture on a real device. (iOS Only)- Parameters:
- numberOfTouchPoints- the number of points to tap.
- Returns:
- the TapArgs instance with the updated state (builder pattern).
 
- 
getNumberOfTapspublic int getNumberOfTaps()Returns the number of times to tap the object. (iOS Only)- Returns:
- the number of times to tap the object.
 
- 
setNumberOfTapsSets the number of times to tap the object. (iOS Only)- Parameters:
- numberOfTaps- the number of times to tap the object.
- Returns:
- the TapArgs instance with the updated state (builder pattern).
 
 
-