net.refractions.udig.issues.listeners
Enum IssuesListEventType

java.lang.Object
  extended by java.lang.Enum<IssuesListEventType>
      extended by net.refractions.udig.issues.listeners.IssuesListEventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IssuesListEventType>

public enum IssuesListEventType
extends java.lang.Enum<IssuesListEventType>

The types of change that can happen to a list. Add, remove, save

Since:
1.0.0
Author:
jones

Enum Constant Summary
ADD
          Items were added
REFRESH
          Indicates that the issues list has been loaded.
REMOVE
          Items were removed
SAVE
          Indicates that an issues in the list has been saved
 
Method Summary
static IssuesListEventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IssuesListEventType[] 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

ADD

public static final IssuesListEventType ADD
Items were added


REMOVE

public static final IssuesListEventType REMOVE
Items were removed


SAVE

public static final IssuesListEventType SAVE
Indicates that an issues in the list has been saved


REFRESH

public static final IssuesListEventType REFRESH
Indicates that the issues list has been loaded. The collection of features in the event are the features that were added as a result of the refresh.

Method Detail

values

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

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

valueOf

public static IssuesListEventType 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