cz.cuni.jagrlib.testing
Enum WarpingSpecimen.State

java.lang.Object
  extended by java.lang.Enum<WarpingSpecimen.State>
      extended by cz.cuni.jagrlib.testing.WarpingSpecimen.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WarpingSpecimen.State>
Enclosing class:
WarpingSpecimen

protected static enum WarpingSpecimen.State
extends java.lang.Enum<WarpingSpecimen.State>

GUI actions/states.


Enum Constant Summary
ARROW
          Arrow dragging.
ARROW_FINISH
          Arrow finishing.
ARROW_NEW
          Brand new arrow.
BREAK
          Loop break (will destroy the window).
CLEAR
          Clear the result image.
NONE
          Nothing-to-do state.
QUIT
          Loop quit (the window was destroyed before).
 
Method Summary
static WarpingSpecimen.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WarpingSpecimen.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final WarpingSpecimen.State NONE
Nothing-to-do state.


ARROW_NEW

public static final WarpingSpecimen.State ARROW_NEW
Brand new arrow.


ARROW

public static final WarpingSpecimen.State ARROW
Arrow dragging.


ARROW_FINISH

public static final WarpingSpecimen.State ARROW_FINISH
Arrow finishing.


CLEAR

public static final WarpingSpecimen.State CLEAR
Clear the result image.


BREAK

public static final WarpingSpecimen.State BREAK
Loop break (will destroy the window).


QUIT

public static final WarpingSpecimen.State QUIT
Loop quit (the window was destroyed before).

Method Detail

values

public static WarpingSpecimen.State[] 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 (WarpingSpecimen.State c : WarpingSpecimen.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WarpingSpecimen.State 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