Enum Class ALcdGXYNewControllerModel2.CreationStatus

All Implemented Interfaces:
Serializable, Comparable<ALcdGXYNewControllerModel2.CreationStatus>, Constable
Enclosing class:

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.
  • Enum Constant Details


      public static final ALcdGXYNewControllerModel2.CreationStatus 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.

      public static final ALcdGXYNewControllerModel2.CreationStatus 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.

      public static final ALcdGXYNewControllerModel2.CreationStatus 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.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ALcdGXYNewControllerModel2.CreationStatus 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null