Enum Class PathfinderType
- All Implemented Interfaces:
ChartEnum,Serializable,Comparable<PathfinderType>,Constable
Pathfinder algorithm to use for chart that can connect two points (e.g.
series items).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFinds a path between the points using right angles only.Finds a path between the points using right angles only.Draws a straight line between the connecting points. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static PathfinderTypeReturns the enum constant of this class with the specified name.static PathfinderType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRAIGHT
Draws a straight line between the connecting points. Does not avoid other points when drawing. -
SIMPLE_CONNECT
Finds a path between the points using right angles only. Takes only starting/ending points into account, and will not avoid other points. -
FAST_AVOID
Finds a path between the points using right angles only. Will attempt to avoid other points, but its focus is performance over accuracy. Works well with less dense datasets.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<PathfinderType>
-