Package com.anylogic.engine.markup
- java.lang.Object
- java.lang.Enum<RoadLineStyle>
- com.anylogic.engine.markup.RoadLineStyle
- All Implemented Interfaces:
Serializable
,Comparable<RoadLineStyle>
,Constable
public enum RoadLineStyle extends Enum<RoadLineStyle>
Road line style, one of the following constants:
SINGLE
SINGLE_DASHED
DOUBLE
DOUBLE_DASHED
Enum.EnumDesc<E extends Enum<E>>
Modifier and Type | Field | Description |
---|---|---|
static final EnumSet<RoadLineStyle> | DASHED_STYLES | |
static final EnumSet<RoadLineStyle> | DOUBLE_STYLES |
Modifier and Type | Method | Description |
---|---|---|
static RoadLineStyle | valueOf |
Returns the enum constant of this class with the specified name.
|
static RoadLineStyle[] | values() |
Returns an array containing the constants of this enum class, in
the order they are declared.
|
public static final EnumSet<RoadLineStyle> DOUBLE_STYLES
public static final EnumSet<RoadLineStyle> DASHED_STYLES
public static RoadLineStyle[] values()
Returns an array containing the constants of this enum class, in
the order they are declared.
- Returns:
- an array containing the constants of this enum class, in the order they are declared
public static RoadLineStyle valueOf(String name)
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null