|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WindSpeedUnit>
com.google.gwt.maps.client.weatherlib.WindSpeedUnit
public enum WindSpeedUnit
The wind speed unit displayed by the weather layer.
See WindSpeedUnit API Doc
Enum Constant Summary | |
---|---|
KILOMETERS_PER_HOUR
Specifies that wind speeds should be displayed in kilometers per hour. |
|
METERS_PER_SECOND
Specifies that wind speeds should be displayed in meters per second. |
|
MILES_PER_HOUR
Specifies that wind speeds should be displayed in miles per hour. |
Method Summary | |
---|---|
String |
toString()
|
String |
value()
|
static WindSpeedUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WindSpeedUnit[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WindSpeedUnit KILOMETERS_PER_HOUR
public static final WindSpeedUnit METERS_PER_SECOND
public static final WindSpeedUnit MILES_PER_HOUR
Method Detail |
---|
public static WindSpeedUnit[] values()
for (WindSpeedUnit c : WindSpeedUnit.values()) System.out.println(c);
public static WindSpeedUnit valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<WindSpeedUnit>
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |