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 TypeMethod and Description
      java.lang.StringgetGesture()
      Returns the gesture class designed by the mobile application developer to handle this gesture on this object.
      java.lang.DoublegetVelocity()
      Returns the velocity of the pan operation.
      PanArgssetGesture(java.lang.String gesture)
      Sets the gesture class designed by the mobile application developer to handle this gesture on this object.
      PanArgssetVelocity(java.lang.Double velocity)
      Sets the velocity of the pan operation.
      • 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.
        Returns:
        the velocity of the pan operation.
      • setVelocity

        public PanArgs setVelocity(java.lang.Double velocity)
        Sets the velocity of the pan operation.
        The velocity must be positive.
        Parameters:
        velocity - the velocity of the pan operation.
        Returns:
        the PanArgs instance with the updated state (builder pattern).