Enum PathBuilder.TargetLocation

  • All Implemented Interfaces:
    Serializable, Comparable<PathBuilder.TargetLocation>
    Enclosing class:
    PathBuilder

    public static enum PathBuilder.TargetLocation
    extends Enum<PathBuilder.TargetLocation>
    An enumerator of possible locations that the target object can have relative to the source object. If the target object is for example in a row above the source object and the x-coordinate of its start time is before the x-coordinate of the end time of the source object then it is located ABOVE_LEFT.
    Since:
    1.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ABOVE
      A enumerator value indicating that the target object is located in a row above the source object and that the x-coordinate of its start time is equal to the x-coordinate of the end time of the source object.
      ABOVE_LEFT
      A enumerator value indicating that the target object is located in a row above the source object and that the x-coordinate of its start time is smaller than the x-coordinate of the end time of the source object.
      ABOVE_RIGHT
      A enumerator value indicating that the target object is located in a row above the source object and that the x-coordinate of its start time is larger than the x-coordinate of the end time of the source object.
      BELOW
      A enumerator value indicating that the target object is located in a row below the source object and that the x-coordinate of its start time is equal to the x-coordinate of the end time of the source object.
      BELOW_LEFT
      A enumerator value indicating that the target object is located in a row below the source object and that the x-coordinate of its start time is smaller than the x-coordinate of the end time of the source object.
      BELOW_RIGHT
      A enumerator value indicating that the target object is located in a row below the source object and that the x-coordinate of its start time is larger than the x-coordinate of the end time of the source object.
      LEFT
      A enumerator value indicating that the target object is located in the same row as the source object and that the x-coordinate of its start time is smaller than the x-coordinate of the end time of the source object.
      RIGHT
      A enumerator value indicating that the target object is located in the same row as the source object and that the x-coordinate of its start time is larger than the x-coordinate of the end time of the source object.
      SAME_LOCATION
      A enumerator value indicating that the target object is located in the same row as the source object and that the x-coordinate of its start time is equal to the x-coordinate of the end time of the source object.
    • Enum Constant Detail

      • BELOW_RIGHT

        public static final PathBuilder.TargetLocation BELOW_RIGHT
        A enumerator value indicating that the target object is located in a row below the source object and that the x-coordinate of its start time is larger than the x-coordinate of the end time of the source object.
        Since:
        1.0
      • BELOW

        public static final PathBuilder.TargetLocation BELOW
        A enumerator value indicating that the target object is located in a row below the source object and that the x-coordinate of its start time is equal to the x-coordinate of the end time of the source object.
        Since:
        1.0
      • BELOW_LEFT

        public static final PathBuilder.TargetLocation BELOW_LEFT
        A enumerator value indicating that the target object is located in a row below the source object and that the x-coordinate of its start time is smaller than the x-coordinate of the end time of the source object.
        Since:
        1.0
      • ABOVE_RIGHT

        public static final PathBuilder.TargetLocation ABOVE_RIGHT
        A enumerator value indicating that the target object is located in a row above the source object and that the x-coordinate of its start time is larger than the x-coordinate of the end time of the source object.
        Since:
        1.0
      • ABOVE

        public static final PathBuilder.TargetLocation ABOVE
        A enumerator value indicating that the target object is located in a row above the source object and that the x-coordinate of its start time is equal to the x-coordinate of the end time of the source object.
        Since:
        1.0
      • ABOVE_LEFT

        public static final PathBuilder.TargetLocation ABOVE_LEFT
        A enumerator value indicating that the target object is located in a row above the source object and that the x-coordinate of its start time is smaller than the x-coordinate of the end time of the source object.
        Since:
        1.0
      • LEFT

        public static final PathBuilder.TargetLocation LEFT
        A enumerator value indicating that the target object is located in the same row as the source object and that the x-coordinate of its start time is smaller than the x-coordinate of the end time of the source object.
        Since:
        1.0
      • RIGHT

        public static final PathBuilder.TargetLocation RIGHT
        A enumerator value indicating that the target object is located in the same row as the source object and that the x-coordinate of its start time is larger than the x-coordinate of the end time of the source object.
        Since:
        1.0
      • SAME_LOCATION

        public static final PathBuilder.TargetLocation SAME_LOCATION
        A enumerator value indicating that the target object is located in the same row as the source object and that the x-coordinate of its start time is equal to the x-coordinate of the end time of the source object.
        Since:
        1.0
    • Method Detail

      • values

        public static PathBuilder.TargetLocation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PathBuilder.TargetLocation c : PathBuilder.TargetLocation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PathBuilder.TargetLocation valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null