Module com.flexganttfx.view
Enum LinkRenderer.TargetLocation
java.lang.Object
java.lang.Enum<LinkRenderer.TargetLocation>
com.flexganttfx.view.graphics.renderer.LinkRenderer.TargetLocation
- All Implemented Interfaces:
Serializable
,Comparable<LinkRenderer.TargetLocation>
- Enclosing class:
- LinkRenderer<T extends ActivityLink<?>>
public static enum LinkRenderer.TargetLocation extends Enum<LinkRenderer.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. -
Method Summary
Modifier and Type Method Description static LinkRenderer.TargetLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static LinkRenderer.TargetLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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
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
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
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
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 Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-