Uses of Enum Class
eu.bandm.tools.message.TrafficLight.State
Packages that use TrafficLight.State
-
Uses of TrafficLight.State in eu.bandm.tools.message
Methods in eu.bandm.tools.message that return TrafficLight.StateModifier 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.Methods in eu.bandm.tools.message with parameters of type TrafficLight.StateModifier 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
.Constructors in eu.bandm.tools.message with parameters of type TrafficLight.StateModifierConstructorDescriptionTrafficLight
(TrafficLight.State state) Creates a new traffic light object and set its state.