com.supermap.mapping
Enum CalloutAlignment
- java.lang.Object
-
- java.lang.Enum<CalloutAlignment>
-
- com.supermap.mapping.CalloutAlignment
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<CalloutAlignment>
public enum CalloutAlignment extends java.lang.Enum<CalloutAlignment>
Defines the callout alignment constant.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BOTTOM
Bottom.CENTER
Center.LEFT
Left.LEFT_BOTTOM
Bottom left.LEFT_TOP
Top left.RIGHT
Right.RIGHT_BOTTOM
Bottom right.RIGHT_TOP
Top right.TOP
Top.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static CalloutAlignment
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CalloutAlignment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT_TOP
public static final CalloutAlignment LEFT_TOP
Top left.
-
TOP
public static final CalloutAlignment TOP
Top.
-
RIGHT_TOP
public static final CalloutAlignment RIGHT_TOP
Top right.
-
LEFT
public static final CalloutAlignment LEFT
Left.
-
RIGHT
public static final CalloutAlignment RIGHT
Right.
-
LEFT_BOTTOM
public static final CalloutAlignment LEFT_BOTTOM
Bottom left.
-
BOTTOM
public static final CalloutAlignment BOTTOM
Bottom.
-
RIGHT_BOTTOM
public static final CalloutAlignment RIGHT_BOTTOM
Bottom right.
-
CENTER
public static final CalloutAlignment CENTER
Center.
-
-
Method Detail
-
values
public static CalloutAlignment[] 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 (CalloutAlignment c : CalloutAlignment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalloutAlignment valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-