com.hp.lft.sdk.web

Class WebDoubleClickArgs



  • public class WebDoubleClickArgs
    extends java.lang.Object
    Arguments that define additional behavior for double click operations.
    This class can be initialized using the builder pattern.
    • Constructor Summary

      Constructor and Description
      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 Summary

      Modifier and Type Method and Description
      double getInterval()
      Returns the number of seconds between the clicks.
      Location getLocation()
      Returns the Location to perform the long press.
      WebDoubleClickArgs setInterval(double interval)
      Sets the number of seconds between the clicks.
      WebDoubleClickArgs setLocation(Location location)
      Sets the location to perform the long press.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • getLocation

        public Location getLocation()
        Returns the Location to perform the long press.
        Default = center of the object
        Returns:
        the location to perform the long press.
      • setLocation

        public WebDoubleClickArgs setLocation(Location location)
        Sets the location to perform the long press.
        Parameters:
        location - the Location 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

        public WebDoubleClickArgs setInterval(double interval)
        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).