Package org.ka2ddo.yaac.gui.weather
Enum Class NWSZoneLayer.AdvisoryLevel
- All Implemented Interfaces:
Serializable
,Comparable<NWSZoneLayer.AdvisoryLevel>
,Constable
- Enclosing class:
- NWSZoneLayer
Enumeration for different severity levels of severe weather events.
- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEnum indicating severe weather condition is possible in the future.Enum indicating a previous weather advisory is being cancelled.Enum indicating severe weather condition is guaranteed to happen in the very near future.Enum indicating severe weather condition is likely to happen in the near future and the Weather Service is monitoring conditions for increasing severity. -
Method Summary
Modifier and TypeMethodDescriptionstatic NWSZoneLayer.AdvisoryLevel
Returns the enum constant of this class with the specified name.static NWSZoneLayer.AdvisoryLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WARN
Enum indicating severe weather condition is guaranteed to happen in the very near future. -
WATCH
Enum indicating severe weather condition is likely to happen in the near future and the Weather Service is monitoring conditions for increasing severity. -
ADVIS
Enum indicating severe weather condition is possible in the future. -
STMNT
-
CANCL
Enum indicating a previous weather advisory is being cancelled.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-