Enum ArrowLayer.ArrowStyle
- java.lang.Object
-
- java.lang.Enum<ArrowLayer.ArrowStyle>
-
- uk.ac.rdg.resc.edal.graphics.style.ArrowLayer.ArrowStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<ArrowLayer.ArrowStyle>
- Enclosing class:
- ArrowLayer
public static enum ArrowLayer.ArrowStyle extends Enum<ArrowLayer.ArrowStyle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAT_ARROW
THIN_ARROW
TRI_ARROW
UPSTREAM
WIND_BARBS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArrowLayer.ArrowStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static ArrowLayer.ArrowStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPSTREAM
public static final ArrowLayer.ArrowStyle UPSTREAM
-
THIN_ARROW
public static final ArrowLayer.ArrowStyle THIN_ARROW
-
FAT_ARROW
public static final ArrowLayer.ArrowStyle FAT_ARROW
-
TRI_ARROW
public static final ArrowLayer.ArrowStyle TRI_ARROW
-
WIND_BARBS
public static final ArrowLayer.ArrowStyle WIND_BARBS
-
-
Method Detail
-
values
public static ArrowLayer.ArrowStyle[] 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 (ArrowLayer.ArrowStyle c : ArrowLayer.ArrowStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArrowLayer.ArrowStyle 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
-
-