|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HurricaneEnum>
org.ka2ddo.aprs.HurricaneEnum
public enum HurricaneEnum
Symbolic codes for different types of hurricane/tropical storm information. The letter codes correspond to the hurricane comments in APRS position reports, as defined in the APRS protocol specification, chapter 12.
PositionReport
Nested Class Summary | |
---|---|
static class |
HurricaneEnum.StormType
Values allowed for type of storm in a hurricane position report. |
Enum Constant Summary | |
---|---|
GUST
Peak gust speed of wind in storm in knots (nm/hr). |
|
PRESSURE
Barometric pressure at center of storm in hectoPascals (millibars). |
|
RADIUS_GALE
Radius of gale-force winds in nautical miles. |
|
RADIUS_HURRICANE
Radius of hurricane winds in nautical miles. |
|
RADIUS_TROP_STORM
Radius of tropical-storm-level winds in nautical miles. |
|
STORM_TYPE
Type of severe storm. |
|
SUSTAINED_WIND
Sustained windspeed of storm in knots (nm/hr). |
Field Summary | |
---|---|
int |
paramLen
Number of characters for parameter identified by this enum. |
Method Summary | |
---|---|
static HurricaneEnum |
getEnumForLetter(char ch)
Get the enumeration associated with the hurricane message letter code. |
java.lang.String |
getImagePath()
Return the relative path name of the image file for this enum value. |
java.lang.Enum<?> |
getUnit()
Get the unit (if any) for values for this WeatherEnum, |
float |
getUnitScaling()
Get the scaling factor to apply to the unit for values for this WeatherEnum. |
static HurricaneEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static HurricaneEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HurricaneEnum STORM_TYPE
HurricaneEnum.StormType
public static final HurricaneEnum SUSTAINED_WIND
public static final HurricaneEnum GUST
public static final HurricaneEnum PRESSURE
public static final HurricaneEnum RADIUS_HURRICANE
public static final HurricaneEnum RADIUS_TROP_STORM
public static final HurricaneEnum RADIUS_GALE
Field Detail |
---|
public final int paramLen
Method Detail |
---|
public static HurricaneEnum[] values()
for (HurricaneEnum c : HurricaneEnum.values()) System.out.println(c);
public static HurricaneEnum 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getImagePath()
getImagePath
in interface EnumWithImageName
public static HurricaneEnum getEnumForLetter(char ch)
ch
- letter to match against the known enums
public java.lang.Enum<?> getUnit()
getUnit
in interface EnumWithUnits
public float getUnitScaling()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |