Module org.arakhne.afc.gis.gisbus
Package org.arakhne.afc.gis.bus.layer
Enum BusLayerConstants.BusLayerDrawerType
- java.lang.Object
-
- java.lang.Enum<BusLayerConstants.BusLayerDrawerType>
-
- org.arakhne.afc.gis.bus.layer.BusLayerConstants.BusLayerDrawerType
-
- All Implemented Interfaces:
Serializable
,Comparable<BusLayerConstants.BusLayerDrawerType>
- Enclosing class:
- BusLayerConstants
public static enum BusLayerConstants.BusLayerDrawerType extends Enum<BusLayerConstants.BusLayerDrawerType>
Type of drawer for the bus layers.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:56
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- gisbus
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BusLayerConstants.BusLayerDrawerType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BusLayerConstants.BusLayerDrawerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERLAP
public static final BusLayerConstants.BusLayerDrawerType OVERLAP
Each bus line is drawn on the top of the other bus lines on the same road segment.
-
SHIFT
public static final BusLayerConstants.BusLayerDrawerType SHIFT
Each bus line is drawn on the side of the other bus lines on the same road segment.
-
-
Method Detail
-
values
public static BusLayerConstants.BusLayerDrawerType[] 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 (BusLayerConstants.BusLayerDrawerType c : BusLayerConstants.BusLayerDrawerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BusLayerConstants.BusLayerDrawerType 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
-
-