Enum Class EscapeDirection
- All Implemented Interfaces:
Serializable,Comparable<EscapeDirection>,Constable
Represents the direction in which a connection line escapes from a drawing object if a connector connects to a glue point.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe connection line may escape in all four directions from a drawing object.The connection line escapes down from a drawing object.The connection line may escape to the left or to the right of a drawing object.The connection line escapes to the left of a drawing object.None.The connection line escapes to the right of a drawing object.The connection line escapes up from a drawing object.The connection line may escape up or down from a drawing object. -
Method Summary
Modifier and TypeMethodDescriptionstatic EscapeDirectionReturns the enum constant of this class with the specified name.static EscapeDirection[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
The connection line may escape in all four directions from a drawing object. -
LEFT
The connection line escapes to the left of a drawing object. -
RIGHT
The connection line escapes to the right of a drawing object. -
UP
The connection line escapes up from a drawing object. -
DOWN
The connection line escapes down from a drawing object. -
HORIZONTAL
The connection line may escape to the left or to the right of a drawing object. -
VERTICAL
The connection line may escape up or down from a drawing object. -
NONE
None.
-
-
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
-