Package | Description |
---|---|
cz.gyarab.util.light |
Základní sestava tříd pro úplné začátečníky umožňuje snadno ovládat světelná
pole i bez znalosti programování GUI.
|
Modifier and Type | Method and Description |
---|---|
static TrafficLights.Light |
TrafficLights.Light.valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TrafficLights.Light[] |
TrafficLights.Light.values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TrafficLights.isOn(TrafficLights.Light light)
Zjistí, jestli je určené světlo rozsvíceno.
|
void |
Semaphore.setOff(TrafficLights.Light light)
Zhasne světlo určené barvy.
|
void |
Semaphore.setOn(TrafficLights.Light light)
Rozsvítí světlo určené barvy.
|
void |
TrafficLights.setOnOff(TrafficLights.Light light,
boolean on)
Rozsvítí nebo zhasne určené světlo.
|