Package moa.gui.experimentertab
Enum PlotTab.LegendType
- java.lang.Object
-
- java.lang.Enum<PlotTab.LegendType>
-
- moa.gui.experimentertab.PlotTab.LegendType
-
- All Implemented Interfaces:
Serializable
,Comparable<PlotTab.LegendType>
- Enclosing class:
- PlotTab
public static enum PlotTab.LegendType extends Enum<PlotTab.LegendType>
Lgend type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOX_HORIZONTAL
BOX_VERTICAL
NOBOX_HORIZONTAL
NOBOX_VERTICAL
NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlotTab.LegendType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlotTab.LegendType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PlotTab.LegendType NONE
-
BOX_VERTICAL
public static final PlotTab.LegendType BOX_VERTICAL
-
BOX_HORIZONTAL
public static final PlotTab.LegendType BOX_HORIZONTAL
-
NOBOX_VERTICAL
public static final PlotTab.LegendType NOBOX_VERTICAL
-
NOBOX_HORIZONTAL
public static final PlotTab.LegendType NOBOX_HORIZONTAL
-
-
Method Detail
-
values
public static PlotTab.LegendType[] 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 (PlotTab.LegendType c : PlotTab.LegendType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlotTab.LegendType 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
-
-