Open topic with navigation

com.hp.lft.sdk.mobile

## Class PanArgs

- java.lang.Object
- - com.hp.lft.sdk.mobile.PanArgs

-     public class PanArgs
      extends java.lang.Object

  Arguments that define additional behavior for Pan operations.
  This class can be initialized using the builder pattern.

- - ### Constructor Summary

    Constructor and Description
    `PanArgs()` Initializes a new instance of the PanArgs class with default arguments.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getGesture()` Returns the gesture class designed by the mobile application developer to handle this gesture on this object.
    `java.lang.Double` | `getVelocity()` Returns the velocity of the pan operation. (iOS only)
    `PanArgs` | `setGesture(java.lang.String gesture)` Sets the gesture class designed by the mobile application developer to handle this gesture on this object.
    `PanArgs` | `setVelocity(java.lang.Double velocity)` Sets the velocity of the pan operation. (iOS only)

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PanArgs

          public PanArgs()

      Initializes a new instance of the PanArgs class with default arguments.

  - ### Method Detail

    - #### getGesture

          public java.lang.String getGesture()

      Returns the gesture class designed by the mobile application developer to handle this gesture on this object.
      Needed only if the application developer overrode the default gesture class.
      Returns:
        the gesture class designed by the mobile application developer.

    - #### setGesture

          public PanArgs setGesture(java.lang.String gesture)

      Sets the gesture class designed by the mobile application developer to handle this gesture on this object.
      Needed only if the application developer overrode the default gesture class.
      Parameters:
        `gesture` - the gesture class designed by the mobile application developer.
      Returns:
        the PanArgs instance with the updated state (builder pattern).

    - #### getVelocity

          public java.lang.Double getVelocity()

      Returns the velocity of the pan operation. (iOS only)
      Returns:
        the velocity of the pan operation.

    - #### setVelocity

          public PanArgs setVelocity(java.lang.Double velocity)

      Sets the velocity of the pan operation. (iOS only)
      The velocity must be positive.
      Parameters:
        `velocity` - the velocity of the pan operation.
      Returns:
        the PanArgs instance with the updated state (builder pattern).