Package net.sourceforge.plantuml.skin
Enum ArrowDirection
- java.lang.Object
-
- java.lang.Enum<ArrowDirection>
-
- net.sourceforge.plantuml.skin.ArrowDirection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ArrowDirection>
public enum ArrowDirection extends java.lang.Enum<ArrowDirection>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTH_DIRECTION
LEFT_TO_RIGHT_NORMAL
RIGHT_TO_LEFT_REVERSE
SELF
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrowDirection
reverse()
static ArrowDirection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ArrowDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT_TO_RIGHT_NORMAL
public static final ArrowDirection LEFT_TO_RIGHT_NORMAL
-
RIGHT_TO_LEFT_REVERSE
public static final ArrowDirection RIGHT_TO_LEFT_REVERSE
-
SELF
public static final ArrowDirection SELF
-
BOTH_DIRECTION
public static final ArrowDirection BOTH_DIRECTION
-
-
Method Detail
-
values
public static ArrowDirection[] 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 (ArrowDirection c : ArrowDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArrowDirection valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
reverse
public ArrowDirection reverse()
-
-