public static enum TrafficLights.Orientation extends java.lang.Enum<TrafficLights.Orientation>
| Enum Constant and Description | 
|---|
| DOWNSemafor je vzhůru nohama, červená dole. | 
| LEFTSemafor je orientován vodorovně, červená vlevo. | 
| RIGHTSemafor je orientován vodorovně, červená vpravo. | 
| UPSemafor je orientován běžným způsobem, červená nahoře. | 
| Modifier and Type | Method and Description | 
|---|---|
| static TrafficLights.Orientation | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static TrafficLights.Orientation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final TrafficLights.Orientation UP
public static final TrafficLights.Orientation RIGHT
public static final TrafficLights.Orientation DOWN
public static final TrafficLights.Orientation LEFT
public static TrafficLights.Orientation[] values()
for (TrafficLights.Orientation c : TrafficLights.Orientation.values()) System.out.println(c);
public static TrafficLights.Orientation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null