- java.lang.Object
-
- java.lang.Enum<DarkSky.ConditionAndIcon>
-
- eu.hansolo.tilesfx.weather.DarkSky.ConditionAndIcon
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DarkSky.ConditionAndIcon>
- Enclosing class:
- DarkSky
public static enum DarkSky.ConditionAndIcon extends java.lang.Enum<DarkSky.ConditionAndIcon>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLEAR_DAYCLEAR_NIGHTCLOUDYFOGHAILHUMIDITYINSIDE_TEMPNONEOUTSIDE_TEMPPARTLY_CLOUDY_DAYPARTLY_CLOUDY_NIGHTPRESSURERAINSLEETSNOWSUNRISESUNSETTHUNDERSTORMWINDWIND_SPEED
-
Field Summary
Fields Modifier and Type Field Description doubleheightFactorjava.lang.StringstyleClassjava.lang.StringvaluedoublewidthFactor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DarkSky.ConditionAndIconvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DarkSky.ConditionAndIcon[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DarkSky.ConditionAndIcon NONE
-
CLEAR_DAY
public static final DarkSky.ConditionAndIcon CLEAR_DAY
-
CLEAR_NIGHT
public static final DarkSky.ConditionAndIcon CLEAR_NIGHT
-
RAIN
public static final DarkSky.ConditionAndIcon RAIN
-
SNOW
public static final DarkSky.ConditionAndIcon SNOW
-
SLEET
public static final DarkSky.ConditionAndIcon SLEET
-
WIND
public static final DarkSky.ConditionAndIcon WIND
-
FOG
public static final DarkSky.ConditionAndIcon FOG
-
CLOUDY
public static final DarkSky.ConditionAndIcon CLOUDY
-
PARTLY_CLOUDY_DAY
public static final DarkSky.ConditionAndIcon PARTLY_CLOUDY_DAY
-
PARTLY_CLOUDY_NIGHT
public static final DarkSky.ConditionAndIcon PARTLY_CLOUDY_NIGHT
-
HAIL
public static final DarkSky.ConditionAndIcon HAIL
-
THUNDERSTORM
public static final DarkSky.ConditionAndIcon THUNDERSTORM
-
INSIDE_TEMP
public static final DarkSky.ConditionAndIcon INSIDE_TEMP
-
OUTSIDE_TEMP
public static final DarkSky.ConditionAndIcon OUTSIDE_TEMP
-
PRESSURE
public static final DarkSky.ConditionAndIcon PRESSURE
-
HUMIDITY
public static final DarkSky.ConditionAndIcon HUMIDITY
-
WIND_SPEED
public static final DarkSky.ConditionAndIcon WIND_SPEED
-
SUNRISE
public static final DarkSky.ConditionAndIcon SUNRISE
-
SUNSET
public static final DarkSky.ConditionAndIcon SUNSET
-
-
Method Detail
-
values
public static DarkSky.ConditionAndIcon[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DarkSky.ConditionAndIcon c : DarkSky.ConditionAndIcon.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DarkSky.ConditionAndIcon valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-