| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.lane.perception.headway |
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.road.network.lane.object.trafficlight |
Traffic light and traffic light controller objects.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficLightColor |
HeadwayTrafficLight.getTrafficLightColor() |
| Modifier and Type | Field and Description |
|---|---|
protected TrafficLightColor |
AbstractTrafficLightController.currentColor
the current light in the current phase.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficLightColor |
TrafficLight.getTrafficLightColor() |
TrafficLightColor |
SimpleTrafficLight.getTrafficLightColor() |
static TrafficLightColor |
TrafficLightColor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficLightColor[] |
TrafficLightColor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TrafficLight.setTrafficLightColor(TrafficLightColor trafficLightColor)
Set the new traffic light color.
|
void |
SimpleTrafficLight.setTrafficLightColor(TrafficLightColor trafficLightColor)
Set the new traffic light color.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.