public interface TrafficLight extends Locatable, LaneBasedObject
 Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Modifier and Type | Field and Description | 
|---|---|
static EventType | 
TRAFFICLIGHT_CHANGE_EVENT
The timed event type for pub/sub indicating the change of color of a traffic light. 
 | 
FIRST_POSITION, LAST_POSITION| Modifier and Type | Method and Description | 
|---|---|
TrafficLightColor | 
getTrafficLightColor()  | 
void | 
setTrafficLightColor(TrafficLightColor trafficLightColor)
Set the new traffic light color. 
 | 
getBounds, getDirection, getLane, getLocation, getLongitudinalPosition, makeGeometrygetFullId, getGeometry, getHeightgetIdaddListener, addListener, addListener, addListener, removeListenerstatic final EventType TRAFFICLIGHT_CHANGE_EVENT
TrafficLightColor getTrafficLightColor()
void setTrafficLightColor(TrafficLightColor trafficLightColor)
trafficLightColor - TrafficLightColor; set the trafficLightColorCopyright © 2014–2019 Delft University of Technology. All rights reserved.