bibliothek.gui.dock.control
Enum RemoteRelocator.Reaction

java.lang.Object
  extended by java.lang.Enum<RemoteRelocator.Reaction>
      extended by bibliothek.gui.dock.control.RemoteRelocator.Reaction
All Implemented Interfaces:
Serializable, Comparable<RemoteRelocator.Reaction>
Enclosing interface:
RemoteRelocator

public static enum RemoteRelocator.Reaction
extends Enum<RemoteRelocator.Reaction>

Tells a caller of a method whether the RemoteRelocator has finished the drag & drop operation or not.

Author:
Benjamin Sigg

Enum Constant Summary
BREAK
          The operation is finished, and the event was not consumed
BREAK_CONSUMED
          The operation is finished, but the event was consumed
CONTINUE
          The operation is going on, but the event was not consumed
CONTINUE_CONSUMED
          The operation is going on, and the event was consumed
 
Method Summary
static RemoteRelocator.Reaction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RemoteRelocator.Reaction[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONTINUE

public static final RemoteRelocator.Reaction CONTINUE
The operation is going on, but the event was not consumed


CONTINUE_CONSUMED

public static final RemoteRelocator.Reaction CONTINUE_CONSUMED
The operation is going on, and the event was consumed


BREAK

public static final RemoteRelocator.Reaction BREAK
The operation is finished, and the event was not consumed


BREAK_CONSUMED

public static final RemoteRelocator.Reaction BREAK_CONSUMED
The operation is finished, but the event was consumed

Method Detail

values

public static final RemoteRelocator.Reaction[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(RemoteRelocator.Reaction c : RemoteRelocator.Reaction.values())
        System.out.println(c);

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

valueOf

public static RemoteRelocator.Reaction valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name