Uses of Enum Class
eu.bandm.tools.message.TrafficLight.State
-
Uses of TrafficLight.State in eu.bandm.tools.message
Modifier and TypeMethodDescriptionTrafficLight.getState()
EvidentTrafficMessageReceiver.getState()
Return the current state.static TrafficLight.State
Returns the enum constant of this class with the specified name.static TrafficLight.State[]
TrafficLight.State.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
TrafficLight.setState
(TrafficLight.State state) Changes the state and creates a Swing thread for updating the visual.protected void
TrafficMessageReceiver.setState
(TrafficLight.State state) Convenience: set state of all currently added traffic lights tostate
.ModifierConstructorDescriptionTrafficLight
(TrafficLight.State state) Creates a new traffic light object and set its state.