Enum Class CreateAnnotationCommand.CreateMode

java.lang.Object
java.lang.Enum<CreateAnnotationCommand.CreateMode>
com.levigo.jadice.web.client.commands.CreateAnnotationCommand.CreateMode
All Implemented Interfaces:
Serializable, Comparable<CreateAnnotationCommand.CreateMode>, Constable
Enclosing class:
CreateAnnotationCommand

public static enum CreateAnnotationCommand.CreateMode extends Enum<CreateAnnotationCommand.CreateMode>
  • Enum Constant Details

    • SINGLE

      public static final CreateAnnotationCommand.CreateMode SINGLE
      After placing an annotation, the CreateAnnotationCommand will exit. To add another annotation, a CreateAnnotationCommand has to be selected again.
    • MULTIPLE

      public static final CreateAnnotationCommand.CreateMode MULTIPLE
      After placing an annotation, another annotation can be added. The CreateAnnotationCommand will only exit manually e.g. by using Escape.
    • AUTO

      public static final CreateAnnotationCommand.CreateMode AUTO
      Single-click: analog behaviour to CreateMode.SINGLE. Double-click analog behaviour to CreateMode.MULTIPLE.
  • Method Details

    • values

      public static CreateAnnotationCommand.CreateMode[] 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

      public static CreateAnnotationCommand.CreateMode 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