Package com.luciad.multidimensional
Enum Class TLcdDimensionFilter.SnapMode
java.lang.Object
java.lang.Enum<TLcdDimensionFilter.SnapMode>
com.luciad.multidimensional.TLcdDimensionFilter.SnapMode
- All Implemented Interfaces:
Serializable
,Comparable<TLcdDimensionFilter.SnapMode>
,Constable
- Enclosing class:
TLcdDimensionFilter
The snap mode to use when snapping arbitrary intervals to model intervals:
null
indicates no snapping, in which case the model's value needs to match the filter exactly.- Since:
- 2016.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TLcdDimensionFilter.SnapMode
Returns the enum constant of this class with the specified name.static TLcdDimensionFilter.SnapMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEAREST
Snap to nearest model interval. For example on a time axis, this snaps to the model's nearest event in the future or the past than what the filter defines. -
PREVIOUS
Snap to the previous model interval. For example on a time axis, this snaps to the most recent event which is no more recent than what the filter defines. -
NEXT
Snap to the next model interval. For example for level in the atmosphere, this snaps to the model's value at or higher than what the filter defines.
-
-
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
-