Package adams.gui.event
Enum NodeDroppedEvent.NotificationTime
- java.lang.Object
-
- java.lang.Enum<NodeDroppedEvent.NotificationTime>
-
- adams.gui.event.NodeDroppedEvent.NotificationTime
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeDroppedEvent.NotificationTime>
- Enclosing class:
- NodeDroppedEvent
public static enum NodeDroppedEvent.NotificationTime extends Enum<NodeDroppedEvent.NotificationTime>
For a more fine-grained notification of drop events.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeDroppedEvent.NotificationTime
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeDroppedEvent.NotificationTime[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE
public static final NodeDroppedEvent.NotificationTime BEFORE
before the drop happens.
-
FINISHED
public static final NodeDroppedEvent.NotificationTime FINISHED
after the drop has finished.
-
-
Method Detail
-
values
public static NodeDroppedEvent.NotificationTime[] 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 (NodeDroppedEvent.NotificationTime c : NodeDroppedEvent.NotificationTime.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeDroppedEvent.NotificationTime 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 nameNullPointerException
- if the argument is null
-
-