Enum Class ProximityVisualRelation

java.lang.Object
java.lang.Enum<ProximityVisualRelation>
com.hp.lft.sdk.ProximityVisualRelation
All Implemented Interfaces:
com.hp.lft.sdk.internal.EnumValueProvider<Integer>, Serializable, Comparable<ProximityVisualRelation>, java.lang.constant.Constable

public enum ProximityVisualRelation extends Enum<ProximityVisualRelation> implements com.hp.lft.sdk.internal.EnumValueProvider<Integer>
The distance or hierarchical location of the related test object relative to the object to identify. See the Help Center for more details on VRI.
  • Enum Constant Details

    • CLOSEST_ON_X_AXIS

      public static final ProximityVisualRelation CLOSEST_ON_X_AXIS
      The related test object is the closest object on the x-axis to the test object to identify.
    • CLOSEST_ON_Y_AXIS

      public static final ProximityVisualRelation CLOSEST_ON_Y_AXIS
      The related test object is the closest object on the y-axis to the test object to identify.
    • CLOSEST_ON_BOTH_AXES

      public static final ProximityVisualRelation CLOSEST_ON_BOTH_AXES
      The related test object is the closest object on both the x- and y- axes to the test object to identify.
    • CONTAINS

      public static final ProximityVisualRelation CONTAINS
      The related test object contains the test object to identify.
  • Method Details

    • values

      public static ProximityVisualRelation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProximityVisualRelation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public Integer getValue()
      Specified by:
      getValue in interface com.hp.lft.sdk.internal.EnumValueProvider<Integer>