- All Implemented Interfaces:
Serializable
,Comparable<SteppedGrid.Builder.Corner>
- Enclosing class:
- SteppedGrid.Builder
Enumeration naming the corner of a half rectangle.
This enumeration is used to indicate which corner of a half rectangle is the vertex to which filled rectangles, that are not placeholders, are attached.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe lower-left corner of a half rectangleThe lower-right corner of a half rectangleThe upper-left corner of a half rectangleThe upper-right corner of a half rectangle -
Method Summary
Modifier and TypeMethodDescriptionstatic SteppedGrid.Builder.Corner
Returns the enum constant of this type with the specified name.static SteppedGrid.Builder.Corner[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOWER_LEFT
The lower-left corner of a half rectangle -
LOWER_RIGHT
The lower-right corner of a half rectangle -
UPPER_LEFT
The upper-left corner of a half rectangle -
UPPER_RIGHT
The upper-right corner of a half rectangle
-
-
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
-