net.refractions.udig.project
Enum LayerEvent.EventType

java.lang.Object
  extended by java.lang.Enum<LayerEvent.EventType>
      extended by net.refractions.udig.project.LayerEvent.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LayerEvent.EventType>
Enclosing class:
LayerEvent

public static enum LayerEvent.EventType
extends java.lang.Enum<LayerEvent.EventType>


Enum Constant Summary
ALL
          Indicates "something" changed.
EDIT_EVENT
          Indicates that and edit event has occurred OldValue will always be null.
FILTER
          Indicates the Filter of the layer has changed.
NAME
          Indicates the name of the layer has changed
RESOURCE
          Indicates a Resource has changed
STYLE
          Indicates the style changed
VISIBILITY
          Indicates the visibility of the layer has changed
ZORDER
          Indicates the zorder of the layer has changed
 
Method Summary
static LayerEvent.EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LayerEvent.EventType[] 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

FILTER

public static final LayerEvent.EventType FILTER
Indicates the Filter of the layer has changed.


RESOURCE

public static final LayerEvent.EventType RESOURCE
Indicates a Resource has changed


STYLE

public static final LayerEvent.EventType STYLE
Indicates the style changed


ZORDER

public static final LayerEvent.EventType ZORDER
Indicates the zorder of the layer has changed


VISIBILITY

public static final LayerEvent.EventType VISIBILITY
Indicates the visibility of the layer has changed


NAME

public static final LayerEvent.EventType NAME
Indicates the name of the layer has changed


ALL

public static final LayerEvent.EventType ALL
Indicates "something" changed. Inspect the layer. Shouldn't be used often.


EDIT_EVENT

public static final LayerEvent.EventType EDIT_EVENT
Indicates that and edit event has occurred OldValue will always be null. NewValue will always be a FeatureEvent

Method Detail

values

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

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

valueOf

public static LayerEvent.EventType 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