plugins.big.bigsnake.roi
Enum SnakeEditMode
java.lang.Object
java.lang.Enum<SnakeEditMode>
plugins.big.bigsnake.roi.SnakeEditMode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SnakeEditMode>
public enum SnakeEditMode
- extends java.lang.Enum<SnakeEditMode>
Transformations that can be applied to the snake through the interface.
- Version:
- May 3, 2014
- Author:
- Ricard Delgado-Gonzalo (ricard.delgado@gmail.com), Nicolas Chenouard (nicolas.chenouard@gmail.com)
Method Summary |
static SnakeEditMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SnakeEditMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MOVE_SNAKE
public static final SnakeEditMode MOVE_SNAKE
DILATE_SNAKE
public static final SnakeEditMode DILATE_SNAKE
ROTATE_SNAKE
public static final SnakeEditMode ROTATE_SNAKE
values
public static SnakeEditMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SnakeEditMode c : SnakeEditMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SnakeEditMode valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null