- java.lang.Object
-
- java.lang.Enum<MarkerSymbol>
-
- eu.ess.xaos.ui.plot.util.MarkerSymbol
-
- All Implemented Interfaces:
Serializable
,Comparable<MarkerSymbol>
public enum MarkerSymbol extends Enum<MarkerSymbol>
Predefined marker symbols.- Author:
- Juan F. Esteban Müller
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CROSS
HOLLOW_CIRCLE
HOLLOW_DIAMOND
HOLLOW_SQUARE
HOLLOW_TRIANGLE
SOLID_CIRCLE
SOLID_DIAMOND
SOLID_SQUARE
SOLID_TRIANGLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStyle()
static MarkerSymbol
valueOf(String name)
Returns the enum constant of this type with the specified name.static MarkerSymbol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLID_CIRCLE
public static final MarkerSymbol SOLID_CIRCLE
-
SOLID_SQUARE
public static final MarkerSymbol SOLID_SQUARE
-
SOLID_DIAMOND
public static final MarkerSymbol SOLID_DIAMOND
-
SOLID_TRIANGLE
public static final MarkerSymbol SOLID_TRIANGLE
-
CROSS
public static final MarkerSymbol CROSS
-
HOLLOW_CIRCLE
public static final MarkerSymbol HOLLOW_CIRCLE
-
HOLLOW_SQUARE
public static final MarkerSymbol HOLLOW_SQUARE
-
HOLLOW_DIAMOND
public static final MarkerSymbol HOLLOW_DIAMOND
-
HOLLOW_TRIANGLE
public static final MarkerSymbol HOLLOW_TRIANGLE
-
-
Method Detail
-
values
public static MarkerSymbol[] 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 (MarkerSymbol c : MarkerSymbol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarkerSymbol 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
-
getStyle
public String getStyle()
-
-