com.supermap.mapping.imChart
Enum ChartsView.LegendViewPosition
- java.lang.Object
-
- java.lang.Enum<ChartsView.LegendViewPosition>
-
- com.supermap.mapping.imChart.ChartsView.LegendViewPosition
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ChartsView.LegendViewPosition>
- Enclosing class:
- ChartsView
public static enum ChartsView.LegendViewPosition extends java.lang.Enum<ChartsView.LegendViewPosition>
legend position enumeration value
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BOTTOM
bottom.LEFT_BOTTOM
bottom left.LEFT_TOP
top left.RIGHT_BOTTOM
top right.RIGHT_TOP
bottom right.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static ChartsView.LegendViewPosition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChartsView.LegendViewPosition[]
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 ChartsView.LegendViewPosition LEFT_TOP
top left.
-
LEFT_BOTTOM
public static final ChartsView.LegendViewPosition LEFT_BOTTOM
bottom left.
-
RIGHT_BOTTOM
public static final ChartsView.LegendViewPosition RIGHT_BOTTOM
top right.
-
RIGHT_TOP
public static final ChartsView.LegendViewPosition RIGHT_TOP
bottom right.
-
BOTTOM
public static final ChartsView.LegendViewPosition BOTTOM
bottom.
-
-
Method Detail
-
values
public static ChartsView.LegendViewPosition[] 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 (ChartsView.LegendViewPosition c : ChartsView.LegendViewPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChartsView.LegendViewPosition 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
-
-