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