Package moa.tasks
Enum Plot.LegendLocation
- java.lang.Object
-
- java.lang.Enum<Plot.LegendLocation>
-
- moa.tasks.Plot.LegendLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<Plot.LegendLocation>
- Enclosing class:
- Plot
public static enum Plot.LegendLocation extends Enum<Plot.LegendLocation>
Location of the legend on the plot.- Author:
- Dariusz Brzeziļæ½ski
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String[]
getDescriptions()
Gets an array of string descriptions - one for each enum value.static String[]
getStringValues()
Get string values for the enum values.static Plot.LegendLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static Plot.LegendLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_LEFT_INSIDE
public static final Plot.LegendLocation TOP_LEFT_INSIDE
-
TOP_CENTER_INSIDE
public static final Plot.LegendLocation TOP_CENTER_INSIDE
-
TOP_RIGHT_INSIDE
public static final Plot.LegendLocation TOP_RIGHT_INSIDE
-
LEFT_INSIDE
public static final Plot.LegendLocation LEFT_INSIDE
-
CENTER_INSIDE
public static final Plot.LegendLocation CENTER_INSIDE
-
RIGHT_INSIDE
public static final Plot.LegendLocation RIGHT_INSIDE
-
BOTTOM_LEFT_INSIDE
public static final Plot.LegendLocation BOTTOM_LEFT_INSIDE
-
BOTTOM_CENTER_INSIDE
public static final Plot.LegendLocation BOTTOM_CENTER_INSIDE
-
BOTTOM_RIGHT_INSIDE
public static final Plot.LegendLocation BOTTOM_RIGHT_INSIDE
-
TOP_LEFT_OUTSIDE
public static final Plot.LegendLocation TOP_LEFT_OUTSIDE
-
TOP_CENTER_OUTSIDE
public static final Plot.LegendLocation TOP_CENTER_OUTSIDE
-
TOP_RIGHT_OUTSIDE
public static final Plot.LegendLocation TOP_RIGHT_OUTSIDE
-
LEFT_OUTSIDE
public static final Plot.LegendLocation LEFT_OUTSIDE
-
CENTER_OUTSIDE
public static final Plot.LegendLocation CENTER_OUTSIDE
-
RIGHT_OUTSIDE
public static final Plot.LegendLocation RIGHT_OUTSIDE
-
BOTTOM_LEFT_OUTSIDE
public static final Plot.LegendLocation BOTTOM_LEFT_OUTSIDE
-
BOTTOM_CENTER_OUTSIDE
public static final Plot.LegendLocation BOTTOM_CENTER_OUTSIDE
-
BOTTOM_RIGHT_OUTSIDE
public static final Plot.LegendLocation BOTTOM_RIGHT_OUTSIDE
-
-
Method Detail
-
values
public static Plot.LegendLocation[] 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 (Plot.LegendLocation c : Plot.LegendLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Plot.LegendLocation 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
-
getDescriptions
public static String[] getDescriptions()
Gets an array of string descriptions - one for each enum value.- Returns:
- a description for each enum value.
-
getStringValues
public static String[] getStringValues()
Get string values for the enum values.- Returns:
- a set of string values for the enum values.
-
-