com.transmote.nest.events
Enum Event.PHASE

java.lang.Object
  extended by java.lang.Enum<Event.PHASE>
      extended by com.transmote.nest.events.Event.PHASE
All Implemented Interfaces:
Serializable, Comparable<Event.PHASE>
Enclosing class:
Event

public static enum Event.PHASE
extends Enum<Event.PHASE>

Enumerated display list event phase.


Enum Constant Summary
AT_TARGET
          The Event instance is at the event target.
BUBBLING
          The Event instance is moving back up the display list from the event target.
CAPTURE
          The Event instance is down through the display list toward the event target.
NOT_ON_DISPLAY_LIST
          The Event instance is not traversing the display list.
 
Method Summary
static Event.PHASE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Event.PHASE[] 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
 

Enum Constant Detail

BUBBLING

public static final Event.PHASE BUBBLING
The Event instance is moving back up the display list from the event target.


AT_TARGET

public static final Event.PHASE AT_TARGET
The Event instance is at the event target.


CAPTURE

public static final Event.PHASE CAPTURE
The Event instance is down through the display list toward the event target.


NOT_ON_DISPLAY_LIST

public static final Event.PHASE NOT_ON_DISPLAY_LIST
The Event instance is not traversing the display list.

Method Detail

values

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

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

valueOf

public static Event.PHASE 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
NullPointerException - if the argument is null


Processing library Nest by Eric Socolofsky. (C) Eric Socolofsky 2011-2013