Enum Class InteractionType

java.lang.Object
java.lang.Enum<InteractionType>
com.xinapse.multisliceimage.roi.InteractionType
All Implemented Interfaces:
Serializable, Comparable<InteractionType>, Constable

public enum InteractionType extends Enum<InteractionType>
An enumeration of the different ways in which a user can interact with an ROI.
  • Enum Constant Details

    • NONE

      public static final InteractionType NONE
      InteractionType for no interaction.
    • CLICK

      public static final InteractionType CLICK
      InteractionType for a single click interaction.
    • CLICK_TYPE

      public static final InteractionType CLICK_TYPE
      InteractionType for a click, type, press return interaction.
    • CLICK_DRAG

      public static final InteractionType CLICK_DRAG
      InteractionType for a click, hold and drag interaction.
    • CLICK_OUTLINE

      public static final InteractionType CLICK_OUTLINE
      InteractionType for a click points/draw interaction.
    • CLICK_POINTS

      public static final InteractionType CLICK_POINTS
      InteractionType for a click points interaction.
    • ERASE

      public static final InteractionType ERASE
      InteractionType for draw-to-erase interaction.
    • PUSH

      public static final InteractionType PUSH
      InteractionType for a push interaction.
  • Method Details

    • values

      public static InteractionType[] 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 InteractionType 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
    • toString

      public String toString()
      Returns a string describing this type of interaction.
      Overrides:
      toString in class Enum<InteractionType>
      Returns:
      a string describing this type of interaction.