Package com.luciad.view.gxy.controller
Enum Class ALcdGXYNewControllerModel2.CreationStatus
java.lang.Object
java.lang.Enum<ALcdGXYNewControllerModel2.CreationStatus>
com.luciad.view.gxy.controller.ALcdGXYNewControllerModel2.CreationStatus
- All Implemented Interfaces:
Serializable
,Comparable<ALcdGXYNewControllerModel2.CreationStatus>
,Constable
- Enclosing class:
ALcdGXYNewControllerModel2
public static enum ALcdGXYNewControllerModel2.CreationStatus
extends Enum<ALcdGXYNewControllerModel2.CreationStatus>
A description of the creation status an object is in, used to make decisions on whether a certain input
event should trigger editing or other operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe object can be committed, but its state can be extended based on additional edit operations.The object is finished: no further edit operations should be needed.The object should not be committed as-is: it needs further editing. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNCOMMITTABLE
The object should not be committed as-is: it needs further editing. If no further editing is possible, the object should be discarded. An example of this could be an object that requires at least three points to be defined but only has two. -
COMMITTABLE
The object can be committed, but its state can be extended based on additional edit operations. An example could be a line shape that has two points but can have more. -
FINISHED
The object is finished: no further edit operations should be needed. An example could be a line shape that has reached its maximum point count. Additional edit operations are discarded or may change existing state (e.g. the last point of a line shape).
-
-
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
-