Enum TransformChangeEvent.Reason

java.lang.Object
java.lang.Enum<TransformChangeEvent.Reason>
org.apache.sis.portrayal.TransformChangeEvent.Reason
All Implemented Interfaces:
Serializable, Comparable<TransformChangeEvent.Reason>, java.lang.constant.Constable
Enclosing class:
TransformChangeEvent

public static enum TransformChangeEvent.Reason extends Enum<TransformChangeEvent.Reason>
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 java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A 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).
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) final boolean
    Returns true if the "objective to display" transform changed because of a change in viewing area, without change in the data themselves or in the map projection.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Constructor Details

    • Reason

      private Reason()
  • Method Details

    • values

      public static TransformChangeEvent.Reason[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TransformChangeEvent.Reason valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isNavigation

      final boolean isNavigation()
      Returns true if the "objective to display" transform changed because of a change in viewing area, without change in the data themselves or in the map projection.