Package com.luciad.edit
Enum Class ChangeStatus
- All Implemented Interfaces:
Serializable
,Comparable<ChangeStatus>
,Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the change is finished.Indicates that a change is transitional.Indicates that the change represents an important key point. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeStatus
Returns the enum constant of this class with the specified name.static ChangeStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
Indicates that the change is finished.No more changes will follow. This change also represents an important key point, like
ChangeStatus#InProgressKeyPoint
.
-
-
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
-