Enum Class ChangeStatus

java.lang.Object
java.lang.Enum<ChangeStatus>
com.luciad.edit.ChangeStatus
All Implemented Interfaces:
Serializable, Comparable<ChangeStatus>, Constable

public enum ChangeStatus extends Enum<ChangeStatus>
Indicates a change status.

It provides more information about the type of a change.

This enum is for example used to indicate what kind of editing or creation changes are performed.

See Also:
  • Enum Constant Details Link icon

    • InProgress Link icon

      public static final ChangeStatus InProgress
      Indicates that a change is transitional.

      This means that more changes are coming. This is for example useful when a mouse button is being dragged. All operations resulting from mouse-dragged events are marked as InProgress, except the last one.

    • InProgressKeyPoint Link icon

      public static final ChangeStatus InProgressKeyPoint
      Indicates that the change represents an important key point.

      This could for example be the case when a new point is added to a polyline, or the change when you stop dragging a point of a polyline. It for example indicates on which temporary change states undo and redo operations could be performed.

    • Finished Link icon

      public static final ChangeStatus Finished
      Indicates that the change is finished.

      No more changes will follow. This change also represents an important key point, like ChangeStatus#InProgressKeyPoint.

  • Method Details Link icon

    • values Link icon

      public static ChangeStatus[] 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 Link icon

      public static ChangeStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null