Module org.apache.sis.portrayal
Package org.apache.sis.portrayal
Enum Class TransformChangeEvent.Reason
- All Implemented Interfaces:
Serializable
,Comparable<TransformChangeEvent.Reason>
,Constable
- Enclosing class:
TransformChangeEvent
The reason why the "objective to display" transform changed.
It may be because of canvas initialization, or an adjustment for a change of CRS
without change in the viewing area, or a navigation for viewing a different area.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA new value has been assigned, overwriting the previous values.A new value has been automatically computed for preserving the viewing area after a change of CRS.A relative change has been applied in units of display device (typically pixel units).A new value has been assigned as part of a wider set of changes.A relative interim change has been applied but is not yet reflected in the "objective to display" transform.A relative change has been applied in units of the objective CRS (for example in metres). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TransformChangeEvent.Reason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
GRID_GEOMETRY_CHANGE
A new value has been assigned as part of a wider set of changes. It typically happens when the canvas is initialized.- See Also:
-
CRS_CHANGE
A new value has been automatically computed for preserving the viewing area after a change of CRS. It typically happens when the user changes the map projection without moving to a different region.- See Also:
-
ASSIGNMENT
A new value has been assigned, overwriting the previous values. The objective CRS has not changed. It can be considered as a kind of navigation, moving to absolute coordinates and zoom levels.- See Also:
-
OBJECTIVE_NAVIGATION
A relative change has been applied in units of the objective CRS (for example in metres).- See Also:
-
DISPLAY_NAVIGATION
A relative change has been applied in units of display device (typically pixel units).- See Also:
-
INTERIM
A relative interim change has been applied but is not yet reflected in the "objective to display" transform. This kind of change is not fired byPlanarCanvas
but may be fired by subclasses such asMapCanvas
. That class provides immediate feedback to users with a temporary visual change before to perform more expensive rendering in background.
-
-
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
-