- All Implemented Interfaces:
Serializable
,Comparable<DockingPosition>
,Constable
public enum DockingPosition extends Enum<DockingPosition>
This enum represents all available docking positions at a node in the diagram area.
- Since:
- Omix 1.3
- Author:
- peter Droste
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM
bottom centerBOTTOM_LEFT
bottom leftBOTTOM_RIGHT
bottom rightCENTER
center of the nodeCENTER_LEFT
center leftCENTER_RIGHT
center rightTOP
top centerTOP_LEFT
top leftTOP_RIGHT
top right -
Method Summary
Modifier and Type Method Description static DockingPosition
valueOf(String name)
Returns the enum constant of this type with the specified name.static DockingPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TOP_RIGHT
top right -
TOP
top center -
TOP_LEFT
top left -
CENTER_RIGHT
center right -
CENTER
center of the node -
CENTER_LEFT
center left -
BOTTOM_LEFT
bottom left -
BOTTOM
bottom center -
BOTTOM_RIGHT
bottom right
-
-
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
-