- All Implemented Interfaces:
Serializable
,Comparable<KmlRefreshMode>
,Constable
KML refresh modes.
Defines the time-based refresh behavior of a KML network link or an image overlay.
- Since:
- 100.6.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRefresh when the resource is loaded and whenever the Link parameters change.Refresh the resource when the expiration time is reached.Refresh every n milliseconds, where n is specified by refreshInterval. -
Method Summary
Modifier and TypeMethodDescriptionstatic KmlRefreshMode
Returns the enum constant of this class with the specified name.static KmlRefreshMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_CHANGE
Refresh when the resource is loaded and whenever the Link parameters change.- Since:
- 100.6.0
-
ON_INTERVAL
Refresh every n milliseconds, where n is specified by refreshInterval.If refreshInterval is not set when the mode is set to ON_INTERVAL, it will automatically update the refreshInterval to 4000 milliseconds.
- Since:
- 100.6.0
-
ON_EXPIRE
Refresh the resource when the expiration time is reached.- Since:
- 100.6.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-