edu.mit.csail.sdg.alloy4
Enum Listener.Event

java.lang.Object
  extended by java.lang.Enum<Listener.Event>
      extended by edu.mit.csail.sdg.alloy4.Listener.Event
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Listener.Event>
Enclosing interface:
Listener

public static enum Listener.Event
extends java.lang.Enum<Listener.Event>

This defines the list of possible events.


Enum Constant Summary
CARET_MOVED
           
CLICK
           
CTRL_PAGE_DOWN
           
CTRL_PAGE_UP
           
FOCUSED
           
STATUS_CHANGE
           
 
Method Summary
static Listener.Event valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Listener.Event[] 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

CLICK

public static final Listener.Event CLICK

STATUS_CHANGE

public static final Listener.Event STATUS_CHANGE

FOCUSED

public static final Listener.Event FOCUSED

CTRL_PAGE_UP

public static final Listener.Event CTRL_PAGE_UP

CTRL_PAGE_DOWN

public static final Listener.Event CTRL_PAGE_DOWN

CARET_MOVED

public static final Listener.Event CARET_MOVED
Method Detail

values

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

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

valueOf

public static Listener.Event 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