Module org.controlsfx.controls
Enum Class CoordinatePosition
- All Implemented Interfaces:
Serializable,Comparable<CoordinatePosition>,Constable
Enumerates all possible positions coordinates can have relative to a rectangle.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe coordinates are close to the eastern edge of the rectangle.The coordinates are inside the rectangle.The coordinates are close to the northern edge of the rectangle.The coordinates are close to the northern and the eastern edge of the rectangle.The coordinates are close to the northern and the western edge of the rectangle.The coordinates are outside of the rectangle.The coordinates are close to the southern edge of the rectangle.The coordinates are close to the southern and eastern edge of the rectangle.The coordinates are close to the southern and western edge of the rectangle.The coordinates are close to the western edge of the rectangle. -
Method Summary
Modifier and TypeMethodDescriptionstatic CoordinatePositionReturns the enum constant of this class with the specified name.static CoordinatePosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN_RECTANGLE
The coordinates are inside the rectangle. -
OUT_OF_RECTANGLE
The coordinates are outside of the rectangle. -
NORTH_EDGE
The coordinates are close to the northern edge of the rectangle. -
NORTHEAST_EDGE
The coordinates are close to the northern and the eastern edge of the rectangle. -
EAST_EDGE
The coordinates are close to the eastern edge of the rectangle. -
SOUTHEAST_EDGE
The coordinates are close to the southern and eastern edge of the rectangle. -
SOUTH_EDGE
The coordinates are close to the southern edge of the rectangle. -
SOUTHWEST_EDGE
The coordinates are close to the southern and western edge of the rectangle. -
WEST_EDGE
The coordinates are close to the western edge of the rectangle. -
NORTHWEST_EDGE
The coordinates are close to the northern and the western edge of the rectangle.
-
-
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
-