Package com.hp.lft.sdk.web
Class WebDoubleClickArgs
java.lang.Object
com.hp.lft.sdk.web.WebDoubleClickArgs
Arguments that define additional behavior for double click 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 WebDoubleClickArgs class with default arguments (perform double click at the center of the object 0.2 seconds apart). -
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the number of seconds between the clicks.Returns theLocation
to perform the long press.setInterval
(double interval) Sets the number of seconds between the clicks.setLocation
(Location location) Sets the location to perform the long press.
-
Constructor Details
-
WebDoubleClickArgs
public WebDoubleClickArgs()Initializes a new instance of the WebDoubleClickArgs class with default arguments (perform double click at the center of the object 0.2 seconds apart).
-
-
Method Details
-
getLocation
Returns theLocation
to perform the long press.
Default = center of the object- Returns:
- the location to perform the long press.
-
setLocation
Sets the location to perform the long press.- Parameters:
location
- theLocation
to perform the long press on the object.- Returns:
- the WebDoubleClickArgs instance with the updated state (builder pattern).
-
getInterval
public double getInterval()Returns the number of seconds between the clicks.- Returns:
- the number of seconds between the clicks.
-
setInterval
Sets the number of seconds between the clicks.- Parameters:
interval
- the number of seconds between the clicks.- Returns:
- the WebDoubleClickArgs instance with the updated state (builder pattern).
-