Enum Class DefaultDirectedEdgeRenderer.EdgeRouting
java.lang.Object
java.lang.Enum<DefaultDirectedEdgeRenderer.EdgeRouting>
org.cristalise.kernel.graph.renderer.DefaultDirectedEdgeRenderer.EdgeRouting
- All Implemented Interfaces:
Serializable,Comparable<DefaultDirectedEdgeRenderer.EdgeRouting>,Constable
- Enclosing class:
DefaultDirectedEdgeRenderer
public static enum DefaultDirectedEdgeRenderer.EdgeRouting
extends Enum<DefaultDirectedEdgeRenderer.EdgeRouting>
The different routing calculations to draw the edge
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDraw a line of 2 segments (horizontal, vertical) between origin and terminus pointDraw a line of 2 segments (vertical, horizontal) between origin and terminus pointDraw a line of 3 segments (vertical, horizontal, vertical) between origin and terminus pointDraw a straight line between origin and terminus point -
Method Summary
-
Enum Constant Details
-
STRAIGHT
Draw a straight line between origin and terminus point -
BROKEN_PLUS
Draw a line of 3 segments (vertical, horizontal, vertical) between origin and terminus point -
BROKEN_MINUS
Draw a line of 2 segments (horizontal, vertical) between origin and terminus point -
BROKEN_PIPE
Draw a line of 2 segments (vertical, horizontal) between origin and terminus point
-
-
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
-
getName
-
toString
- Overrides:
toStringin classEnum<DefaultDirectedEdgeRenderer.EdgeRouting>
-
getValue
Create EdgeRouting value from the given string matching it with the names- Parameters:
name- the name to be converted- Returns:
- the value or null of there was no match
-