Enum TextGroupElement.Position
- java.lang.Object
-
- java.lang.Enum<TextGroupElement.Position>
-
- org.openscience.cdk.renderer.elements.TextGroupElement.Position
-
- All Implemented Interfaces:
Serializable
,Comparable<TextGroupElement.Position>
- Enclosing class:
- TextGroupElement
public static enum TextGroupElement.Position extends Enum<TextGroupElement.Position>
Compass-point positions for text element annotation children.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextGroupElement.Position
valueOf(String name)
Returns the enum constant of this type with the specified name.static TextGroupElement.Position[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NW
public static final TextGroupElement.Position NW
-
SW
public static final TextGroupElement.Position SW
-
SE
public static final TextGroupElement.Position SE
-
NE
public static final TextGroupElement.Position NE
-
S
public static final TextGroupElement.Position S
-
N
public static final TextGroupElement.Position N
-
W
public static final TextGroupElement.Position W
-
E
public static final TextGroupElement.Position E
-
-
Method Detail
-
values
public static TextGroupElement.Position[] 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 (TextGroupElement.Position c : TextGroupElement.Position.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextGroupElement.Position valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-