Class RouteStyleDescriptor
-
- All Implemented Interfaces:
public final class RouteStyleDescriptorThis class is used for describing the route line color(s) at runtime.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrouteIdentifierprivate final IntegerlineColorResourceIdprivate final IntegerlineShieldColorResourceId
-
Constructor Summary
Constructors Constructor Description RouteStyleDescriptor(String routeIdentifier, Integer lineColorResourceId, Integer lineShieldColorResourceId)
-
Method Summary
Modifier and Type Method Description final StringgetRouteIdentifier()final IntegergetLineColorResourceId()final IntegergetLineShieldColorResourceId()
-
-
-
Constructor Detail
-
RouteStyleDescriptor
RouteStyleDescriptor(String routeIdentifier, Integer lineColorResourceId, Integer lineShieldColorResourceId)
- Parameters:
routeIdentifier- a string that identifies routes which should have their color overriddenlineColorResourceId- the color of the route linelineShieldColorResourceId- the color of the shield line which appears below the route line and is normally wider providing a visual border for the route line.
-
-
Method Detail
-
getRouteIdentifier
final String getRouteIdentifier()
-
getLineColorResourceId
final Integer getLineColorResourceId()
-
getLineShieldColorResourceId
final Integer getLineShieldColorResourceId()
-
-