Package moa.tasks
Enum Plot.Terminal
- java.lang.Object
-
- java.lang.Enum<Plot.Terminal>
-
- moa.tasks.Plot.Terminal
-
- All Implemented Interfaces:
Serializable
,Comparable<Plot.Terminal>
- Enclosing class:
- Plot
public static enum Plot.Terminal extends Enum<Plot.Terminal>
Plot output terminal.- Author:
- Dariusz Brzeziļæ½ski
-
-
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.Terminal
valueOf(String name)
Returns the enum constant of this type with the specified name.static Plot.Terminal[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANVAS
public static final Plot.Terminal CANVAS
-
EPSLATEX
public static final Plot.Terminal EPSLATEX
-
GIF
public static final Plot.Terminal GIF
-
JPEG
public static final Plot.Terminal JPEG
-
LATEX
public static final Plot.Terminal LATEX
-
PDFCAIRO
public static final Plot.Terminal PDFCAIRO
-
PNG
public static final Plot.Terminal PNG
-
POSTSCRIPT
public static final Plot.Terminal POSTSCRIPT
-
POSTSCRIPT_COLOR
public static final Plot.Terminal POSTSCRIPT_COLOR
-
PSLATEX
public static final Plot.Terminal PSLATEX
-
PSTEX
public static final Plot.Terminal PSTEX
-
PSTRICKS
public static final Plot.Terminal PSTRICKS
-
SVG
public static final Plot.Terminal SVG
-
-
Method Detail
-
values
public static Plot.Terminal[] 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.Terminal c : Plot.Terminal.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.Terminal 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.
-
-