public enum KmlNetworkLinkViewRefreshMode extends Enum<KmlNetworkLinkViewRefreshMode> implements Enumeration
Enum Constant and Description |
---|
NEVER
Do not refresh the network link when the camera's view changes.
|
ON_REGION
Refreshes the network link when the region associated with this link becomes active.
|
ON_REQUEST
Only refresh the network link when it is explicitly refreshed by calling the
KmlNetworkLink.refresh() method. |
ON_STOP
Refresh the network link after camera view movement stops for the duration specified by
ViewRefreshTime (get ). |
Modifier and Type | Method and Description |
---|---|
static KmlNetworkLinkViewRefreshMode |
getDefault()
Get the enum constant that is considered to be the default.
|
static KmlNetworkLinkViewRefreshMode |
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 KmlNetworkLinkViewRefreshMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KmlNetworkLinkViewRefreshMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KmlNetworkLinkViewRefreshMode NEVER
public static final KmlNetworkLinkViewRefreshMode ON_REQUEST
KmlNetworkLink.refresh()
method.public static final KmlNetworkLinkViewRefreshMode ON_STOP
ViewRefreshTime
(get
).public static final KmlNetworkLinkViewRefreshMode ON_REGION
public static KmlNetworkLinkViewRefreshMode[] values()
for (KmlNetworkLinkViewRefreshMode c : KmlNetworkLinkViewRefreshMode.values()) System.out.println(c);
public static KmlNetworkLinkViewRefreshMode 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 KmlNetworkLinkViewRefreshMode getFromValue(int value)
value
- a numeric value.@Nonnull public static KmlNetworkLinkViewRefreshMode getDefault()