com.binaryfantasy.murq.event
Enum SourceEvent.Type

java.lang.Object
  extended by java.lang.Enum<SourceEvent.Type>
      extended by com.binaryfantasy.murq.event.SourceEvent.Type
All Implemented Interfaces:
Serializable, Comparable<SourceEvent.Type>
Enclosing class:
SourceEvent

public static enum SourceEvent.Type
extends Enum<SourceEvent.Type>

Indicates the type of change that has been performed on a ISource.

Author:
Bill Weiss

Enum Constant Summary
INPUT
           
OUTPUT
           
REMOVE
           
 
Method Summary
static SourceEvent.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SourceEvent.Type[] 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

INPUT

public static final SourceEvent.Type INPUT

OUTPUT

public static final SourceEvent.Type OUTPUT

REMOVE

public static final SourceEvent.Type REMOVE
Method Detail

values

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

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

valueOf

public static SourceEvent.Type 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


Copyright (c) 2000-2006, BinaryFantasy.com