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 SummaryNested classes/interfaces inherited from class EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryModifier 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 Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
GRID_GEOMETRY_CHANGEA new value has been assigned as part of a wider set of changes. It typically happens when the canvas is initialized.- See Also:
 
- 
CRS_CHANGEA 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.
- 
ASSIGNMENTA 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.
- 
OBJECTIVE_NAVIGATIONA relative change has been applied in units of the objective CRS (for example in metres).
- 
DISPLAY_NAVIGATIONA relative change has been applied in units of display device (typically pixel units).
- 
INTERIMA relative interim change has been applied but is not yet reflected in the "objective to display" transform. This kind of change is not fired byPlanarCanvasbut may be fired by subclasses such asMapCanvas. That class provides immediate feedback to users with a temporary visual change before to perform more expansive rendering in background.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-