Package com.xinapse.multisliceimage.roi
Enum Class InteractionType
- All Implemented Interfaces:
Serializable
,Comparable<InteractionType>
,Constable
An enumeration of the different ways in which a user can interact with an ROI.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInteractionType for a single click interaction.InteractionType for a click, hold and drag interaction.InteractionType for a click points/draw interaction.InteractionType for a click points interaction.InteractionType for a click, type, press return interaction.InteractionType for draw-to-erase interaction.InteractionType for no interaction.InteractionType for a push interaction. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a string describing this type of interaction.static InteractionType
Returns the enum constant of this class with the specified name.static InteractionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
InteractionType for no interaction. -
CLICK
InteractionType for a single click interaction. -
CLICK_TYPE
InteractionType for a click, type, press return interaction. -
CLICK_DRAG
InteractionType for a click, hold and drag interaction. -
CLICK_OUTLINE
InteractionType for a click points/draw interaction. -
CLICK_POINTS
InteractionType for a click points interaction. -
ERASE
InteractionType for draw-to-erase interaction. -
PUSH
InteractionType for a push interaction.
-
-
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
-
toString
Returns a string describing this type of interaction.- Overrides:
toString
in classEnum<InteractionType>
- Returns:
- a string describing this type of interaction.
-