public enum KmlNetworkLinkRefreshMode extends Enum<KmlNetworkLinkRefreshMode> implements Enumeration
| Enum Constant and Description |
|---|
ON_CHANGE
Refresh when the document is loaded and whenever the Link parameters change (the default).
|
ON_EXPIRE
Refresh the network link when the expiration time is reached.
|
ON_INTERVAL
Refresh the network link at the duration specified by
RefreshInterval (get). |
| Modifier and Type | Method and Description |
|---|---|
static KmlNetworkLinkRefreshMode |
getDefault()
Get the enum constant that is considered to be the default.
|
static KmlNetworkLinkRefreshMode |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static KmlNetworkLinkRefreshMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KmlNetworkLinkRefreshMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KmlNetworkLinkRefreshMode ON_CHANGE
public static final KmlNetworkLinkRefreshMode ON_INTERVAL
RefreshInterval (get).public static final KmlNetworkLinkRefreshMode ON_EXPIRE
public static KmlNetworkLinkRefreshMode[] values()
for (KmlNetworkLinkRefreshMode c : KmlNetworkLinkRefreshMode.values()) System.out.println(c);
public static KmlNetworkLinkRefreshMode 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 int getValue()
getValue in interface Enumeration@Nonnull public static KmlNetworkLinkRefreshMode getFromValue(int value)
value - a numeric value.@Nonnull public static KmlNetworkLinkRefreshMode getDefault()