public enum DsIcon extends Enum<DsIcon>
| Enum Constant and Description |
|---|
CLEAR_DAY |
CLEAR_NIGHT |
CLOUDY |
FOG |
PARTLY_CLOUDY_DAY |
PARTLY_CLOUDY_NIGHT |
RAIN |
SLEET |
SNOW |
UNKNOWN |
WIND |
| Modifier and Type | Method and Description |
|---|---|
static DsIcon |
findByJsonValue(String jsonValue) |
String |
getJsonValue() |
static DsIcon |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DsIcon[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DsIcon CLEAR_DAY
public static final DsIcon CLEAR_NIGHT
public static final DsIcon RAIN
public static final DsIcon SNOW
public static final DsIcon SLEET
public static final DsIcon WIND
public static final DsIcon FOG
public static final DsIcon CLOUDY
public static final DsIcon PARTLY_CLOUDY_DAY
public static final DsIcon PARTLY_CLOUDY_NIGHT
public static final DsIcon UNKNOWN
public static DsIcon[] values()
for (DsIcon c : DsIcon.values()) System.out.println(c);
public static DsIcon valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getJsonValue()
Copyright © 2016–2020. All rights reserved.